|
ocssw
1.0
|
00001 00002 #ifndef L1A_H 00003 #define L1A_H 00004 00005 #if 0 00006 #ifdef GENERAL 00007 #define get_l1a_open get_l1a_open_all 00008 #define get_l1a_record get_l1a_record_all 00009 #define get_l1a_close get_l1a_close_all 00010 #define put_l1a_open put_l1a_open_all 00011 #define put_l1a_record put_l1a_record_all 00012 #define put_l1a_close put_l1a_close_all 00013 #define set_l1aget_buffer_blksize set_l1aget_buffer_blksize_all 00014 #define set_l1aput_buffer_blksize set_l1aput_buffer_blksize_all 00015 #endif /* GENERAL */ 00016 00017 #include "navigation.h" 00018 #include "level_1a_index.h" 00019 00020 #ifndef MAX_HDF 00021 #define MAX_HDF 16 00022 #endif 00023 00024 #endif 00025 00026 #ifndef MAX_HDF_L1AGET 00027 #define MAX_HDF_L1AGET 4 00028 #endif 00029 00030 #include "level_1a_index.h" 00031 00032 /* out of band correction */ 00033 #define OOB_OFF 0 00034 #define OOB_DEFAULT_METHOD 1 00035 #define OXYGEN_CORR_FACTOR 1.12f 00036 extern int out_band_corr(float *radiances, float oxygen_factor, int nsample); 00037 00038 /* calibration modification structure definition */ 00039 typedef struct cal_mod_def 00040 { 00041 int flag; /* use flag: 0 - use cal file values 00042 1 - use input gain, cal file offset 00043 2 - use cal file gain, input offset 00044 3 - use input gain and cal */ 00045 double gain[8]; /* calibration gain */ 00046 double offset[8]; /* calibration offset */ 00047 } cal_mod_struc; 00048 00049 #endif /* L1A_H */
1.7.6.1