|
ocssw
1.0
|
00001 #ifndef _SWL0_PARMS_H 00002 #define _SWL0_PARMS_H 00003 00004 #define L01VERSION "4.5" 00005 #define FATAL_ERROR 1 00006 00007 #define NBANDS 8 /* Number of spectral bands */ 00008 #define L0LEN 21504 /* L0 frame length in bytes */ 00009 #define MAXFRAMES 16000 /* Maximum number of frames per file */ 00010 #define MAXSCENES 100 /* Maximum number of scenes per file */ 00011 #define MAXTILTS 20 /* Maximum number of tilts per scene */ 00012 #define MINORBVEC 0 /* Minimum number of GPS vectors fit */ 00013 #define MINFRAMES 50 /* Minimum number of frames per scene */ 00014 #define MAXORBTAB 1000 /* Maximum orbit table entries */ 00015 00016 #define GAC 0 /* L0 file type code for GAC */ 00017 #define LAC 0 /* L0 file type code for LAC */ 00018 #define HRPT 1 /* L0 file type code for HRPT */ 00019 #define GACTYPE 15 /* Minor frame type code for GAC */ 00020 #define LACTYPE 0 /* Minor frame type code for LAC */ 00021 #define LUNTYPE 1 /* Minor frame type code for LUN Cal */ 00022 #define SOLTYPE 2 /* Minor frame type code for SOL Cal */ 00023 #define IGCTYPE 3 /* Minor frame type code for IGN Cal */ 00024 #define TDITYPE 4 /* Minor frame type code for TDI Cal */ 00025 #define NPIXLAC 1285 /* Number of LAC pixels per scan */ 00026 #define NPIXGAC 248 /* Number of GAC pixels per scan */ 00027 #define SPIXLAC 1 /* First LAC pixel in scan */ 00028 #define SPIXGAC 147 /* First GAC pixel in scan */ 00029 #define IPIXLAC 1 /* LAC pixel increment in scan */ 00030 #define IPIXGAC 4 /* GAC pixel increment in scan */ 00031 00032 #define O_SCID 3 /* Byte-offset to SCID field */ 00033 #define O_TIME 7 /* Byte-offset to frame timetag */ 00034 #define O_SOH 15 /* Byte-offset to SOH Block */ 00035 #define O_SGA 15 /* Byte-offset to SOH/SGA */ 00036 #define O_SAC 185 /* Byte-offset to SOH/SAC */ 00037 #define O_SAA 481 /* Byte-offset to SOH/SAA */ 00038 #define O_DATAGAC 790 /* Byte-offset to GAC image block */ 00039 #define O_DATALAC 878 /* Byte-offset to LAC image block */ 00040 #define O_INSTGAC 20950 /* Byte-offset to GAC instrument tlm */ 00041 #define O_INSTLAC 790 /* Byte-offset to LAC instrument tlm */ 00042 00043 #define S_DATAGAC 4032 /* Byte-size of GAC image block */ 00044 #define S_DATALAC 20624 /* Byte-size of LAC image block */ 00045 00046 #define DTGAC (10./3.) /* Nominal GAC time difference (sec) */ 00047 #define DTLAC (1./6.) /* Nominal LAC time difference (sec) */ 00048 #define CLOCKVAR 0.010 /* Nominal S/C clock variance (sec) */ 00049 00050 #define DELSCENELAC 5 /* Sec thresh to break LAC scenes */ 00051 #define DELSCENEGAC 3000 /* Sec thresh to break GAC scenes */ 00052 00053 #define SEADAS 0 00054 #define SDPS 1 00055 00056 00057 /* 00058 * NOTES: 00059 * 00060 * The image block includes GTDI-PIX, START-PIX, DARK-PIX, IMAGE-PIX, 00061 * and STOP-PIX. 00062 * 00063 */ 00064 #endif 00065 00066 00067 00068 00069 00070 00071 00072
1.7.6.1