dqmgen -- Create data quality mask file(s) for FGS file(s).
dqmgen infile outmask okval badval eofval
This program creates data quality mask files for FGS files. The file header of the FGS input file is examined to determine fill values for missing data and the end of the array. Any pixel that is found to contain one of these fill values will be assigned the value of badval or eofval. A pixel that does not contain a fill value will be assigned the value of okval.
1. Create mask files for the FGS input files ydqmgen$infile.d1h and ydqmgen$infile.d2h. The output mask file names are listed in the text file mask.lis. The mask value 0 will be assigned to both the missing data and the end of the array; the mask value 1 will be assigned to valid pixels:
fg> dqmgen (infile = "ydqmgen$infile.d![1-2]h", outmask = "@mask.lis", okval = 1, badval = 0, eofval = 0)