ocssw
V2022
|
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Macros | |
#define | MAX_LINE 180 |
Functions | |
int | load_work_tab (char *configname, int sensorID) |
void | load_config (char *configname) |
float | geo2iop (float *levels, float *iopv[MAX_BANDS], int band, float value, int size) |
float | interp_l (float *x, float u, int n) |
float | interp (float *x, float u, int n) |
int | setgeom (float sun_theta, float sen_theta, float dphi) |
double | f_ab (double a, double b, int band) |
double | fint (double a, double b, int band) |
float | r_ab (float a, float b, int band) |
float | sed_ref (float spm, int band) |
float | chl_ref (float chl, int band) |
float | iop_ref (float conc, int band, int iop) |
Variables | |
float * | lambda |
float | lc [MAX_BANDS] |
float * | a_w |
float * | b_w |
int32_t | nband |
int32_t | ch_n |
int32_t | sp_n |
int32_t | od_n |
float * | ch_lev |
float * | ac [MAX_BANDS] |
float * | bc [MAX_BANDS] |
float * | sp_lev |
float * | as [MAX_BANDS] |
float * | bs [MAX_BANDS] |
float * | od_lev |
float * | od [MAX_BANDS] |
int32_t | th_s_n |
int32_t | th_v_n |
int32_t | dphi_n |
float * | th_s_lev |
float * | th_v_lev |
float * | dphi_lev |
int32_t | ap_n |
int32_t | bp_n |
float * | ap_lev |
float * | bp_lev |
float * | refen |
int | bp [2] |
int | maxit |
float | eps_a_init |
float | eps_a_init_modis |
float | init_chl |
float | tol |
float | b_tilde_w |
float | b_tilde_p |
float | scat_a |
float | scat_b |
float | scat_c |
float | scat_n |
float | scat_l |
float | scat_l_modis |
float | eps_y_412_443 |
float | eps_p_412_443 |
float | ysbpa_0 |
float | ysbpa_s |
float | ysbpa_l |
float | tol_n |
float | tol_b |
float | n_init |
int | bp_base |
int | bp_1 |
int | bp_2 |
int | max_iter |
int | n_bands |
double | lc1 |
double | lc2 |
double | log_lc1 |
double | e_init |
double | b_low_init |
double | b_high_init |
double | b_init |
double | delta_b_init |
double | min_db |
double | max_db |
double | spm_max |
double | spm_min |
double | rst_spm |
double | rst_db |
double | rst_n |
double | rst_n_step |
double | n_min |
double | n_max |
double | iter_scale |
double | clim_spm |
Macro Definition Documentation
◆ MAX_LINE
#define MAX_LINE 180 |
Definition at line 8 of file pml_iop_tables.h.
Function Documentation
◆ chl_ref()
float chl_ref | ( | float | chl, |
int | band | ||
) |
Definition at line 485 of file pml_iop_tables.c.
◆ f_ab()
double f_ab | ( | double | a, |
double | b, | ||
int | band | ||
) |
Definition at line 414 of file pml_iop_tables.c.
◆ fint()
double fint | ( | double | a, |
double | b, | ||
int | band | ||
) |
Definition at line 427 of file pml_iop_tables.c.
◆ geo2iop()
float geo2iop | ( | float * | levels, |
float * | iopv[MAX_BANDS], | ||
int | band, | ||
float | value, | ||
int | size | ||
) |
Definition at line 337 of file pml_iop_tables.c.
◆ interp()
float interp | ( | float * | x, |
float | u, | ||
int | n | ||
) |
Definition at line 350 of file pml_iop_tables.c.
◆ interp_l()
float interp_l | ( | float * | x, |
float | u, | ||
int | n | ||
) |
Definition at line 368 of file pml_iop_tables.c.
◆ iop_ref()
float iop_ref | ( | float | conc, |
int | band, | ||
int | iop | ||
) |
Definition at line 450 of file pml_iop_tables.c.
◆ load_config()
void load_config | ( | char * | configname | ) |
Definition at line 272 of file pml_iop_tables.c.
◆ load_work_tab()
int load_work_tab | ( | char * | configname, |
int | sensorID | ||
) |
Definition at line 62 of file pml_iop_tables.c.
◆ r_ab()
float r_ab | ( | float | a, |
float | b, | ||
int | band | ||
) |
Definition at line 461 of file pml_iop_tables.c.
◆ sed_ref()
float sed_ref | ( | float | spm, |
int | band | ||
) |
Definition at line 473 of file pml_iop_tables.c.
◆ setgeom()
int setgeom | ( | float | sun_theta, |
float | sen_theta, | ||
float | dphi | ||
) |
Definition at line 386 of file pml_iop_tables.c.
Variable Documentation
◆ a_w
float * a_w |
Definition at line 12 of file pml_iop_tables.h.
◆ ac
float * ac[MAX_BANDS] |
Definition at line 16 of file pml_iop_tables.h.
◆ ap_lev
float* ap_lev |
Definition at line 34 of file pml_iop_tables.c.
◆ ap_n
int32_t ap_n |
Definition at line 33 of file pml_iop_tables.c.
◆ as
float * as[MAX_BANDS] |
Definition at line 17 of file pml_iop_tables.h.
◆ b_high_init
double b_high_init |
Definition at line 42 of file pml_iop_tables.h.
◆ b_init
double b_init |
Definition at line 42 of file pml_iop_tables.h.
◆ b_low_init
double b_low_init |
Definition at line 55 of file pml_iop_tables.c.
◆ b_tilde_p
float b_tilde_p |
Definition at line 31 of file pml_iop_tables.h.
◆ b_tilde_w
float b_tilde_w |
Definition at line 43 of file pml_iop_tables.c.
◆ b_w
float * b_w |
Definition at line 12 of file pml_iop_tables.h.
◆ bc
float * bc[MAX_BANDS] |
Definition at line 16 of file pml_iop_tables.h.
◆ bp
int bp[2] |
Definition at line 42 of file pml_iop_tables.c.
◆ bp_1
int bp_1 |
Definition at line 40 of file pml_iop_tables.h.
◆ bp_2
int bp_2 |
Definition at line 40 of file pml_iop_tables.h.
◆ bp_base
int bp_base |
Definition at line 52 of file pml_iop_tables.c.
◆ bp_lev
float * bp_lev |
Definition at line 24 of file pml_iop_tables.h.
◆ bp_n
int32_t bp_n |
Definition at line 23 of file pml_iop_tables.h.
◆ bs
float * bs[MAX_BANDS] |
Definition at line 17 of file pml_iop_tables.h.
◆ ch_lev
float* ch_lev |
Definition at line 26 of file pml_iop_tables.c.
◆ ch_n
int32_t ch_n |
Definition at line 15 of file pml_iop_tables.h.
◆ clim_spm
double clim_spm |
Definition at line 44 of file pml_iop_tables.h.
◆ delta_b_init
double delta_b_init |
Definition at line 42 of file pml_iop_tables.h.
◆ dphi_lev
float * dphi_lev |
Definition at line 22 of file pml_iop_tables.h.
◆ dphi_n
int32_t dphi_n |
Definition at line 21 of file pml_iop_tables.h.
◆ e_init
double e_init |
Definition at line 41 of file pml_iop_tables.h.
◆ eps_a_init
float eps_a_init |
Definition at line 43 of file pml_iop_tables.c.
◆ eps_a_init_modis
float eps_a_init_modis |
Definition at line 30 of file pml_iop_tables.h.
◆ eps_p_412_443
float eps_p_412_443 |
Definition at line 35 of file pml_iop_tables.h.
◆ eps_y_412_443
float eps_y_412_443 |
Definition at line 48 of file pml_iop_tables.c.
◆ init_chl
float init_chl |
Definition at line 30 of file pml_iop_tables.h.
◆ iter_scale
double iter_scale |
Definition at line 44 of file pml_iop_tables.h.
◆ lambda
float* lambda |
Definition at line 75 of file decode_rs.h.
◆ lc
float lc[MAX_BANDS] |
Definition at line 12 of file pml_iop_tables.h.
◆ lc1
double lc1 |
Definition at line 54 of file pml_iop_tables.c.
◆ lc2
double lc2 |
Definition at line 41 of file pml_iop_tables.h.
◆ log_lc1
double log_lc1 |
Definition at line 41 of file pml_iop_tables.h.
◆ max_db
double max_db |
Definition at line 42 of file pml_iop_tables.h.
◆ max_iter
int max_iter |
Definition at line 40 of file pml_iop_tables.h.
◆ maxit
int maxit |
Definition at line 29 of file pml_iop_tables.h.
◆ min_db
double min_db |
Definition at line 42 of file pml_iop_tables.h.
◆ n_bands
int n_bands |
Definition at line 40 of file pml_iop_tables.h.
◆ n_init
float n_init |
Definition at line 39 of file pml_iop_tables.h.
◆ n_max
double n_max |
Definition at line 44 of file pml_iop_tables.h.
◆ n_min
double n_min |
Definition at line 57 of file pml_iop_tables.c.
◆ nband
int32_t nband |
Definition at line 25 of file pml_iop_tables.c.
◆ od
float * od[MAX_BANDS] |
Definition at line 18 of file pml_iop_tables.h.
◆ od_lev
float* od_lev |
Definition at line 28 of file pml_iop_tables.c.
◆ od_n
int32_t od_n |
Definition at line 15 of file pml_iop_tables.h.
◆ refen
float* refen |
Definition at line 36 of file pml_iop_tables.c.
◆ rst_db
double rst_db |
Definition at line 43 of file pml_iop_tables.h.
◆ rst_n
double rst_n |
Definition at line 43 of file pml_iop_tables.h.
◆ rst_n_step
double rst_n_step |
Definition at line 43 of file pml_iop_tables.h.
◆ rst_spm
double rst_spm |
Definition at line 43 of file pml_iop_tables.h.
◆ scat_a
float scat_a |
Definition at line 44 of file pml_iop_tables.c.
◆ scat_b
float scat_b |
Definition at line 32 of file pml_iop_tables.h.
◆ scat_c
float scat_c |
Definition at line 32 of file pml_iop_tables.h.
◆ scat_l
float scat_l |
Definition at line 32 of file pml_iop_tables.h.
◆ scat_l_modis
float scat_l_modis |
Definition at line 32 of file pml_iop_tables.h.
◆ scat_n
float scat_n |
Definition at line 32 of file pml_iop_tables.h.
◆ sp_lev
float* sp_lev |
Definition at line 27 of file pml_iop_tables.c.
◆ sp_n
int32_t sp_n |
Definition at line 15 of file pml_iop_tables.h.
◆ spm_max
double spm_max |
Definition at line 56 of file pml_iop_tables.c.
◆ spm_min
double spm_min |
Definition at line 43 of file pml_iop_tables.h.
◆ th_s_lev
float* th_s_lev |
Definition at line 32 of file pml_iop_tables.c.
◆ th_s_n
int32_t th_s_n |
Definition at line 31 of file pml_iop_tables.c.
◆ th_v_lev
float * th_v_lev |
Definition at line 22 of file pml_iop_tables.h.
◆ th_v_n
int32_t th_v_n |
Definition at line 21 of file pml_iop_tables.h.
◆ tol
float tol |
Definition at line 30 of file pml_iop_tables.h.
◆ tol_b
float tol_b |
Definition at line 39 of file pml_iop_tables.h.
◆ tol_n
float tol_n |
Definition at line 53 of file pml_iop_tables.c.
◆ ysbpa_0
float ysbpa_0 |
Definition at line 49 of file pml_iop_tables.c.
◆ ysbpa_l
float ysbpa_l |
Definition at line 36 of file pml_iop_tables.h.
◆ ysbpa_s
float ysbpa_s |
Definition at line 36 of file pml_iop_tables.h.