GEOCON File Processing Routines
|
Data Fields | |
GEOCON_FILE_HDR | fhdr |
char | pathname [GEOCON_MAX_PATH_LEN] |
int | filetype |
GEOCON_BOOL | flip |
long | points_start |
int | line_count |
int | nrows |
int | ncols |
double | lat_min |
double | lat_max |
double | lon_min |
double | lon_max |
int | lat_dir |
int | lon_dir |
double | lat_delta |
double | lon_delta |
double | horz_scale |
double | vert_scale |
double | lat_min_ghost |
double | lat_max_ghost |
double | lon_min_ghost |
double | lon_max_ghost |
FILE * | fp |
void * | mutex |
GEOCON_POINT * | points |
GEOCON internal header
GEOCON_FILE_HDR GEOCON_HDR::fhdr |
Cached file header
int GEOCON_HDR::filetype |
File type (binary or ascii)
GEOCON_BOOL GEOCON_HDR::flip |
TRUE to byte-swap data
FILE* GEOCON_HDR::fp |
file stream
double GEOCON_HDR::horz_scale |
Horizontal units per degree
double GEOCON_HDR::lat_delta |
Latitude increment in degrees
int GEOCON_HDR::lat_dir |
Direction of lat values (S-N or N-S)
double GEOCON_HDR::lat_max |
North latitude of data in memory
double GEOCON_HDR::lat_max_ghost |
North latitude of plus 1 cell
double GEOCON_HDR::lat_min |
South latitude of data in memory
double GEOCON_HDR::lat_min_ghost |
South latitude of minus 1 cell
int GEOCON_HDR::line_count |
Line count when reading ascii file
double GEOCON_HDR::lon_delta |
Longitude increment in degrees
int GEOCON_HDR::lon_dir |
Direction of lon values (E-W or W-E)
double GEOCON_HDR::lon_max |
East longitude of data in memory
double GEOCON_HDR::lon_max_ghost |
East longitude of plus 1 cell
double GEOCON_HDR::lon_min |
West longitude of data in memory
double GEOCON_HDR::lon_min_ghost |
West longitude of minus 1 cell
void* GEOCON_HDR::mutex |
MUTEX for reading
int GEOCON_HDR::ncols |
Number of cols of data in memory
int GEOCON_HDR::nrows |
Number of rows of data in memory
char GEOCON_HDR::pathname[GEOCON_MAX_PATH_LEN] |
Cached pathname
GEOCON_POINT* GEOCON_HDR::points |
Array of (nrows x ncols) points
long GEOCON_HDR::points_start |
Offset to start of points in file
double GEOCON_HDR::vert_scale |
Vertical units per meter