OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
swl0_parms.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define L01VERSION   "4.5"
 
#define FATAL_ERROR   1
 
#define NBANDS   8 /* Number of spectral bands */
 
#define L0LEN   21504 /* L0 frame length in bytes */
 
#define MAXFRAMES   16000 /* Maximum number of frames per file */
 
#define MAXSCENES   100 /* Maximum number of scenes per file */
 
#define MAXTILTS   20 /* Maximum number of tilts per scene */
 
#define MINORBVEC   0 /* Minimum number of GPS vectors fit */
 
#define MINFRAMES   50 /* Minimum number of frames per scene */
 
#define MAXORBTAB   1000 /* Maximum orbit table entries */
 
#define GAC   0 /* L0 file type code for GAC */
 
#define LAC   0 /* L0 file type code for LAC */
 
#define HRPT   1 /* L0 file type code for HRPT */
 
#define GACTYPE   15 /* Minor frame type code for GAC */
 
#define LACTYPE   0 /* Minor frame type code for LAC */
 
#define LUNTYPE   1 /* Minor frame type code for LUN Cal */
 
#define SOLTYPE   2 /* Minor frame type code for SOL Cal */
 
#define IGCTYPE   3 /* Minor frame type code for IGN Cal */
 
#define TDITYPE   4 /* Minor frame type code for TDI Cal */
 
#define NPIXLAC   1285 /* Number of LAC pixels per scan */
 
#define NPIXGAC   248 /* Number of GAC pixels per scan */
 
#define SPIXLAC   1 /* First LAC pixel in scan */
 
#define SPIXGAC   147 /* First GAC pixel in scan */
 
#define IPIXLAC   1 /* LAC pixel increment in scan */
 
#define IPIXGAC   4 /* GAC pixel increment in scan */
 
#define O_SCID   3 /* Byte-offset to SCID field */
 
#define O_TIME   7 /* Byte-offset to frame timetag */
 
#define O_SOH   15 /* Byte-offset to SOH Block */
 
#define O_SGA   15 /* Byte-offset to SOH/SGA */
 
#define O_SAC   185 /* Byte-offset to SOH/SAC */
 
#define O_SAA   481 /* Byte-offset to SOH/SAA */
 
#define O_DATAGAC   790 /* Byte-offset to GAC image block */
 
#define O_DATALAC   878 /* Byte-offset to LAC image block */
 
#define O_INSTGAC   20950 /* Byte-offset to GAC instrument tlm */
 
#define O_INSTLAC   790 /* Byte-offset to LAC instrument tlm */
 
#define S_DATAGAC   4032 /* Byte-size of GAC image block */
 
#define S_DATALAC   20624 /* Byte-size of LAC image block */
 
#define DTGAC   (10./3.) /* Nominal GAC time difference (sec) */
 
#define DTLAC   (1./6.) /* Nominal LAC time difference (sec) */
 
#define CLOCKVAR   0.010 /* Nominal S/C clock variance (sec) */
 
#define DELSCENELAC   5 /* Sec thresh to break LAC scenes */
 
#define DELSCENEGAC   3000 /* Sec thresh to break GAC scenes */
 
#define SEADAS   0
 
#define SDPS   1
 

Macro Definition Documentation

◆ CLOCKVAR

#define CLOCKVAR   0.010 /* Nominal S/C clock variance (sec) */

Definition at line 48 of file swl0_parms.h.

◆ DELSCENEGAC

#define DELSCENEGAC   3000 /* Sec thresh to break GAC scenes */

Definition at line 51 of file swl0_parms.h.

◆ DELSCENELAC

#define DELSCENELAC   5 /* Sec thresh to break LAC scenes */

Definition at line 50 of file swl0_parms.h.

◆ DTGAC

#define DTGAC   (10./3.) /* Nominal GAC time difference (sec) */

Definition at line 46 of file swl0_parms.h.

◆ DTLAC

#define DTLAC   (1./6.) /* Nominal LAC time difference (sec) */

Definition at line 47 of file swl0_parms.h.

◆ FATAL_ERROR

#define FATAL_ERROR   1

Definition at line 5 of file swl0_parms.h.

◆ GAC

#define GAC   0 /* L0 file type code for GAC */

Definition at line 16 of file swl0_parms.h.

◆ GACTYPE

#define GACTYPE   15 /* Minor frame type code for GAC */

Definition at line 19 of file swl0_parms.h.

◆ HRPT

#define HRPT   1 /* L0 file type code for HRPT */

Definition at line 18 of file swl0_parms.h.

◆ IGCTYPE

#define IGCTYPE   3 /* Minor frame type code for IGN Cal */

Definition at line 23 of file swl0_parms.h.

◆ IPIXGAC

#define IPIXGAC   4 /* GAC pixel increment in scan */

