IDS_GET_SERIES_HEADERS(3)



NAME

     ids_get_series_headers   -    reads in  a  series  of  image
     headers



SYNOPSIS

          int ids_get_series_headers(IDS *ids,  FILE  *fp[],  int
     numFiles);



DESCRIPTION

     This function takes in an ids that has been previously  ini-
     tialized  by  ids_init  and  an  array of file pointers.  It
     reads ONLY the headers and stores them as  a  list  of  SDSs
     (without  the  data)  in  the ids.  If the ids already has a
     list of SDSs, it will append the new list to the end of  the
     existing list.



KEYWORDS


RETURN VALUES

     Returns -1 on error, zero otherwise.



EXAMPLES

          IDS *myids;
          FILE *fp[100];      .       .       .
          myids = ids_init();
          ids_get_series_headers(myids, fp, 100);  /* for a  hun-
     dred files */




SEE ALSO

     ids_get_series, ids_slice_series_file



WARNINGS

     It can be very slow reading huge chunks of data.



FILES


BUGS

     None



RESTRICTIONS

     None



PLANNED IMPROVEMENTS

     None


REFERENCES

     None



VERSION

     1994-02-24     Lup Ng    SOI Version 0.8