OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
las_iop_ksm.c File Reference
#include <stdlib.h>
#include <math.h>
#include "l12_proto.h"
#include "l2prod.h"
#include "amoeba.h"
Include dependency graph for las_iop_ksm.c:

Go to the source code of this file.

Classes

struct  las_table_struc
 

Macros

#define LASNSOL   3
 
#define LASNKC   3
 
#define LASNRC   2
 
#define NPARETALAS   2
 

Typedefs

typedef float r_array[LASNSOL][LASNRC]
 
typedef float k_array[LASNSOL][LASNKC]
 

Functions

void read_las_tables (int sensorID)
 
void get_R0_Kd (float rat, float Rrs, float wave, float solz, float *R0, float *Kd)
 
int las_ran (int recnum)
 
void alloc_las (int nbands)
 
float eta_func (float bbw, float bb)
 
float alpha_func (float solz, float eta)
 
float delta_func (float eta)
 
void run_las (l2str *l2rec, int ip)
 
double las_eta_amb (FITSTRUCT *ambdata, double par[])
 
double las_eta_amb_ksm (FITSTRUCT *ambdata, double par[])
 
float fit_las_eta_amb (float *bbp)
 
float fit_las_eta_amb_ksm (float *bbp)
 
void get_las (l2str *l2rec, l2prodstr *p, float prod[])
 
void iops_las (l2str *l2rec)
 
int get_bbp_las (l2str *l2rec, int ip, float tab_wave[], float tab_bbp[], int tab_nwave)
 
float get_bbp_las_eta (l2str *l2rec, int ip)
 
float get_bbp_las_eta_ksm (l2str *l2rec, int ip)
 

Macro Definition Documentation

◆ LASNKC

#define LASNKC   3

Definition at line 41 of file las_iop_ksm.c.

◆ LASNRC

#define LASNRC   2

Definition at line 42 of file las_iop_ksm.c.

◆ LASNSOL

#define LASNSOL   3

Definition at line 40 of file las_iop_ksm.c.

◆ NPARETALAS

#define NPARETALAS   2

Definition at line 432 of file las_iop_ksm.c.

Typedef Documentation

◆ k_array

typedef float k_array[LASNSOL][LASNKC]

Definition at line 45 of file las_iop_ksm.c.

◆ r_array

typedef float r_array[LASNSOL][LASNRC]

Definition at line 44 of file las_iop_ksm.c.

Function Documentation

◆ alloc_las()

void alloc_las ( int  nbands)

Definition at line 225 of file las_iop_ksm.c.

◆ alpha_func()

float alpha_func ( float  solz,
float  eta 
)

Definition at line 261 of file las_iop_ksm.c.

◆ delta_func()

float delta_func ( float  eta)

Definition at line 272 of file las_iop_ksm.c.

◆ eta_func()

float eta_func ( float  bbw,
float  bb 
)

Definition at line 242 of file las_iop_ksm.c.

◆ fit_las_eta_amb()

float fit_las_eta_amb ( float *  bbp)

Definition at line 434 of file las_iop_ksm.c.

◆ fit_las_eta_amb_ksm()

float fit_las_eta_amb_ksm ( float *  bbp)

Definition at line 512 of file las_iop_ksm.c.

◆ get_bbp_las()

int get_bbp_las ( l2str *  l2rec,
int  ip,
float  tab_wave[],
float  tab_bbp[],
int  tab_nwave 
)

Definition at line 709 of file las_iop_ksm.c.

◆ get_bbp_las_eta()

float get_bbp_las_eta ( l2str *  l2rec,
int  ip 
)

Definition at line 730 of file las_iop_ksm.c.

◆ get_bbp_las_eta_ksm()

float get_bbp_las_eta_ksm ( l2str *  l2rec,
int  ip 
)

Definition at line 745 of file las_iop_ksm.c.

◆ get_las()

void get_las ( l2str *  l2rec,
l2prodstr *  p,
float  prod[] 
)

Definition at line 596 of file las_iop_ksm.c.

◆ get_R0_Kd()

void get_R0_Kd ( float  rat,
float  Rrs,
float  wave,
float  solz,
float *  R0,
float *  Kd 
)

Definition at line 155 of file las_iop_ksm.c.

◆ iops_las()

void iops_las ( l2str *  l2rec)

Definition at line 685 of file las_iop_ksm.c.

◆ las_eta_amb()

double las_eta_amb ( FITSTRUCT ambdata,
double  par[] 
)

Definition at line 403 of file las_iop_ksm.c.

◆ las_eta_amb_ksm()

double las_eta_amb_ksm ( FITSTRUCT ambdata,
double  par[] 
)

Definition at line 415 of file las_iop_ksm.c.

◆ las_ran()

int las_ran ( int  recnum)

Definition at line 214 of file las_iop_ksm.c.

◆ read_las_tables()

void read_las_tables ( int  sensorID)

Definition at line 82 of file las_iop_ksm.c.

◆ run_las()

void run_las ( l2str *  l2rec,
int  ip 
)

Definition at line 280 of file las_iop_ksm.c.