OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
mtl_grid.h File Reference
#include "mtl_geometry.h"
#include "smeta_exploit.h"
#include "smeta_geometry.h"
Include dependency graph for mtl_grid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MTL_GRID_PT
 
struct  MTL_GRID_SCA
 
struct  MTL_GRID_SCA_LS
 
struct  MTL_GRID_BAND
 
struct  MTL_GRID_BAND_LS
 

Macros

#define NUM_GRID_COL   9
 
#define NUM_GRID_ROW   15
 
#define NUM_GRID_ROW_LS   13
 
#define GRID_COL_INC   0.25
 
#define GRID_ROW_INC   0.1
 
#define GRID_ROW_BASE   -0.7
 
#define GRID_ROW_BASE_LS   -0.6
 
#define GRID_COL_BASE   -1.0
 

Functions

int calc_band_grid (WRS2 parms, SMETA smeta, double dellon, VECTOR ecfsun, int band_index, MTL_GRID_BAND *bgrid)
 
int calc_band_grid_ls (WRS2 parms, SMETA smeta, double dellon, VECTOR ecfsun, int band_index, MTL_GRID_BAND_LS *bgrid)
 
int calc_grid_point (WRS2 parms, SMETA smeta, double dellon, int band_index, int sca, VECTOR ecfsun, MTL_GRID_PT *gpt)
 
int calc_grid_fit (MTL_GRID_SCA *sgrid)
 
int calc_grid_fit_ls (MTL_GRID_SCA_LS *sgrid)
 
int simple_inverse (int n, double a[4][4])
 
int smeta_angles (double line, double samp, MTL_GRID_BAND bgrid, short *sca_num, short *det_num, double *sat_zn, double *sat_az, double *sun_zn, double *sun_az)
 
int smeta_angles_ls (double line, double samp, MTL_GRID_BAND_LS bgrid, short *sat_zn, short *sat_az, short *sun_zn, short *sun_az)
 

Macro Definition Documentation

◆ GRID_COL_BASE

#define GRID_COL_BASE   -1.0

Definition at line 21 of file mtl_grid.h.

◆ GRID_COL_INC

#define GRID_COL_INC   0.25

Definition at line 17 of file mtl_grid.h.

◆ GRID_ROW_BASE

#define GRID_ROW_BASE   -0.7

Definition at line 19 of file mtl_grid.h.

◆ GRID_ROW_BASE_LS

#define GRID_ROW_BASE_LS   -0.6

Definition at line 20 of file mtl_grid.h.

◆ GRID_ROW_INC

#define GRID_ROW_INC   0.1

Definition at line 18 of file mtl_grid.h.

◆ NUM_GRID_COL

#define NUM_GRID_COL   9

Definition at line 14 of file mtl_grid.h.

◆ NUM_GRID_ROW

#define NUM_GRID_ROW   15

Definition at line 15 of file mtl_grid.h.

◆ NUM_GRID_ROW_LS

#define NUM_GRID_ROW_LS   13

Definition at line 16 of file mtl_grid.h.

Function Documentation

◆ calc_band_grid()

int calc_band_grid ( WRS2  parms,
SMETA  smeta,
double  dellon,
VECTOR  ecfsun,
int  band_index,
MTL_GRID_BAND bgrid 
)

Definition at line 14 of file mtl_grid.c.

◆ calc_band_grid_ls()

int calc_band_grid_ls ( WRS2  parms,
SMETA  smeta,
double  dellon,
VECTOR  ecfsun,
int  band_index,
MTL_GRID_BAND_LS bgrid 
)

Definition at line 91 of file mtl_grid.c.

◆ calc_grid_fit()

int calc_grid_fit ( MTL_GRID_SCA sgrid)

Definition at line 153 of file mtl_grid.c.

◆ calc_grid_fit_ls()

int calc_grid_fit_ls ( MTL_GRID_SCA_LS sgrid)

Definition at line 223 of file mtl_grid.c.

◆ calc_grid_point()

int calc_grid_point ( WRS2  parms,
SMETA  smeta,
double  dellon,
int  band_index,
int  sca,
VECTOR  ecfsun,
MTL_GRID_PT gpt 
)

Definition at line 315 of file mtl_grid.c.

◆ simple_inverse()

int simple_inverse ( int  n,
double  a[4][4] 
)

Definition at line 292 of file mtl_grid.c.

◆ smeta_angles()

int smeta_angles ( double  line,
double  samp,
MTL_GRID_BAND  bgrid,
short *  sca_num,
short *  det_num,
double *  sat_zn,
double *  sat_az,
double *  sun_zn,
double *  sun_az 
)

Definition at line 485 of file mtl_grid.c.

◆ smeta_angles_ls()

int smeta_angles_ls ( double  line,
double  samp,
MTL_GRID_BAND_LS  bgrid,
short *  sat_zn,
short *  sat_az,
short *  sun_zn,
short *  sun_az 
)

Definition at line 644 of file mtl_grid.c.