OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
get_atrem_corl1.c File Reference
#include "atrem_corl1.h"
#include <sensorDefs.h>
#include <timeutils.h>
#include <math.h>
Include dependency graph for get_atrem_corl1.c:

Go to the source code of this file.

Macros

#define BUFSZ   100
 
#define MINDEGCHANGE   55
 

Functions

int get_atrem_cor (int32_t sensorID, l1str *l1rec, int32_t ip, float *rhot, float *tg_tot, float *tg_sol, float *tg_sen)
 
float get_atrem (float *tg_tot, float *rhot, paramstr *P)
 
int32_t hunt (float *xx, int32_t n, double x, int32_t jlo)
 
int init_tpvmr (int model)
 
int getModelNum (float lat, int32_t day)
 
int init_atrem (int32_t sensorID, paramstr *P, l1str *l1rec, int32_t nbands)
 
int get_angle_limits (float **anglelimit, float **insenz, float **insolz, int *n_senz, int *n_solz)
 
float get_current_angle_limit (float insenz, float insolz, int *ii, int *jj, float **anglelimit, float *senz, float *solz, int n_senz, int n_solz)
 
int findMatch_ (float *list, int *nobs, float *elem)
 

Macro Definition Documentation

◆ BUFSZ

#define BUFSZ   100

Definition at line 162 of file get_atrem_corl1.c.

◆ MINDEGCHANGE

#define MINDEGCHANGE   55

Definition at line 163 of file get_atrem_corl1.c.

Function Documentation

◆ findMatch_()

int findMatch_ ( float *  list,
int *  nobs,
float *  elem 
)

Definition at line 1394 of file get_atrem_corl1.c.

◆ get_angle_limits()

int get_angle_limits ( float **  anglelimit,
float **  insenz,
float **  insolz,
int *  n_senz,
int *  n_solz 
)

Definition at line 1174 of file get_atrem_corl1.c.

◆ get_atrem()

float get_atrem ( float *  tg_tot,
float *  rhot,
paramstr *  P 
)

Definition at line 358 of file get_atrem_corl1.c.

◆ get_atrem_cor()

int get_atrem_cor ( int32_t  sensorID,
l1str *  l1rec,
int32_t  ip,
float *  rhot,
float *  tg_tot,
float *  tg_sol,
float *  tg_sen 
)

Definition at line 166 of file get_atrem_corl1.c.

◆ get_current_angle_limit()

float get_current_angle_limit ( float  insenz,
float  insolz,
int *  ii,
int *  jj,
float **  anglelimit,
float *  senz,
float *  solz,
int  n_senz,
int  n_solz 
)

Definition at line 1342 of file get_atrem_corl1.c.

◆ getModelNum()

int getModelNum ( float  lat,
int32_t  day 
)

Definition at line 715 of file get_atrem_corl1.c.

◆ hunt()

int32_t hunt ( float *  xx,
int32_t  n,
double  x,
int32_t  jlo 
)

Definition at line 627 of file get_atrem_corl1.c.

◆ init_atrem()

int init_atrem ( int32_t  sensorID,
paramstr *  P,
l1str *  l1rec,
int32_t  nbands 
)

Definition at line 755 of file get_atrem_corl1.c.

◆ init_tpvmr()

int init_tpvmr ( int  model)

Definition at line 680 of file get_atrem_corl1.c.