Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
oel_hdf4
libl1
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
;
27
int32_t
npix
,
nscan
,
wgs_nscan
,
wgs_npix
;
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
;
33
double
easting
,
northing
,
rotation
;
34
double
pixelSize
;
35
int
utmZone
,
numBands
;
36
int
interleave
,
eastbyscan
;
37
int
have_nav
,
have_gain
;
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_ */
aviris_struct::distmin
float distmin
Definition:
l1_aviris_struc.h:29
aviris_struct::wave
double * wave
Definition:
l1_aviris_struc.h:31
aviris_struct
Definition:
l1_aviris_struc.h:25
aviris_struct::pixelSize
double pixelSize
Definition:
l1_aviris_struc.h:34
aviris_struct::easting
double easting
Definition:
l1_aviris_struc.h:33
aviris_struct::lon0
float lon0
Definition:
l1_aviris_struc.h:29
aviris_struct::wgs_nscan
int32_t wgs_nscan
Definition:
l1_aviris_struc.h:27
aviris_struct::year
int32_t year
Definition:
l1_aviris_struc.h:26
aviris_struct::alt
float * alt
Definition:
l1_aviris_struc.h:29
aviris_struct::utmZone
int utmZone
Definition:
l1_aviris_struc.h:35
aviris_struct::rotation
double rotation
Definition:
l1_aviris_struc.h:33
aviris_struct::interleave
int interleave
Definition:
l1_aviris_struc.h:36
aviris_struct::isnetcdf
int isnetcdf
Definition:
l1_aviris_struc.h:42
aviris_struct::distmax
float distmax
Definition:
l1_aviris_struc.h:29
aviris_struct::msec
int32_t msec
Definition:
l1_aviris_struc.h:26
aviris_struct::navfile
char navfile[FILENAME_MAX]
Definition:
l1_aviris_struc.h:38
aviris_struct::hdrfile
char hdrfile[FILENAME_MAX]
Definition:
l1_aviris_struc.h:38
aviris_struct::fwhm
double * fwhm
Definition:
l1_aviris_struc.h:31
aviris_struct::lat0
float lat0
Definition:
l1_aviris_struc.h:29
aviris_struct::elev
float * elev
Definition:
l1_aviris_struc.h:29
aviris_struct::av_fp
FILE * av_fp
Definition:
l1_aviris_struc.h:39
aviris_struct::lon
double * lon
Definition:
l1_aviris_struc.h:28
aviris_struct::nscan
int32_t nscan
Definition:
l1_aviris_struc.h:27
aviris_struct::pj
PJ * pj
Definition:
l1_aviris_struc.h:32
aviris_struct::numBands
int numBands
Definition:
l1_aviris_struc.h:35
aviris_struct::solz
double * solz
Definition:
l1_aviris_struc.h:28
aviris_struct::northing
double northing
Definition:
l1_aviris_struc.h:33
aviris_struct::utc
double * utc
Definition:
l1_aviris_struc.h:28
aviris_struct::doy
int32_t doy
Definition:
l1_aviris_struc.h:26
aviris_struct::month
int32_t month
Definition:
l1_aviris_struc.h:26
aviris_struct::spline
gsl_spline * spline
Definition:
l1_aviris_struc.h:40
aviris_struct::have_gain
int have_gain
Definition:
l1_aviris_struc.h:37
aviris_struct::sena
double * sena
Definition:
l1_aviris_struc.h:28
aviris_struct::lat
double * lat
Definition:
l1_aviris_struc.h:28
aviris_struct::sola
double * sola
Definition:
l1_aviris_struc.h:28
aviris_struct::have_nav
int have_nav
Definition:
l1_aviris_struc.h:37
aviris_struct::spl_acc
gsl_interp_accel * spl_acc
Definition:
l1_aviris_struc.h:41
aviris_struct::wgs_npix
int32_t wgs_npix
Definition:
l1_aviris_struc.h:27
aviris_struct::gainfile
char gainfile[FILENAME_MAX]
Definition:
l1_aviris_struc.h:38
aviris_struct::npix
int32_t npix
Definition:
l1_aviris_struc.h:27
aviris_struct::imgfile
char imgfile[FILENAME_MAX]
Definition:
l1_aviris_struc.h:38
aviris_struct::day
int32_t day
Definition:
l1_aviris_struc.h:26
aviris_struct::gain
double * gain
Definition:
l1_aviris_struc.h:30
aviris_struct::senz
double * senz
Definition:
l1_aviris_struc.h:28
aviris_struct::eastbyscan
int eastbyscan
Definition:
l1_aviris_struc.h:36