Definition at line 30 of file swl0_parms.h.

◆ IPIXLAC

#define IPIXLAC   1 /* LAC pixel increment in scan */

Definition at line 29 of file swl0_parms.h.

◆ L01VERSION

#define L01VERSION   "4.5"

Definition at line 4 of file swl0_parms.h.

◆ L0LEN

#define L0LEN   21504 /* L0 frame length in bytes */

Definition at line 8 of file swl0_parms.h.

◆ LAC

#define LAC   0 /* L0 file type code for LAC */

Definition at line 17 of file swl0_parms.h.

◆ LACTYPE

#define LACTYPE   0 /* Minor frame type code for LAC */

Definition at line 20 of file swl0_parms.h.

◆ LUNTYPE

#define LUNTYPE   1 /* Minor frame type code for LUN Cal */

Definition at line 21 of file swl0_parms.h.

◆ MAXFRAMES

#define MAXFRAMES   16000 /* Maximum number of frames per file */

Definition at line 9 of file swl0_parms.h.

◆ MAXORBTAB

#define MAXORBTAB   1000 /* Maximum orbit table entries */

Definition at line 14 of file swl0_parms.h.

◆ MAXSCENES

#define MAXSCENES   100 /* Maximum number of scenes per file */

Definition at line 10 of file swl0_parms.h.

◆ MAXTILTS

#define MAXTILTS   20 /* Maximum number of tilts per scene */

Definition at line 11 of file swl0_parms.h.

◆ MINFRAMES

#define MINFRAMES   50 /* Minimum number of frames per scene */

Definition at line 13 of file swl0_parms.h.

◆ MINORBVEC

#define MINORBVEC   0 /* Minimum number of GPS vectors fit */

Definition at line 12 of file swl0_parms.h.

◆ NBANDS

#define NBANDS   8 /* Number of spectral bands */

Definition at line 7 of file swl0_parms.h.

◆ NPIXGAC

#define NPIXGAC   248 /* Number of GAC pixels per scan */

Definition at line 26 of file swl0_parms.h.

◆ NPIXLAC

#define NPIXLAC   1285 /* Number of LAC pixels per scan */

Definition at line 25 of file swl0_parms.h.

◆ O_DATAGAC

#define O_DATAGAC   790 /* Byte-offset to GAC image block */

Definition at line 38 of file swl0_parms.h.

◆ O_DATALAC

#define O_DATALAC   878 /* Byte-offset to LAC image block */

Definition at line 39 of file swl0_parms.h.

◆ O_INSTGAC

#define O_INSTGAC   20950 /* Byte-offset to GAC instrument tlm */

Definition at line 40 of file swl0_parms.h.

◆ O_INSTLAC

#define O_INSTLAC   790 /* Byte-offset to LAC instrument tlm */

Definition at line 41 of file swl0_parms.h.

◆ O_SAA

#define O_SAA   481 /* Byte-offset to SOH/SAA */

Definition at line 37 of file swl0_parms.h.

◆ O_SAC

#define O_SAC   185 /* Byte-offset to SOH/SAC */

Definition at line 36 of file swl0_parms.h.

◆ O_SCID

#define O_SCID   3 /* Byte-offset to SCID field */

Definition at line 32 of file swl0_parms.h.

◆ O_SGA

#define O_SGA   15 /* Byte-offset to SOH/SGA */

Definition at line 35 of file swl0_parms.h.

◆ O_SOH

#define O_SOH   15 /* Byte-offset to SOH Block */

Definition at line 34 of file swl0_parms.h.

◆ O_TIME

#define O_TIME   7 /* Byte-offset to frame timetag */

Definition at line 33 of file swl0_parms.h.

◆ S_DATAGAC

#define S_DATAGAC   4032 /* Byte-size of GAC image block */

Definition at line 43 of file swl0_parms.h.

◆ S_DATALAC

#define S_DATALAC   20624 /* Byte-size of LAC image block */

Definition at line 44 of file swl0_parms.h.

◆ SDPS

#define SDPS   1

Definition at line 54 of file swl0_parms.h.

◆ SEADAS

#define SEADAS   0

Definition at line 53 of file swl0_parms.h.

◆ SOLTYPE

#define SOLTYPE   2 /* Minor frame type code for SOL Cal */

Definition at line 22 of file swl0_parms.h.

◆ SPIXGAC

#define SPIXGAC   147 /* First GAC pixel in scan */

Definition at line 28 of file swl0_parms.h.

◆ SPIXLAC

#define SPIXLAC   1 /* First LAC pixel in scan */

Definition at line 27 of file swl0_parms.h.

◆ TDITYPE

#define TDITYPE   4 /* Minor frame type code for TDI Cal */

Definition at line 24 of file swl0_parms.h.