!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! SDDL Name: ZCGG1GK.SDDL ! ! Purpose: This SDDL file defines the CGG1_KEYWORD relation. ! ! Modification History: ! ! Date OPR Who Reason ! -------- ------- --- ------------------------------------------------- ! 10/24/95 - AR Original implementation ! 07/23/96 31174 Rose Add index ! 07/31/96 31905 MARose Remove FORTRAN from the LANGUAGE statement ! 08/01/96 31905 MARose Fix index name ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! LANGUAGE SQL RECORD ZCGG1GK_TYPE !------------------------------------------------------------------------------ ! ! RECORD INFORMATION ! !------------------------------------------------------------------------------ DESCRIPTION "keywords to be written to generic data files during GENERIC CONVERSION." !------------------------------------------------------------------------------ ! ! FIELD INFORMATION ! !------------------------------------------------------------------------------ FIELD instrument TYPE C*3 DESCRIPTION "instrument to which the keyword is associated: hsp, wfc, foc, fos, hrs" END_FIELD FIELD file_type TYPE C*3 DESCRIPTION "generic file type. values are: shp (standard header packet), udl (unique data log); dsk (digital sky), dst (digital star), ask (analog sky), ast (analog star), asd (area scan/digital), asa (area scan/analog); ext (extracted data), sci (science data); shl (science header line), stl (science trailer line); img (image)." END_FIELD FIELD order_index TYPE I*4 DESCRIPTION "an index defining the keyword order in the relation; variable, it is used to order the appearance of keywords in the header file to which it will be written" END_FIELD FIELD fixed_index TYPE I*4 DESCRIPTION "this item should be thought of as a map of a fixed index for a keyword into a value in the sequence 1,2,...,n. the fixed index is used to indicate a particular keyword''" END_FIELD FIELD keyword_str TYPE C*8 DESCRIPTION "keyword character string" END_FIELD FIELD keyword_typ TYPE C*3 DESCRIPTION "data type of the keyword value" END_FIELD FIELD keyword_val TYPE C*20 DESCRIPTION "keyword value" END_FIELD FIELD comment_str TYPE C*72 DESCRIPTION "comment character string" END_FIELD FIELD cnv_flag TYPE C*1 DESCRIPTION "flag stating whether to automatically convert keyword" END_FIELD FIELD optional TYPE C*1 DESCRIPTION "indicates whether this keyword is an optional one. If an optional keyword has a blank value (restricted to strings), then that keyword will be omitted from the header." END_FIELD END_RECORD !------------------------------------------------------------------------------ ! ! RELATION DECLARATION ! !------------------------------------------------------------------------------ RELATION cgg1_keyword TYPE ZCGG1GK_TYPE DESCRIPTION "Keywords to be written to generic conversion files" SUBSYSTEM_USING "OPUS" INDEX cgg1_keyword_1 TYPE clustered FIELDS instrument, file_type, cnv_flag, keyword_str ATTRIBUTES ignore_dup_row END_INDEX END_RELATION !------------------------------------------------------------------------------ ! ! INSTANCE DECLARATION ! !------------------------------------------------------------------------------ INSTANCE zcgg1gk GLOBAL TYPE ZCGG1GK_TYPE END_INSTANCE