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
- date
astropy.time.Time, None Observation epoch. If
None, use “now”.- reftypeslist
Reference types to query
- header
Header FITS header with keywords that define the mode and supersede the string parameters
- contextstr
CRDS_CONTEXT specification
- verbosebool
Messaging
- Returns
- refsdict
Result from
crds.getreferenceswith keys ofreftypesand values of paths to the reference files, which will be downloaded if they’re not already found.