IDS_GET_SERIES(3)



NAME

     ids_get_series      -    reads in a series of fits images



SYNOPSIS

          int ids_get_series(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 both the headers and the data from the the files,  and
     stores  them  as  a  list  of  SDSs  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(myids, fp, 100);  /* for a hundred files
     */




SEE ALSO

     ids_get_series_headers



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