Ocean Color Science Software

ocssw V2022
las_iop.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.c:

Go to the source code of this file.


struct  las_table_struc


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


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


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 npix, 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[])
float fit_las_eta_amb (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)

Macro Definition Documentation


#define LASNKC   3

Definition at line 41 of file las_iop.c.


#define LASNRC   2

Definition at line 42 of file las_iop.c.


#define LASNSOL   3

Definition at line 40 of file las_iop.c.


#define NPARETALAS   2

Definition at line 407 of file las_iop.c.

Typedef Documentation

◆ k_array

typedef float k_array[LASNSOL][LASNKC]

Definition at line 45 of file las_iop.c.

◆ r_array

typedef float r_array[LASNSOL][LASNRC]

Definition at line 44 of file las_iop.c.

Function Documentation

◆ alloc_las()

void alloc_las ( int  npix,
int  nbands 

Definition at line 222 of file las_iop.c.

◆ alpha_func()

float alpha_func ( float  solz,
float  eta 

Definition at line 256 of file las_iop.c.

◆ delta_func()

float delta_func ( float  eta)

Definition at line 267 of file las_iop.c.

◆ eta_func()

float eta_func ( float  bbw,
float  bb 

Definition at line 237 of file las_iop.c.

◆ fit_las_eta_amb()

float fit_las_eta_amb ( float *  bbp)

Definition at line 409 of file las_iop.c.

◆ get_bbp_las()

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

Definition at line 605 of file las_iop.c.

◆ get_bbp_las_eta()

float get_bbp_las_eta ( l2str *  l2rec,
int  ip 

Definition at line 627 of file las_iop.c.

◆ get_las()

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

Definition at line 492 of file las_iop.c.

◆ get_R0_Kd()

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

Definition at line 151 of file las_iop.c.

◆ iops_las()

void iops_las ( l2str *  l2rec)

Definition at line 581 of file las_iop.c.

◆ las_eta_amb()

double las_eta_amb ( FITSTRUCT ambdata,
double  par[] 

Definition at line 391 of file las_iop.c.

◆ las_ran()

int las_ran ( int  recnum)

Definition at line 210 of file las_iop.c.

◆ read_las_tables()

void read_las_tables ( int  sensorID)

Definition at line 79 of file las_iop.c.

◆ run_las()

void run_las ( l2str *  l2rec,
int  ip 

Definition at line 276 of file las_iop.c.