OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l1_oli.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int openl1_oli (filehandle *l1file)
 
int readl1_oli (filehandle *l1file, int recnum, l1str *l1rec, int lonlat)
 
int closel1_oli (filehandle *l1file)
 
int get_oli_nom_angles (char *meta_filename, int32_t npix, int32_t nscan, int32_t iscan, float *solz, float *sola, float *senz, float *sena, short *sca_num, short *det_num, int32_t isGeomPerBand)
 
int get_oli_angles (char *emeta_filename, int32_t npix, int32_t nscan, int32_t iscan, float *solz, float *sola, float *senz, float *sena, int32_t isGeomPerBand)
 

Function Documentation

◆ closel1_oli()

int closel1_oli ( filehandle *  l1file)

Definition at line 660 of file l1_oli.c.

◆ get_oli_angles()

int get_oli_angles ( char *  emeta_filename,
int32_t  npix,
int32_t  nscan,
int32_t  iscan,
float *  solz,
float *  sola,
float *  senz,
float *  sena,
int32_t  isGeomPerBand 
)

Get the Landsat OLI angles from an Enhanced Meta Data (EMD) file

Parameters
ininput EMD file
ininput number of pixels per line
ininput number of lines
ininput scan line to work on
outoutput satellite zenith angle
outoutput satellite azimuth angle
outoutput solar zenith angle
outoutput solar azimuth angle

Definition at line 14 of file get_l8_angles.c.

◆ get_oli_nom_angles()

int get_oli_nom_angles ( char *  meta_filename,
int32_t  npix,
int32_t  nscan,
int32_t  iscan,
float *  solz,
float *  sola,
float *  senz,
float *  sena,
short *  sca_num,
short *  det_num,
int32_t  isGeomPerBand 
)

Get the Landsat Nominal OLI angles from a MTL file

Parameters
ininput MTL file
ininput number of pixels per line
ininput number of lines
ininput scan line to work on
outoutput satellite zenith angle
outoutput satellite azimuth angle
outoutput solar zenith angle
outoutput solar azimuth angle

Definition at line 14 of file get_oli_nom_angles.c.

◆ openl1_oli()

int openl1_oli ( filehandle *  l1file)

Definition at line 141 of file l1_oli.c.

◆ readl1_oli()

int readl1_oli ( filehandle *  l1file,
int  recnum,
l1str *  l1rec,
int  lonlat 
)

Definition at line 421 of file l1_oli.c.