OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
par_utils.c File Reference
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include "par_utils.h"
Include dependency graph for par_utils.c:

Go to the source code of this file.

Macros

#define NMODEL   12
 
#define NS   15
 
#define NT   9
 

Functions

void GetAerPhase (l2str *l2rec, int ip, int32_t nbands, float angstrom, float *aerphasefunc, float *omega, float *modelAngstrom)
 
void read_aerosol_par (l2str *l2rec, int32_t nbands, float *tablewavelengths, float *tablephaseangles, float *tablealphas, float *tableomegas, float *tableaerphasefunc)
 
float EstimateDobson (int32_t year, int32_t month, int32_t day, float lat)
 
float EstimateWatVap (int32_t year, int32_t month, int32_t day, float lat)
 
float varsol (int32_t jday)
 
void triseset (int32_t jday, float xlon, float xlat, float *trise, float *tset)
 
float get_solz (int32_t jday, float time, float lon, float lat)
 
float interp_as_taulow (float csz, float tau)
 
float interp_as_tauhigh (float csz)
 

Macro Definition Documentation

◆ NMODEL

#define NMODEL   12

Definition at line 41 of file par_utils.c.

◆ NS

#define NS   15

Definition at line 42 of file par_utils.c.

◆ NT

#define NT   9

Definition at line 43 of file par_utils.c.

Function Documentation

◆ EstimateDobson()

float EstimateDobson ( int32_t  year,
int32_t  month,
int32_t  day,
float  lat 
)

Definition at line 250 of file par_utils.c.

◆ EstimateWatVap()

float EstimateWatVap ( int32_t  year,
int32_t  month,
int32_t  day,
float  lat 
)

Definition at line 381 of file par_utils.c.

◆ get_solz()

float get_solz ( int32_t  jday,
float  time,
float  lon,
float  lat 
)

Definition at line 572 of file par_utils.c.

◆ GetAerPhase()

void GetAerPhase ( l2str *  l2rec,
int  ip,
int32_t  nbands,
float  angstrom,
float *  aerphasefunc,
float *  omega,
float *  modelAngstrom 
)

Definition at line 51 of file par_utils.c.

◆ interp_as_tauhigh()

float interp_as_tauhigh ( float  csz)

Definition at line 769 of file par_utils.c.

◆ interp_as_taulow()

float interp_as_taulow ( float  csz,
float  tau 
)

Definition at line 661 of file par_utils.c.

◆ read_aerosol_par()

void read_aerosol_par ( l2str *  l2rec,
int32_t  nbands,
float *  tablewavelengths,
float *  tablephaseangles,
float *  tablealphas,
float *  tableomegas,
float *  tableaerphasefunc 
)

Definition at line 174 of file par_utils.c.

◆ triseset()

void triseset ( int32_t  jday,
float  xlon,
float  xlat,
float *  trise,
float *  tset 
)

Definition at line 529 of file par_utils.c.

◆ varsol()

float varsol ( int32_t  jday)

Definition at line 514 of file par_utils.c.