queryMAST#

niriss_tools.pipeline.queryMAST(pid, instrument='NIRISS', use_filter=None)[source]#

Query MAST for the full list of observations for specific PID.

The original version of this function was written by VM and ZS for passagepipe.utils.

Parameters:
pidint

The JWST Proposal ID.

instrumentstr, optional

Select the instrument to query observations. By default only NIRISS observations will be returned.

use_filterArrayLike | None, optional

Return observations only in a specific set of filters, by default None.

Returns:
Table

The set of observations requested.