NASA Logo
Ocean Color Science Software

ocssw V2022
terrain.h
Go to the documentation of this file.
1 #ifndef TERRAIN_H
2 #define TERRAIN_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 /* Terrain correction function prototypes */
9 int get_nc_height(
10  const char *demfile,
11  float *lon, float *lat,
12  float *senz, float *sena,
13  float *height);
14 int get_dem_height(
15  const char *demfile,
16  float *lon, float *lat,
17  float *senz, float *sena,
18  float *height);
19 /* DEM interpolation function prototypes */
20 int interp_nc_height(const char* demfile, float *xlon, float *xlat, float *height);
21 int interp_dem_height(const char* demfile, float *xlon, float *xlat, float *height);
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif // TERRAIN_H
int get_dem_height(const char *demfile, float *lon, float *lat, float *senz, float *sena, float *height)
float xlon[LAC_PIXEL_NUM]
Definition: l1a_seawifs.c:93
int interp_nc_height(const char *demfile, float *xlon, float *xlat, float *height)
int get_nc_height(const char *demfile, float *lon, float *lat, float *senz, float *sena, float *height)
int interp_dem_height(const char *demfile, float *xlon, float *xlat, float *height)