ocssw
V2022
|
#include <cmath>
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
Go to the source code of this file.
Namespaces | |
morel_vars | |
Macros | |
#define | NBIG 10U |
#define | NRAD 31U |
#define | NPHI 4U |
#define | NPHASE 16U |
#define | NWAVE 6U |
#define | NGAUS (2U * NRAD - 1U) |
#define | NNG 50U |
#define | NG (2U * NNG) |
#define | NUM 75U |
#define | NCHL 6U |
#define | NSUN 6U |
#define | M_PI 3.141592653589793238462643383279502884L |
Functions | |
float | fresref (float muair, float index=aindex) |
void | read_morel_data (const std::string &data_path) |
void | read_luts_txt () |
void | Morel_BRDF (float Sun, float Chlor, float MBRDF[NWAVE][NRAD][NPHI], float SmMBRDF[NWAVE][NBIG][NPHI]) |
void | diff_tran_corr_ (int *iphase, float *solz, float *senz, float *phi, float *chl, float *taua, float *correct) |
Variables | |
float | BRDF [NWAVE][NSUN][NCHL][NRAD][NPHI] |
float | SmBRDF [NWAVE][NSUN][NCHL][NBIG][NPHI] |
float | Theta0 [NSUN] |
float | Chl [NCHL] |
float | Wave [NWAVE] |
float | Thetav [NRAD] |
float | LChl [NCHL] |
bool | initialized = false |
const float | aindex = 1.334f |
Macro Definition Documentation
◆ M_PI
#define M_PI 3.141592653589793238462643383279502884L |
Definition at line 19 of file dtranbrdf.cpp.
◆ NBIG
#define NBIG 10U |
Definition at line 7 of file dtranbrdf.cpp.
◆ NCHL
#define NCHL 6U |
Definition at line 16 of file dtranbrdf.cpp.
◆ NG
#define NG (2U * NNG) |
Definition at line 14 of file dtranbrdf.cpp.
◆ NGAUS
#define NGAUS (2U * NRAD - 1U) |
Definition at line 12 of file dtranbrdf.cpp.
◆ NNG
#define NNG 50U |
Definition at line 13 of file dtranbrdf.cpp.
◆ NPHASE
#define NPHASE 16U |
Definition at line 10 of file dtranbrdf.cpp.
◆ NPHI
#define NPHI 4U |
Definition at line 9 of file dtranbrdf.cpp.
◆ NRAD
#define NRAD 31U |
Definition at line 8 of file dtranbrdf.cpp.
◆ NSUN
#define NSUN 6U |
Definition at line 17 of file dtranbrdf.cpp.
◆ NUM
#define NUM 75U |
Definition at line 15 of file dtranbrdf.cpp.
◆ NWAVE
#define NWAVE 6U |
Definition at line 11 of file dtranbrdf.cpp.
Function Documentation
◆ diff_tran_corr_()
void diff_tran_corr_ | ( | int * | iphase, |
float * | solz, | ||
float * | senz, | ||
float * | phi, | ||
float * | chl, | ||
float * | taua, | ||
float * | correct | ||
) |
Definition at line 364 of file dtranbrdf.cpp.
◆ fresref()
float fresref | ( | float | muair, |
float | index = aindex |
||
) |
Definition at line 40 of file dtranbrdf.cpp.
◆ Morel_BRDF()
void Morel_BRDF | ( | float | Sun, |
float | Chlor, | ||
float | MBRDF[NWAVE][NRAD][NPHI], | ||
float | SmMBRDF[NWAVE][NBIG][NPHI] | ||
) |
Definition at line 312 of file dtranbrdf.cpp.
◆ read_luts_txt()
void read_luts_txt | ( | ) |
Definition at line 141 of file dtranbrdf.cpp.
◆ read_morel_data()
void read_morel_data | ( | const std::string & | data_path | ) |
Definition at line 56 of file dtranbrdf.cpp.
Variable Documentation
◆ aindex
Definition at line 38 of file dtranbrdf.cpp.
◆ initialized
bool initialized = false |
Definition at line 36 of file dtranbrdf.cpp.