query_program¶
- msaexp.pipeline.query_program(prog=2767, download=True, detectors=['nrs1', 'nrs2'], gratings=['prism', 'g140m', 'g140h', 'g235m', 'g235h', 'g395m', 'g395h'], filters=['clear', 'f070lp', 'f100lp', 'f170lp', 'f290lp'], extensions=['s2d'], product='rate', extra_filters=[], levels=['2', '2a', '2b'])[source]¶
Query and download MSA exposures for a given program from MAST
- Parameters
- progint
Program ID
- downloadbool
Download results
- detectors: list
List of detectors to consider (‘nrs1’,’nrs2’)
- gratingslist
List of gratings to consider (‘prism’, ‘g140m’, ‘g140h’, ‘f235m’, ‘g235h’,’g395m’,’g395h’)
- filterslist
List of filters to consider (‘clear’, ‘f070lp’, ‘f100lp’, ‘f170lp’, ‘f290lp’)
- extensionslist
File extensions to query.
s2dshould have a one-to-one mapping with the level-1 countraterateimages, which are what we’re after- productstr
MAST product to download, ‘rate’ or ‘cal’
- extra_filterslist
Additional query filters from, e.g.,
mastquery.jwst.make_query_filter- levelslist
List of
productLevelentries to include in the query
- Returns
- res
Table Query result
- res