OB.DAAC Logo
NASA Logo
Ocean Color Science Software

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

Go to the source code of this file.

Classes

struct  _context
 

Macros

#define MINWVDIFF   10
 
#define REFWVL   443
 

Functions

float conv_rrs_to_555 (float Rrs, float wave)
 
void grabBricaud (float wvl[], int nwvl, float *a_bricaud, float *b_bricaud)
 
void grabAwBw (float wvl[], int nwvl, float aw[], float bw[])
 
void calcQAA443 (float ab_surf_rrs[], float wvl[], int nwvl, ccstr *ctxt)
 
float invDistInterp (ccstr *ctxt, float xout)
 
void idInputBand (float inputWvl[], float targetWvl, ccstr *ctxt, int nin)
 
void shiftBand (float inputWvl[], float inputRrs[], float chla, int numBands, float tarWvl, ccstr *ctxt)
 
void deMalloc (ccstr *ctxt)
 
float bioBandShift (float wvl[], float rrs[], float chla, int nw, float tarWvl)
 

Macro Definition Documentation

◆ MINWVDIFF

#define MINWVDIFF   10

Definition at line 5 of file convert_band.c.

◆ REFWVL

#define REFWVL   443

Definition at line 6 of file convert_band.c.

Function Documentation

◆ bioBandShift()

float bioBandShift ( float  wvl[],
float  rrs[],
float  chla,
int  nw,
float  tarWvl 
)

Definition at line 366 of file convert_band.c.

◆ calcQAA443()

void calcQAA443 ( float  ab_surf_rrs[],
float  wvl[],
int  nwvl,
ccstr *  ctxt 
)

Definition at line 165 of file convert_band.c.

◆ conv_rrs_to_555()

float conv_rrs_to_555 ( float  Rrs,
float  wave 
)

Definition at line 17 of file convert_band.c.

◆ deMalloc()

void deMalloc ( ccstr *  ctxt)

Definition at line 347 of file convert_band.c.

◆ grabAwBw()

void grabAwBw ( float  wvl[],
int  nwvl,
float  aw[],
float  bw[] 
)

Definition at line 121 of file convert_band.c.

◆ grabBricaud()

void grabBricaud ( float  wvl[],
int  nwvl,
float *  a_bricaud,
float *  b_bricaud 
)

Definition at line 85 of file convert_band.c.

◆ idInputBand()

void idInputBand ( float  inputWvl[],
float  targetWvl,
ccstr *  ctxt,
int  nin 
)

Definition at line 252 of file convert_band.c.

◆ invDistInterp()

float invDistInterp ( ccstr *  ctxt,
float  xout 
)

Definition at line 231 of file convert_band.c.

◆ shiftBand()

void shiftBand ( float  inputWvl[],
float  inputRrs[],
float  chla,
int  numBands,
float  tarWvl,
ccstr *  ctxt 
)

Definition at line 290 of file convert_band.c.