./
find_files.pro
This function finds the list of fits files to be processed, according to specified keys; all must be in a given directory
The detector parameters are transmitted out through the common block
top source FIND_FILES
JWST Data Processing - NIRCam Cryo tests
FIND_FILES, DATA_PATH, OBS_ID, DETECTOR, FILES
Used to select the list of fits files to be processed; all must be in the same directory
Parameters
- DATA_PATH in required type=string
e.g. data_path='/Volumes/witserv/witserv/data14/nrc/nrc_cryo2'
- OBS_ID in required type=string
e.g. obs_id='NRC_2D6-DARK'
- DETECTOR in required type=string
e.g. detector='486'
- FILES out required type=strarr
string array of fits files with names matching the obs_id and detector strings
Examples
A call to this routine may be done with:
IDL> OBS_ID = 'NRC_2D6-DARK'
IDL> DETECTOR = '486'
IDL> FIND_FILES,DATA_PATH,OBS_ID,DETECTOR,FILES
Author information
- History:
created by M. Robberto, 25 Apr. 201
Other attributes
- Requires:
Common blocks:
COMMON DETECTOR_PARAMS,gain,h,h1mask,h2mask,h3mask,h4mask; COMMON SYSTEM_PARAMS,st,DIR_OUT
Statistics
Lines: | 16 lines |
McCabe complexity: | 1 |
File attributes
Modification date: | Wed May 1 12:14:52 2013 |
Lines: | 65 |
Docformat: | rst rst |