OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l1_sgli.c File Reference
#include <math.h>
#include "l1.h"
#include <h5io.h>
#include "sgli.h"
#include "l1_sgli.h"
Include dependency graph for l1_sgli.c:

Go to the source code of this file.

Macros

#define SGLI_NVNIR   9
 
#define SGLI_NVNIR_LG   2
 
#define SGLI_NVNIR_GEOM   2
 
#define SGLI_NSWIR   4
 

Functions

sgli_t * createPrivateData_sgli ()
 
int sgli_file_ver (h5io_str *fid)
 
int sgli_rad_info (h5io_str *fid, char *ds_nam, h5io_str *dsid, int *dim_siz, uint16_t *mx_dn, float *scale, float *off, float *sat)
 
int view_ang_tie_init2 (band_geom_str *band_geom, int32_t nbands)
 
int view_ang_tie_eval (band_geom_str *band_geom, int32_t ip, int32_t scan, float *azi_v, float *zen_v, char *qual)
 
int openl1_sgli (filehandle *l1file)
 
int readl1_sgli (filehandle *file, int32_t scan, l1str *l1rec)
 
int closel1_sgli (filehandle *file)
 

Macro Definition Documentation

◆ SGLI_NSWIR

#define SGLI_NSWIR   4

Definition at line 16 of file l1_sgli.c.

◆ SGLI_NVNIR

#define SGLI_NVNIR   9

Definition at line 13 of file l1_sgli.c.

◆ SGLI_NVNIR_GEOM

#define SGLI_NVNIR_GEOM   2

Definition at line 15 of file l1_sgli.c.

◆ SGLI_NVNIR_LG

#define SGLI_NVNIR_LG   2

Definition at line 14 of file l1_sgli.c.

Function Documentation

◆ closel1_sgli()

int closel1_sgli ( filehandle *  file)

Definition at line 1334 of file l1_sgli.c.

◆ createPrivateData_sgli()

sgli_t* createPrivateData_sgli ( )

Definition at line 50 of file l1_sgli.c.

◆ openl1_sgli()

int openl1_sgli ( filehandle *  l1file)

Definition at line 366 of file l1_sgli.c.

◆ readl1_sgli()

int readl1_sgli ( filehandle *  file,
int32_t  scan,
l1str *  l1rec 
)

Definition at line 793 of file l1_sgli.c.

◆ sgli_file_ver()

int sgli_file_ver ( h5io_str *  fid)

Definition at line 65 of file l1_sgli.c.

◆ sgli_rad_info()

int sgli_rad_info ( h5io_str *  fid,
char *  ds_nam,
h5io_str *  dsid,
int *  dim_siz,
uint16_t *  mx_dn,
float *  scale,
float *  off,
float *  sat 
)

Definition at line 131 of file l1_sgli.c.

◆ view_ang_tie_eval()

int view_ang_tie_eval ( band_geom_str *  band_geom,
int32_t  ip,
int32_t  scan,
float *  azi_v,
float *  zen_v,
char *  qual 
)

Definition at line 304 of file l1_sgli.c.

◆ view_ang_tie_init2()

int view_ang_tie_init2 ( band_geom_str *  band_geom,
int32_t  nbands 
)

Definition at line 197 of file l1_sgli.c.