Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
src
landbin
calib_cal_l1a.h
Go to the documentation of this file.
1
#ifndef CALL1A_H
2
#define CALL1A_H
3
#include <stdio.h>
4
#include <stdlib.h>
5
#include <string.h>
6
#include <time.h>
7
#include "hdf.h"
8
#include "mfhdf.h"
9
10
typedef
struct
cal_mod_def
{
11
int
flag
;
/* use flag: 0 - use cal file values
12
1 - use input gain, cal file offset
13
2 - use cal file gain, input offset
14
3 - use input gain and cal */
15
double
gain
[8];
/* calibration gain */
16
double
offset
[8];
/* calibration offset */
17
} cal_mod_struc;
18
/*
19
#ifndef L1A_H
20
#include "l1a_modif.h"
21
#endif
22
*/
23
#include "
calib_get_cal.h
"
24
#include "
calib_call1a_proto.h
"
25
#include "
calib_getcal_proto.h
"
26
27
#define NBANDS 8
28
#define NGAINS 4
29
30
#endif
/*CALL1A_H*/
cal_mod_def::flag
int flag
Definition:
calib_cal_l1a.h:11
calib_call1a_proto.h
cal_mod_def::offset
double offset[8]
Definition:
calib_cal_l1a.h:16
cal_mod_def
Definition:
calib_cal_l1a.h:10
cal_mod_def::gain
double gain[8]
Definition:
calib_cal_l1a.h:15
calib_getcal_proto.h
calib_get_cal.h