ocssw V2020
fluorescence.c File Reference
#include "l12_proto.h"
Include dependency graph for fluorescence.c:

Go to the source code of this file.

Macros

#define PARW1   400
 
#define PARW2   700
 
#define PARWN   (PARW2-PARW1)+1
 

Functions

void fsat_modis (l2str *l2rec, float flh[])
 
void flh_modis (l2str *l2rec, float flh[])
 
void fqy_modis (l2str *l2rec, float fqy[])
 
void get_fqy (l2str *l2rec, float fqy[])
 
void get_flh (l2str *l2rec, float flh[])
 
void get_fsat (l2str *l2rec, float flh[])
 

Macro Definition Documentation

◆ PARW1

#define PARW1   400

Minimum wavelength for PAR

Definition at line 16 of file fluorescence.c.

◆ PARW2

#define PARW2   700

Maximum wavelength for PAR

Definition at line 17 of file fluorescence.c.

◆ PARWN

#define PARWN   (PARW2-PARW1)+1

Number of wavelengths included in PAR

Definition at line 18 of file fluorescence.c.

Function Documentation

◆ flh_modis()

void flh_modis ( l2str *  l2rec,
float  flh[] 
)

flh_modis - computes fluorescence line height for MODIS computation based on Lw measurements

Deprecated:
Parameters
l2rec
flh

the flh algorithm requires nLw values from 667, 678 and 748nm

if the pixel is already masked, or any of the input Lw values are less than -0.01, set the PRODFAIL flag and move along

Lw,f (Behrenfeld et al.[2009] equation A2 and A3)

bias correction as per Behrenfeld et al. [2009]

Definition at line 107 of file fluorescence.c.

◆ fqy_modis()

void fqy_modis ( l2str *  l2rec,
float  fqy[] 
)

fqy_modis - function to return fluorescence quantum yield for the MODIS instrument internally calls the fsat_modis and get_ipar functions

Parameters
l2rec
fqy

Definition at line 188 of file fluorescence.c.

◆ fsat_modis()

void fsat_modis ( l2str *  l2rec,
float  flh[] 
)

flh_modis - computes normalized fluorescence line height for MODIS computation based on nLw measurements (thus the normalized moniker)

Parameters
l2rec
flh

the nflh algorithm requires nLw values from 667, 678 and 748nm

if the pixel is already masked, or any of the input nLw values are less than -0.01, set the PRODFAIL flag and move along

fsat (Behrenfeld et al.[2009] equation A2)

bias correction as per Behrenfeld et al.

Definition at line 35 of file fluorescence.c.

◆ get_flh()

void get_flh ( l2str *  l2rec,
float  flh[] 
)

get_flh - calls the appropriate flh function for the given mission

Parameters
l2rec
flh

Definition at line 269 of file fluorescence.c.

◆ get_fqy()

void get_fqy ( l2str *  l2rec,
float  fqy[] 
)

get_fqy - calls the appropriate fluorescense quantum yeild function for the given mission

Parameters
l2rec
fqy

Definition at line 251 of file fluorescence.c.

◆ get_fsat()

void get_fsat ( l2str *  l2rec,
float  flh[] 
)

get_fsat - calls the appropriate fsat function for the given mission "fsat" is the flh algorithm described in Behrenfeld 2009 (doi:10.5194/bg-6-779-2009)

Parameters
l2rec
flh

Definition at line 289 of file fluorescence.c.