A sphere with three ocean waves in differing shades of blue. Next to the sphere, there is the bolded text "Ocean Color". Under that, there are two acronyms, separated by a vertical pipe: OB.DAAC (Ocean Biology Distributed Active Archive Center) and OBPG (Ocean Biology Processing Group).
Lorem
ipsum
dolor
sit
amet
Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
oel_hdf4
libl1
sgli.h
Go to the documentation of this file.
1
/*
2
* sgli.h
3
*
4
* W. Robinson, SAIC, 3 Oct 2016
5
*
6
*/
7
8
#ifndef SRC_SGLI_SGLI_H_
9
#define SRC_SGLI_SGLI_H_
10
11
#include <gsl/gsl_errno.h>
12
#include <gsl/gsl_interp2d.h>
13
#include <gsl/gsl_spline2d.h>
14
15
#include "
h5io.h
"
16
#include "
filehandle.h
"
17
18
typedef
struct
sgli_struct
{
19
char
swir_ir_file
[FILENAME_MAX];
20
} sgli_t;
21
22
/* This is a grid-specific definition - 2 are expected for SGLI */
23
typedef
struct
grid_res_str_def
{
24
double
*
xa
, *
ya
;
/* point to 1 of 2 grid point arrays for, x, y of
25
this grid */
26
int32_t
npix_tie
,
nscn_sub_tie
,
tie_st_lin
;
/* tie point array
27
x, y size and actual start in full array */
28
int32_t
resamp
;
/* resampling to the dominent resolution */
29
} grid_res_str;
30
31
/* This is a sensor band-dependent geometry structure, per-band */
32
typedef
struct
band_geom_str_def
{
33
h5io_str
dsid
[2];
/* for sensor as solar has no band dependence */
34
float
scale
[2];
35
float
offset
[2];
36
grid_res_str *
grd_desc
;
/* specific grid resolution structure for this one */
37
gsl_spline2d *
int_id_sen
[3];
38
char
*
qual
;
39
} band_geom_str;
40
41
#endif
/* SRC_SGLI_SGLI_H_ */
band_geom_str_def::int_id_sen
gsl_spline2d * int_id_sen[3]
Definition:
sgli.h:37
grid_res_str_def::ya
double * ya
Definition:
sgli.h:24
sgli_struct::swir_ir_file
char swir_ir_file[FILENAME_MAX]
Definition:
sgli.h:19
filehandle.h
grid_res_str_def::npix_tie
int32_t npix_tie
Definition:
sgli.h:26
band_geom_str_def::offset
float offset[2]
Definition:
sgli.h:35
band_geom_str_def::grd_desc
grid_res_str * grd_desc
Definition:
sgli.h:36
grid_res_str_def::resamp
int32_t resamp
Definition:
sgli.h:28
band_geom_str_def::qual
char * qual
Definition:
sgli.h:38
band_geom_str_def
Definition:
sgli.h:32
band_geom_str_def::scale
float scale[2]
Definition:
sgli.h:34
grid_res_str_def::nscn_sub_tie
int32_t nscn_sub_tie
Definition:
sgli.h:26
grid_res_str_def::xa
double * xa
Definition:
sgli.h:24
sgli_struct
Definition:
sgli.h:18
h5io.h
grid_res_str_def::tie_st_lin
int32_t tie_st_lin
Definition:
sgli.h:26
grid_res_str_def
Definition:
sgli.h:23
band_geom_str_def::dsid
h5io_str dsid[2]
Definition:
sgli.h:33