SDS_GET_FITS_HEADER(3)



NAME

     sds_get_fits_header

     - reads in just the header information from a file pointer


SYNOPSIS

     #include <soi_sds.h>

     int sds_get_fits_header(SDS *sdsptr, FILE *fp)



DESCRIPTION

     sds_get_fits_header

     read a fits header into an sds structure.  The file  pointer
     has  to  be at the beginning of the file for this routine to
     work.  It's best to use the routine sds_read_header.

     No data is read in by this routine.

     Returns an integer error code if  an  error  is  encountered
     reading   the   header   which   can  be  interpreted  using
     soi_error.h.


FILES

     ~soi/(release)/include/soi_sds.h
     ~soi/(release)/include/soi_error.h
     ~soi/(release)/src/libsds.d/sds_rfits.c



SEE ALSO

     sds_get_one_fits, sds_read_header




FEATURES and BUGS

     The file pointer has to be positioned at  the  beginning  of
     the file.



HISTORY

     93.10.12 K Scott:  created this file for SOI V.0.7
     1994-02-08          SOI Version 0.8