ocssw
V2022
|
#include <stdio.h>
#include <math.h>
#include <hdfi.h>
#include <mfhdf.h>
#include <genutils.h>
#include "terrain.h"
Go to the source code of this file.
Macros | |
#define | RADEG 57.29577951 |
#define | tile_ref(a_1, a_2) tile[(a_2)*tile_dim1 + a_1] |
Functions | |
float | bilin (float *, float *, int32 *, int16 *, int32 *) |
int | initialize_dem (const char *, int32 *) |
int | get_dem_height (const char *demfile, float *xlon, float *xlat, float *senz, float *sena, float *height) |
int | interp_dem_height (const char *demfile, float *xlon, float *xlat, float *height) |
Variables | |
struct { | |
int32 nrows | |
int32 neq | |
int32 ntiles | |
int32 nftiles | |
int32 isize | |
int32 itsize | |
int32 ioff | |
int16 ncols [121] | |
int16 nstart [121] | |
int16 irecno [18338] | |
int16 iflag [18338] | |
int16 ihmin [18338] | |
int16 ihmax [18338] | |
} | dem |
Macro Definition Documentation
◆ RADEG
#define RADEG 57.29577951 |
Definition at line 8 of file get_dem_height.c.
◆ tile_ref
#define tile_ref | ( | a_1, | |
a_2 | |||
) | tile[(a_2)*tile_dim1 + a_1] |
Definition at line 240 of file get_dem_height.c.
Function Documentation
◆ bilin()
float bilin | ( | float * | x, |
float * | y, | ||
int32 * | isize, | ||
int16 * | tile, | ||
int32 * | status | ||
) |
Definition at line 242 of file get_dem_height.c.
◆ get_dem_height()
int get_dem_height | ( | const char * | demfile, |
float * | xlon, | ||
float * | xlat, | ||
float * | senz, | ||
float * | sena, | ||
float * | height | ||
) |
Definition at line 38 of file get_dem_height.c.
◆ initialize_dem()
int initialize_dem | ( | const char * | demfile, |
int32 * | tileid | ||
) |
Definition at line 281 of file get_dem_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.
Variable Documentation
◆ dem
struct { ... } dem |
◆ iflag
int16 iflag[18338] |
Definition at line 28 of file get_dem_height.c.
◆ ihmax
int16 ihmax[18338] |
Definition at line 30 of file get_dem_height.c.
◆ ihmin
int16 ihmin[18338] |
Definition at line 29 of file get_dem_height.c.
◆ ioff
int32 ioff |
Definition at line 24 of file get_dem_height.c.
◆ irecno
int16 irecno[18338] |
Definition at line 27 of file get_dem_height.c.
◆ isize
int32 isize |
Definition at line 22 of file get_dem_height.c.
◆ itsize
int32 itsize |
Definition at line 23 of file get_dem_height.c.
◆ ncols
int16 ncols[121] |
Definition at line 25 of file get_dem_height.c.
◆ neq
int32 neq |
Definition at line 19 of file get_dem_height.c.
◆ nftiles
int32 nftiles |
Definition at line 21 of file get_dem_height.c.
◆ nrows
int32 nrows |
Definition at line 18 of file get_dem_height.c.
◆ nstart
int16 nstart[121] |
Definition at line 26 of file get_dem_height.c.
◆ ntiles
int32 ntiles |
Definition at line 20 of file get_dem_height.c.