OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
brdf.c File Reference
#include "l12_proto.h"
#include "freearray.h"
Include dependency graph for brdf.c:

Go to the source code of this file.

Macros

#define NTWAVE   6
 
#define NTWIND   5
 
#define N_W   7
 
#define N_S   6
 
#define N_C   6
 
#define N_N   17
 
#define N_A   13
 

Functions

void foq_morel (int foqopt, l2str *l2rec, float wave[], int32_t nwave, float chl, float nLw[], float Fo[], float solz, float senz, float phi, float brdf[])
 
void dtran_brdf (l2str *l2rec, int32_t ip, float wave[], int32_t nwave, float Fo[], float nLw[], float chl, float brdf[])
 
void diff_tran_corr_ (int *iphase, float *solz, float *senz, float *phi, float *chl, float *taua, float *correct)
 
int32_t getncDimensionLength (int ncid, int dimId)
 
int getncFQdim (int ncid, char *file, char *sdsname, int sds_id, int nexp, float *bdat)
 
int ocbrdf (l2str *l2rec, int32_t ip, int32_t brdf_opt, float wave[], int32_t nwave, float solz, float senz, float phi, float ws, float chl, float nLw[], float Fo[], float brdf[])
 
float fresnel_sen (float senz, int return_tf)
 
void fresnel_sol (float wave[], int32_t nwave, float solz, float ws, float brdf[], int return_tf)
 
void gothic_R (float wave[], int32_t nwave, float solz, float senz, float ws, float R[])
 
int morel_index (float xtab[], int32_t ntab, float x)
 
void foqint_morel (char *file, float wave[], int32_t nwave, float solz, float senzp, float phi, float chl, float brdf[])
 
void qint_morel (float wave[], int32_t nwave, float solz, float chl, float Qn[])
 

Macro Definition Documentation

◆ N_A

#define N_A   13

Definition at line 282 of file brdf.c.

◆ N_C

#define N_C   6

Definition at line 280 of file brdf.c.

◆ N_N

#define N_N   17

Definition at line 281 of file brdf.c.

◆ N_S

#define N_S   6

Definition at line 279 of file brdf.c.

◆ N_W

#define N_W   7

Definition at line 278 of file brdf.c.

◆ NTWAVE

#define NTWAVE   6

◆ NTWIND

#define NTWIND   5

Function Documentation

◆ diff_tran_corr_()

void diff_tran_corr_ ( int *  iphase,
float *  solz,
float *  senz,
float *  phi,
float *  chl,
float *  taua,
float *  correct 
)

◆ dtran_brdf()

void dtran_brdf ( l2str *  l2rec,
int32_t  ip,
float  wave[],
int32_t  nwave,
float  Fo[],
float  nLw[],
float  chl,
float  brdf[] 
)

Definition at line 808 of file brdf.c.

◆ foq_morel()

void foq_morel ( int  foqopt,
l2str *  l2rec,
float  wave[],
int32_t  nwave,
float  chl,
float  nLw[],
float  Fo[],
float  solz,
float  senz,
float  phi,
float  brdf[] 
)

Definition at line 581 of file brdf.c.

◆ foqint_morel()

void foqint_morel ( char *  file,
float  wave[],
int32_t  nwave,
float  solz,
float  senzp,
float  phi,
float  chl,
float  brdf[] 
)

Definition at line 314 of file brdf.c.

◆ fresnel_sen()

float fresnel_sen ( float  senz,
int  return_tf 
)

Definition at line 127 of file brdf.c.

◆ fresnel_sol()

void fresnel_sol ( float  wave[],
int32_t  nwave,
float  solz,
float  ws,
float  brdf[],
int  return_tf 
)

Definition at line 160 of file brdf.c.

◆ getncDimensionLength()

int32_t getncDimensionLength ( int  ncid,
int  dimId 
)

Definition at line 515 of file brdf.c.

◆ getncFQdim()

int getncFQdim ( int  ncid,
char *  file,
char *  sdsname,
int  sds_id,
int  nexp,
float *  bdat 
)

Definition at line 531 of file brdf.c.

◆ gothic_R()

void gothic_R ( float  wave[],
int32_t  nwave,
float  solz,
float  senz,
float  ws,
float  R[] 
)

Definition at line 266 of file brdf.c.

◆ morel_index()

int morel_index ( float  xtab[],
int32_t  ntab,
float  x 
)

Definition at line 285 of file brdf.c.

◆ ocbrdf()

int ocbrdf ( l2str *  l2rec,
int32_t  ip,
int32_t  brdf_opt,
float  wave[],
int32_t  nwave,
float  solz,
float  senz,
float  phi,
float  ws,
float  chl,
float  nLw[],
float  Fo[],
float  brdf[] 
)

Definition at line 40 of file brdf.c.

◆ qint_morel()

void qint_morel ( float  wave[],
int32_t  nwave,
float  solz,
float  chl,
float  Qn[] 
)

Definition at line 672 of file brdf.c.