ocssw
V2022
|
get_ndvi.c
Go to the documentation of this file.
102 (instrument_is_hyperspectral(num_bands) && (idx_red_min < 0 || idx_red_max < 0 || idx_nir_min < 0 ||
223 (instrument_is_hyperspectral(num_bands) && (idx_red_min < 0 || idx_red_max < 0 || idx_nir_min < 0 ||
void red(int iz1, int iz2, int jz1, int jz2, int jm1, int jm2, int jmf, int ic1, int jc1, int jcf, int kc, float ***c, float **s)
float average_rhos_values(float rhos_values[], size_t length)
Get the average of rho_s values from a hyperspectral measurement to approximate a multi-band measurem...
Definition: vegetation_indices.c:27
void get_ndvi(l1str *l1rec, float ndvi[])
Calculate Normalized Difference Vegetation Index CAT_ix 32.
Definition: get_ndvi.c:46
void get_evi(l1str *l1rec, float evi[])
Calculate Enhanced Vegetation Index CAT_ix 38.
Definition: get_ndvi.c:91
void get_ndvi_evi(l1str *l1rec, int prodnum, float prod[])
Main entry point for getting NDVI/EVI producs.
Definition: get_ndvi.c:269
bool invalid_pixel(double pixel_elevation, double pixel_mask, double rhos_values[], int len_rhos_values)
Check pixel attributes for validity.
Definition: vegetation_indices.c:35
a context in which it is NOT documented to do so subscript which cannot be easily calculated when extracting TONS attitude data from the Terra L0 files Corrected several defects in extraction of entrained ephemeris and and as HDF file for both the L1A and Geolocation enabling retrieval of South Polar DEM data Resolved Bug by changing to opent the geolocation file only after a successful read of the L1A and also by checking for fatal errors from not restoring C5 and to report how many of those high resolution values were water in the new WaterPresent SDS Added valid_range attribute to Land SeaMask Changed to bilinearly interpolate the geoid_height to remove artifacts at one degree lines Made corrections to const qualification of pointers allowed by new version of M API library Removed casts that are no longer for same not the geoid Corrected off by one error in calculation of high resolution offsets Corrected parsing of maneuver list configuration parameter Corrected to set Height SDS to fill values when geolocation when for elevation and land water mask
Definition: HISTORY.txt:114
bool instrument_is_hyperspectral(int32_t num_bands)
Definition: vegetation_indices.c:53
void get_evi3(l1str *l1rec, float evi3[])
Calculate Enhanced Vegetation Index - EVI3 CAT_ix 64.
Definition: get_ndvi.c:212
float clamp(float pixel_value, int minimum, int maximum)
Clamp the value of a pixel between minval and maxval.
Definition: vegetation_indices.c:49
void get_evi2(l1str *l1rec, float evi2[])
Calculate Enhanced Vegetation Index - EVI2 CAT_ix 63.
Definition: get_ndvi.c:164