crds_reffiles

grizli.jwst_utils.crds_reffiles(instrument='NIRCAM', filter='F444W', pupil='GRISMR', module='A', detector=None, exp_type=None, date=None, reftypes=('photom', 'specwcs'), header=None, context='jwst_1293.pmap', verbose=False, **kwargs)[source]

Get WFSS reffiles from CRDS

Parameters
instrument, filter, pupil, modulestr

Observation mode parameters

detector, exp_typestr, None

If not specified, try to set automatically based on the filter / module

dateastropy.time.Time, None

Observation epoch. If None, use “now”.

reftypeslist

Reference types to query

headerHeader

FITS header with keywords that define the mode and supersede the string parameters

contextstr

CRDS_CONTEXT specification

verbosebool

Messaging

Returns
refsdict

Result from crds.getreferences with keys of reftypes and values of paths to the reference files, which will be downloaded if they’re not already found.