OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
get_atrem_corl1v2.c File Reference
#include "atrem_corl1v2.h"
#include <sensorDefs.h>
#include <timeutils.h>
#include <math.h>
Include dependency graph for get_atrem_corl1v2.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)
 
void get_tpvmr (size_t layers, size_t models, int sds_id, char filename[FILENAME_MAX], char *varname, float *var_a)
 
int init_tpvmr_nc (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)
 
int32_t findMatch (float *list, int32_t nobs, float elem)
 
void channelRatio ()
 
void kdistgasabs (float *kcdf, float *abscf, float *waveno, float *wavobs, int32_t nphi, int32_t n_layers, int32_t nbands)
 
void model_adjust ()
 
void locate_pos_ (float *xx, int32_t *n1, float *x1, int32_t *jj)
 
void geometry ()
 
void get_abscf_data (int levels, int bands, int sds_id, char filename[FILENAME_MAX], float *abscf, char *varname)
 
void apply_gas_trans (int32_t k_surf, int levels, int bands, float *abscf, float *dp, float *vmrm, float *tran_hi)
 
void init_spectral_calculations ()
 
void tran_table ()
 
void tran_smooth (float *tran_hi)
 
void tran_smooth_others ()
 

Macro Definition Documentation

◆ BUFSZ

#define BUFSZ   100

Definition at line 135 of file get_atrem_corl1v2.c.

◆ MINDEGCHANGE

#define MINDEGCHANGE   55

Definition at line 136 of file get_atrem_corl1v2.c.

Function Documentation

◆ apply_gas_trans()

void apply_gas_trans ( int32_t  k_surf,
int  levels,
int  bands,
float *  abscf,
float *  dp,
float *  vmrm,
float *  tran_hi 
)

Definition at line 2245 of file get_atrem_corl1v2.c.

◆ channelRatio()

void channelRatio ( )

Definition at line 1562 of file get_atrem_corl1v2.c.

◆ findMatch()

int32_t findMatch ( float *  list,
int32_t  nobs,
float  elem 
)

Definition at line 1517 of file get_atrem_corl1v2.c.

◆ geometry()

void geometry ( )

Definition at line 2068 of file get_atrem_corl1v2.c.

◆ get_abscf_data()

void get_abscf_data ( int  levels,
int  bands,
int  sds_id,
char  filename[FILENAME_MAX],
float *  abscf,
char *  varname 
)

Definition at line 2216 of file get_atrem_corl1v2.c.

◆ get_angle_limits()

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

Definition at line 1288 of file get_atrem_corl1v2.c.

◆ get_atrem()

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

Definition at line 339 of file get_atrem_corl1v2.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 139 of file get_atrem_corl1v2.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 1464 of file get_atrem_corl1v2.c.

◆ get_tpvmr()

void get_tpvmr ( size_t  layers,
size_t  models,
int  sds_id,
char  filename[FILENAME_MAX],
char *  varname,
float *  var_a 
)

Definition at line 696 of file get_atrem_corl1v2.c.

◆ getModelNum()

int getModelNum ( float  lat,
int32_t  day 
)

Definition at line 826 of file get_atrem_corl1v2.c.

◆ hunt()

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

Definition at line 608 of file get_atrem_corl1v2.c.

◆ init_atrem()

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

Definition at line 866 of file get_atrem_corl1v2.c.

◆ init_spectral_calculations()

void init_spectral_calculations ( )

Definition at line 2356 of file get_atrem_corl1v2.c.

◆ init_tpvmr()

int init_tpvmr ( int  model)

Definition at line 661 of file get_atrem_corl1v2.c.

◆ init_tpvmr_nc()

int init_tpvmr_nc ( int  model)

Definition at line 723 of file get_atrem_corl1v2.c.

◆ kdistgasabs()

void kdistgasabs ( float *  kcdf,
float *  abscf,
float *  waveno,
float *  wavobs,
int32_t  nphi,
int32_t  n_layers,
int32_t  nbands 
)

Definition at line 1618 of file get_atrem_corl1v2.c.

◆ locate_pos_()

void locate_pos_ ( float *  xx,
int32_t *  n1,
float *  x1,
int32_t *  jj 
)

Definition at line 2007 of file get_atrem_corl1v2.c.

◆ model_adjust()

void model_adjust ( )

Definition at line 1842 of file get_atrem_corl1v2.c.

◆ tran_smooth()

void tran_smooth ( float *  tran_hi)

Definition at line 3302 of file get_atrem_corl1v2.c.

◆ tran_smooth_others()

void tran_smooth_others ( )

Definition at line 3754 of file get_atrem_corl1v2.c.

◆ tran_table()

void tran_table ( )

Definition at line 2943 of file get_atrem_corl1v2.c.