OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
get_l57tm_nom_angles.c File Reference
#include "smeta_api.h"
Include dependency graph for get_l57tm_nom_angles.c:

Go to the source code of this file.

Macros

#define MAXBAND   7
 

Functions

int get_l57tm_nom_angles (char *meta_filename, int32_t npix, int32_t nscan, int32_t iscan, float *solz, float *sola, float *senz, float *sena)
 

Macro Definition Documentation

◆ MAXBAND

#define MAXBAND   7

Definition at line 2 of file get_l57tm_nom_angles.c.

Function Documentation

◆ get_l57tm_nom_angles()

int get_l57tm_nom_angles ( char *  meta_filename,
int32_t  npix,
int32_t  nscan,
int32_t  iscan,
float *  solz,
float *  sola,
float *  senz,
float *  sena 
)

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_l57tm_nom_angles.c.