<t> | <type> | Fortran | GSD |
b | char | byte | byte |
l | char | logical*1 | logical |
w | short | integer*2 | word |
i | int | integer*4 | integer |
r | float | real*4 | real |
d | double | real*8 | double |
c | char[16] | character*16 | char |
This routine does not convert between types. If the type of the GSD item does not match the type of the routine, then it returns with an error.
It is possible to get only part of the array. Although the part can be specified in terms of an N-dimensional array, this routine does not take a proper N-D section of the array. The caller can specify the start pixel in N dimensions and the end pixel in N dimensions. These two pixels will be converted to memory locations and all memory between the two is returned. This emulates the old GSD library. It is useful really only for parts of 1-D arrays, parts of rows, or single pixels.
The Global Section Datafile (GSD) access library