|
ocssw
1.0
|
00001 #ifndef _L2PROD_STRUC_H 00002 #define _L2PROD_STRUC_H 00003 00004 #include "mfhdf.h" 00005 00006 #define MAX_DIM 3 /* Max number of dimensions for an SDS */ 00007 #define DIMNAMELEN 32 /* String length on dimension names */ 00008 #define UNITLEN 32 /* String length on unit names */ 00009 #define TITLELEN 256 /* String length for long names */ 00010 00011 #define PARAM_TYPE_NONE 0 00012 #define PARAM_TYPE_VIS_WAVE 1 00013 #define PARAM_TYPE_IR_WAVE 2 00014 #define PARAM_TYPE_ALL_WAVE 3 00015 #define PARAM_TYPE_BAND 4 00016 #define PARAM_TYPE_INT 5 00017 00018 typedef struct l2prod_index_struct { 00019 int param_type; 00020 char name_prefix[UNITLEN]; 00021 char name_suffix[UNITLEN]; 00022 int cat_ix; 00023 int prod_ix; 00024 int32 datatype; 00025 float32 slope; 00026 float32 offset; 00027 int32 min; 00028 int32 max; 00029 int32 rank; 00030 int32 dim[MAX_DIM]; 00031 char dimname[MAX_DIM][DIMNAMELEN]; 00032 char title_format[TITLELEN]; 00033 char title[TITLELEN]; 00034 char units[UNITLEN]; 00035 float badData; 00036 char product_id[UNITLEN]; 00037 char algorithm_id[UNITLEN]; 00038 char standard_name[TITLELEN]; 00039 } l2prodstr; 00040 00041 #endif
1.7.6.1