Next: Perl interface
Up: The Global Section Datafile (GSD) access library
Previous: C interface
A Fortran interface is provided that uses the original names of the
subroutines rather than C function names. For example, the C routine
gsdOpenRead should be called from Fortran as gsd_open_read.
The Fortran binding is incomplete (only covering the supplied C routines) and
existing Fortran code may have to be changed before this library can be
used. An example routine (gsd_print.f) is provided to demonstrate
the interface. Additional changes:
- The Fortran include file is now called GSD_PAR to fit in with
the Starlink naming convention (as opposed to GSDPARS in the original
VAX library).
- GSD_PAR is incomplete. Prior inclusion of PRM_PAR
is required before GSD_PAR can be included.
- Error status values have changed. Zero is good status, non-zero is
bad status, but no particular status value can be expected.
- gsd_inquire_array is not implemented. Instead
gsd_inq_size must be used, although it was previously labelled
``obsolete''.
Next: Perl interface
Up: The Global Section Datafile (GSD) access library
Previous: C interface
The Global Section Datafile (GSD) access library
Starlink User Note 229
Tim Jenness, Remo Tilanus,
Horst Meyerdierks, Jon Fairclough
16 December 1999
E-mail:ussc@star.rl.ac.uk