!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! SDDL Name: CCAN_NICMOS_REF ! ! Purpose: This SDDL file defines the CCAN_NICMOS_REF relation. ! ! Modification History: ! ! Date OPR Who Reason ! -------- ------- --- ------------------------------------------------- ! 07/02/96 28182 Rose Original implementation ! 12/23/96 32865 MSwam Add SAMP_SEQ field ! 05/06/97 34023 MSwam Change length of FILTER (8 to 7) ! 05/29/97 34345 MSwam Change length of SAMP_SEQ (7 to 8) ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! LANGUAGE SQL RECORD CCAN_NICMOS !------------------------------------------------------------------------------ ! ! RECORD INFORMATION ! !------------------------------------------------------------------------------ DESCRIPTION "This relation specifies the parameters by which the various NICMOS reference files should be selected by the OPUS pipeline. Each reference file keyword in the primary header of the NICMOS science file must have a value. While it would make more sense to have a separate relation for each reference file type, the CDBS design did not allow this. Thus all selection criteria for all file types are contained in this relation. File type Selection Criteria File_extension --------- ------------------ -------------- MASKFILE Camera _msk NOISFILE Camera, Readout _noi NLINFILE Camera _lin DARKFILE Camera, Readout, NREAD, _drk SAMP_SEQ FLATFILE Camera, Filter _flt PHOTTAB _pht BACKTAB _bck ILLMFILE Camera, Filter _ilm Note that the particular file type is imbedded in the file naming convention: 9 characters of CDBS mystery followed by the file_extension above, followed by .FITS " !------------------------------------------------------------------------------ ! ! FIELD INFORMATION ! !------------------------------------------------------------------------------ FIELD camera TYPE I2 DESCRIPTION "Camera in use" RANGE 1:3 END_FIELD FIELD filter TYPE C7 DESCRIPTION "Filter in use" END_FIELD FIELD readout TYPE C5 DESCRIPTION "FAST or SLOW mode" RANGE FAST, SLOW END_FIELD FIELD nread TYPE I2 DESCRIPTION "Number of readouts" END_FIELD FIELD samp_seq TYPE C8 DESCRIPTION "Multiaccum exposure time sequence name" END_FIELD FIELD data_file TYPE C20 DESCRIPTION "Reference file name." END_FIELD FIELD load_time TYPE C20 DESCRIPTION "Date when this record was added" END_FIELD FIELD use_after TYPE C17 DESCRIPTION "Observations executed after this 'use_after' date use this tuple in the relation." RANGE YYYY.DDD:HH:MM:SS END_FIELD END_RECORD !------------------------------------------------------------------------------ ! ! RELATION DECLARATION ! !------------------------------------------------------------------------------ RELATION ccan_nicmos_ref TYPE CCAN_NICMOS DESCRIPTION "NICMOS reference file selection criteria" SUBSYSTEM_USING "OPUS" INDEX ccan_nicmos_ref_1 TYPE nonclustered FIELDS camera, use_after END_INDEX END_RELATION !------------------------------------------------------------------------------ ! ! INSTANCE DECLARATION ! !------------------------------------------------------------------------------ INSTANCE ccan_nicmos_ref GLOBAL TYPE CCAN_NICMOS END_INSTANCE