OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l1_aviris_struc.h
Go to the documentation of this file.
1 /*
2  * aviris.h
3  *
4  * Created on: May 18, 2015
5  * Author: rhealy
6  */
7 
8 #ifndef SRC_L2GEN_AVIRIS_H_
9 #define SRC_L2GEN_AVIRIS_H_
10 #include <gsl/gsl_errno.h>
11 #include <gsl/gsl_spline.h>
12 #include <gsl/gsl_sort_double.h>
13 #include <gsl/gsl_fit.h>
14 #include <proj.h>
15 #define AV_MAXBANDS 224
16 
17 //typedef struct aviris_l1b_t {
18 //
19 // int npixels; /**< number of pixels in AVIRIS */
20 // int nscans; /**< number of scans in AVIRIS */
21 // int nbands; /**< number of visible bands in AVIRIS */
22 //
23 //} aviris_l1b_t;
24 
25 typedef struct aviris_struct {
26  int32_t year, day, month, doy, msec;
28  double *sena, *senz, *sola, *solz, *utc, *lon, *lat;
29  float *elev, *alt, lat0, lon0, distmin, distmax;
30  double *gain;
31  double *wave, *fwhm;
32  PJ *pj;
34  double pixelSize;
38  char hdrfile[FILENAME_MAX], imgfile[FILENAME_MAX], navfile[FILENAME_MAX], gainfile[FILENAME_MAX];
39  FILE *av_fp;
40  gsl_spline *spline;
41  gsl_interp_accel *spl_acc;
42  int isnetcdf;
43 } aviris_t;
44 
45 #endif /* SRC_L2GEN_AVIRIS_H_ */
char navfile[FILENAME_MAX]
char hdrfile[FILENAME_MAX]
gsl_spline * spline
gsl_interp_accel * spl_acc
char gainfile[FILENAME_MAX]
char imgfile[FILENAME_MAX]