NTv2 File Processing Routines
|
Data Fields | |
char | record_name [NTV2_NAME_LEN+4] |
char | parent_name [NTV2_NAME_LEN+4] |
NTV2_REC * | parent |
NTV2_REC * | sub |
NTV2_REC * | next |
NTV2_BOOL | active |
int | num_subs |
int | rec_num |
int | num |
int | nrows |
int | ncols |
double | lat_min |
double | lat_max |
double | lat_inc |
double | lon_min |
double | lon_max |
double | lon_inc |
long | offset |
int | sskip |
int | nskip |
int | wskip |
int | eskip |
NTV2_SHIFT * | shifts |
NTV2_SHIFT * | accurs |
NTv2 sub-file record
This struct describes one sub-grid in the file. There may be many of these, and they may be (logically) nested, although they are all stored in an array in the order they appear in the file.
NTV2_SHIFT* NTV2_REC::accurs |
Lat/lon accuracies array
NTV2_BOOL NTV2_REC::active |
TRUE if this rec is used
int NTV2_REC::eskip |
Bytes to skip East
double NTV2_REC::lat_inc |
Latitude inc (degrees)
double NTV2_REC::lat_max |
Latitude max (degrees)
double NTV2_REC::lat_min |
Latitude min (degrees)
double NTV2_REC::lon_inc |
Longitude inc (degrees)
double NTV2_REC::lon_max |
Longitude max (degrees)
double NTV2_REC::lon_min |
Longitude min (degrees)
int NTV2_REC::ncols |
Number of columns
NTV2_REC* NTV2_REC::next |
Ptr to next sibling
int NTV2_REC::nrows |
Number of rows
int NTV2_REC::nskip |
Bytes to skip North
int NTV2_REC::num |
Number of records
int NTV2_REC::num_subs |
Number of child sub-files
long NTV2_REC::offset |
File offset of shifts
NTV2_REC* NTV2_REC::parent |
Ptr to parent or NULL
char NTV2_REC::parent_name[NTV2_NAME_LEN+4] |
Parent name or "NONE"
int NTV2_REC::rec_num |
Record number
char NTV2_REC::record_name[NTV2_NAME_LEN+4] |
Record name
NTV2_SHIFT* NTV2_REC::shifts |
Lat/lon grid-shift array
int NTV2_REC::sskip |
Bytes to skip South
NTV2_REC* NTV2_REC::sub |
Ptr to first sub-file
int NTV2_REC::wskip |
Bytes to skip West