OB.DAAC Logo
NASA Logo
Ocean Color Science Software

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

Go to the source code of this file.

Macros

#define KD_MAX   6.4
 
#define KD_MIN   0.016
 

Functions

void Kd490_KD2 (l2str *l2rec, float *Kd)
 
void Kd490_mueller (l2str *l2rec, float k490[])
 
void Kd490_obpg (l2str *l2rec, float k490[])
 
void Kd490_morel (l2str *l2rec, float *Kd)
 
void Kd_PAR_morel (l2str *l2rec, int depth, float *Kd)
 
void Zhl_morel (l2str *l2rec, float *Zhl)
 
void Kd532 (l2str *l2rec, int flag, float k532[])
 
void Kd_lee (l2str *l2rec, int band, float *Kd)
 
void nKd_lin (l2str *l2rec, int band, float *nKd)
 
void Kd_PAR_lee (l2str *l2rec, float *Kd)
 
void Kd_jamet (l2str *l2rec, int band, float *Kd)
 
void Kd_rhos (l2str *l2rec, float *Kd)
 
void get_Kd (l2str *l2rec, l2prodstr *p, float prod[])
 

Macro Definition Documentation

◆ KD_MAX

#define KD_MAX   6.4

Definition at line 11 of file get_Kd.c.

◆ KD_MIN

#define KD_MIN   0.016

Definition at line 12 of file get_Kd.c.

Function Documentation

◆ get_Kd()

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

Definition at line 981 of file get_Kd.c.

◆ Kd490_KD2()

void Kd490_KD2 ( l2str *  l2rec,
float *  Kd 
)

Definition at line 28 of file get_Kd.c.

◆ Kd490_morel()

void Kd490_morel ( l2str *  l2rec,
float *  Kd 
)

Definition at line 233 of file get_Kd.c.

◆ Kd490_mueller()

void Kd490_mueller ( l2str *  l2rec,
float  k490[] 
)

Definition at line 92 of file get_Kd.c.

◆ Kd490_obpg()

void Kd490_obpg ( l2str *  l2rec,
float  k490[] 
)

Definition at line 143 of file get_Kd.c.

◆ Kd532()

void Kd532 ( l2str *  l2rec,
int  flag,
float  k532[] 
)

Definition at line 405 of file get_Kd.c.

◆ Kd_jamet()

void Kd_jamet ( l2str *  l2rec,
int  band,
float *  Kd 
)

Definition at line 666 of file get_Kd.c.

◆ Kd_lee()

void Kd_lee ( l2str *  l2rec,
int  band,
float *  Kd 
)

spectral diffuse attenuation using Lee, et. (2005, 2016)

Parameters
l2rec[in]level-2 structure containing one complete scan after atmospheric correction.
ib[in]waveband number (0 - nbands-1) at which Kd computed.
Kd[out]diffuse attenuation at specified band, 1 value per pixel.

This produces the estimate of diffuse attenation at the given band using the satellite derived total absorption and backscattering (l2rec->a and l2rec->bb). The a and bb are controlled by the iopt_opt parameter. The reference papers below assume IOPQAA, iop_opt = 3.

Lee, Z.P., M. Darecki, K.L. Carder, C.O.Davis, D. Stramski, W.J. Rhea, "Diffuse Attenuation coefficient of downwelling irradiance: An evalution of remote sensing methods". (2005) JOURNAL OF GEOPHYSICAL RESEARCH, VOL. 110. https://doi.org/10.1029/2004JC002573

Zhongping Lee, Chuanmin Hu, Shaoling Shang, Keping Du, Marlon Lewis, Robert Arnone, and Robert Brewin, "Penetration of UV-visible solar radiation in the global oceans: Insights from ocean color remote sensing". (2013). JOURNAL OF GEOPHYSICAL RESEARCH: OCEANS, VOL. 118, 4241–4255 https://doi.org/10.1002/jgrc.20308

Author
P. Martinolich, NRL/Stennis, March 2005, 2018.

Definition at line 467 of file get_Kd.c.

◆ Kd_PAR_lee()

void Kd_PAR_lee ( l2str *  l2rec,
float *  Kd 
)

Definition at line 618 of file get_Kd.c.

◆ Kd_PAR_morel()

void Kd_PAR_morel ( l2str *  l2rec,
int  depth,
float *  Kd 
)

Definition at line 290 of file get_Kd.c.

◆ Kd_rhos()

void Kd_rhos ( l2str *  l2rec,
float *  Kd 
)

Definition at line 907 of file get_Kd.c.

◆ nKd_lin()

void nKd_lin ( l2str *  l2rec,
int  band,
float *  nKd 
)

Definition at line 540 of file get_Kd.c.

◆ Zhl_morel()

void Zhl_morel ( l2str *  l2rec,
float *  Zhl 
)

Definition at line 352 of file get_Kd.c.