|
ocssw
1.0
|
00001 #include "hdf.h" 00002 #include "l12_parms.h" 00003 #include "passthebuck.h" 00004 #include "filehandle.h" 00005 00006 00007 #define SHORTNAME 128 00008 00009 00010 typedef char stname[SHORTNAME]; 00011 typedef char prname[PRODSTRLEN]; 00012 00013 00014 00015 typedef struct msval_struct { 00016 00017 int32 l2sensorID; 00018 int32 l3sensorID; 00019 int32 nl2bands; 00020 int32_t *l2Lambda; 00021 prname *l2prods; 00022 int nl2prods; 00023 int32 nl3bands; 00024 int32_t *l3Lambda; 00025 prname *l3prods; 00026 int nl3prods; 00027 char *input_parms; 00028 int32_t nfiles; 00029 int32_t npixs; 00030 unsigned char *data; 00031 stname *filenames; 00032 int16 *fileID; 00033 int16 *year; 00034 int16 *day; 00035 int32 *msec; 00036 float32 *lon; 00037 float32 *lat; 00038 int16 *nscenes; 00039 int16 *nobs; 00040 int16 *iscan; 00041 float32 *data_vic; 00042 int32 *l2_flags; 00043 uint8 *mside; 00044 uint8 *detnum; 00045 int16 *pixnum; 00046 float32 *data_val; 00047 00048 } msvalstr; 00049 00050 00051 typedef struct valinput_struct { 00052 00053 char il2files [MAX_IFILES][FILENAME_MAX]; 00054 char il3file [FILENAME_MAX]; 00055 char ofile [FILENAME_MAX]; 00056 prname l2prods[200]; 00057 int nl2prods; 00058 prname l3prods[200]; 00059 int nl3prods; 00060 char input_parms[20000]; 00061 char l2flaguse [1024]; 00062 char l3flaguse [1024]; 00063 int deepwater; 00064 int bpass_corr; 00065 int subsmpl; 00066 int32_t evalmask; 00067 00068 } inputstr; 00069 00070 00071 00072 int msval_append(char *valfile, msvalstr valstr); 00073 int32_t alloc_valstr(int32_t nfiles, int32_t npixs, msvalstr *valstr); 00074 void free_valstr(msvalstr valstr, int all);
1.7.6.1