NASA Logo
Ocean Color Science Software

ocssw V2022
get_hyper_vi.cpp File Reference
#include "l12_proto.h"
#include "vegetation_indices.h"
Include dependency graph for get_hyper_vi.cpp:

Go to the source code of this file.

Functions

get_pri

Calculate the Photochemical Reflectance Index [Grace], J., Nichol, C., Disney, M., Lewis, P., Quaife, T., and Bowyer, P., Can we measure terrestrial photosynthesis from space directly, using spectral reflectance and fluorescence? Global Change Biology, 13(7), 1484-1497, https://doi.org/10.1111/j.1365-2486.2007.01352.x, (2007)

Parameters
l1recA level one file
priAn array into which the result of calculation will be stored
void get_pri (l1str *l1rec, float pri[])
 
get_cire

Calculate Chlorophyll Index Red Edge [Gitelson], A.A., ViƱa, A., Rundquist, D.C., Ciganda, V., Arkebauer, T.J., Remote Estimation of Canopy Chlorophyll Content in Crops, Geophysical Research Letters, 32(8), L08403, doi:10.1029/2005GL022688 (2005)

Parameters
l1recA level one file
cireAn array into which the result of calculation will be stored
void get_cire (l1str *l1rec, float cire[])
 
get_car

Calculate a chlorophyll-carotenoid index at 495 705 and 800 nm. [Gitelson], A.A., Zur, Y., Chivkunova, O.B., and Merzlyak, M.N., Assessing Carotenoid Content in Plant Leaves with Reflectance Spectroscopy, Photochemistry and Photobiology, 75(3), 272-281, https://doi.org/10.1562/0031-8655(2002)0750272ACCIPL2.0.CO2 (2002)

Parameters
l1recA level one file
carAn array into which the result of calculation will be stored
void get_car (l1str *l1rec, float car[])
 
get_ari

Calculate the Anthocyanin Reflectance Index [Gitelson], A.A., Merzlyak, M.N., and Chivkunova, O.B., Optical properties and non-destructive estimation of anthocyanin content in plant leaves, Photochemistry and Photobiology, 74(1), 38-45, https://doi.org/10.1562/0031-8655(2001)0740038OPANEO2.0.CO2 (2001)

Parameters
l1recA level one file
ariAn array into which the result of calculation will be stored
void get_ari (l1str *l1rec, float ari[])
 
get_hyper_vi(3) - Main entry point for getting hyperspectral vegetation indices

Takes in a level 1 file, product number/catalogue index, and an array in which the result will be stored.

Parameters
l1recA level one file.
product_numberA catalogue index indicating which hyperspectral VI the caller wants.
productThe array, passed by reference, in which the resultant product will be stored.
Returns
0 if successful, non-zero if unsuccessful.
int get_hyper_vi (l1str *l1rec, int product_number, float product[])
 

Function Documentation

◆ get_ari()

void get_ari ( l1str *  l1rec,
float  ari[] 
)

Definition at line 160 of file get_hyper_vi.cpp.

◆ get_car()

void get_car ( l1str *  l1rec,
float  car[] 
)

Definition at line 110 of file get_hyper_vi.cpp.

◆ get_cire()

void get_cire ( l1str *  l1rec,
float  cire[] 
)

Definition at line 64 of file get_hyper_vi.cpp.

◆ get_hyper_vi()

int get_hyper_vi ( l1str *  l1rec,
int  product_number,
float  product[] 
)

Definition at line 211 of file get_hyper_vi.cpp.

◆ get_pri()

void get_pri ( l1str *  l1rec,
float  pri[] 
)

Definition at line 20 of file get_hyper_vi.cpp.