NASA Logo
Ocean Color Science Software

ocssw V2022
terrain.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int get_nc_height (const char *demfile, float *lon, float *lat, float *senz, float *sena, float *height)
 
int get_dem_height (const char *demfile, float *lon, float *lat, float *senz, float *sena, float *height)
 
int interp_nc_height (const char *demfile, float *xlon, float *xlat, float *height)
 
int interp_dem_height (const char *demfile, float *xlon, float *xlat, float *height)
 

Function Documentation

◆ get_dem_height()

int get_dem_height ( const char *  demfile,
float *  lon,
float *  lat,
float *  senz,
float *  sena,
float *  height 
)

Definition at line 38 of file get_dem_height.c.

◆ get_nc_height()

int get_nc_height ( const char *  demfile,
float *  xlon,
float *  xlat,
float *  senz,
float *  sena,
float *  height 
)

Perform terrain correction; return DEM value

Parameters
[in,out]xlon,xlat
[in,out]senz
[in]sena
[out]height
Returns

Definition at line 583 of file get_nc_height.c.

◆ interp_dem_height()

int interp_dem_height ( const char *  demfile,
float *  xlon,
float *  xlat,
float *  height 
)

Definition at line 504 of file get_dem_height.c.

◆ interp_nc_height()

int interp_nc_height ( const char *  demfile,
float *  xlon,
float *  xlat,
float *  height 
)

Return DEM value obtained by interpolating between four nearest points.

Parameters
[in]xlon,xlat
[out]height
Returns

Definition at line 732 of file get_nc_height.c.