OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
get_dem_height.c File Reference
#include "l12_proto.h"
Include dependency graph for get_dem_height.c:

Go to the source code of this file.

Macros

#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 (char *, int32 *)
 
int get_dem_height (char *demfile, float *xlon, float *xlat, float *senz, float *sena, float *height)
 
int interp_dem_height (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

◆ tile_ref

#define tile_ref (   a_1,
  a_2 
)    tile[(a_2)*tile_dim1 + a_1]

Definition at line 233 of file get_dem_height.c.

Function Documentation

◆ bilin()

float bilin ( float *  x,
float *  y,
int32 *  isize,
int16 *  tile,
int32 *  status 
)

Definition at line 235 of file get_dem_height.c.

◆ get_dem_height()

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

Definition at line 31 of file get_dem_height.c.

◆ initialize_dem()

int initialize_dem ( char *  demfile,
int32 *  tileid 
)

Definition at line 274 of file get_dem_height.c.

◆ interp_dem_height()

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

Definition at line 497 of file get_dem_height.c.

Variable Documentation

◆ dem

struct { ... } dem

◆ iflag

int16 iflag[18338]

Definition at line 21 of file get_dem_height.c.

◆ ihmax

int16 ihmax[18338]

Definition at line 23 of file get_dem_height.c.

◆ ihmin

int16 ihmin[18338]

Definition at line 22 of file get_dem_height.c.

◆ ioff

int32 ioff

Definition at line 17 of file get_dem_height.c.

◆ irecno

int16 irecno[18338]

Definition at line 20 of file get_dem_height.c.

◆ isize

int32 isize

Definition at line 15 of file get_dem_height.c.

◆ itsize

int32 itsize

Definition at line 16 of file get_dem_height.c.

◆ ncols

int16 ncols[121]

Definition at line 18 of file get_dem_height.c.

◆ neq

int32 neq

Definition at line 12 of file get_dem_height.c.

◆ nftiles

int32 nftiles

Definition at line 14 of file get_dem_height.c.

◆ nrows

int32 nrows

Definition at line 11 of file get_dem_height.c.

◆ nstart

int16 nstart[121]

Definition at line 19 of file get_dem_height.c.

◆ ntiles

int32 ntiles

Definition at line 13 of file get_dem_height.c.