<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[17] | character*16 | char |
This routine will convert between numeric types (all but GSD type char). That is to say, the calling routine can request, say, an integer value by calling gsdGet0i, even if the item in the GSD file has a different numeric type, say real. C casting rules are applied, which may differ from Fortran truncation rules. No test for conversion errors is performed.
The Global Section Datafile (GSD) access library