| |
For each Orbit:
| Gets packets for the file time range
|
| Checks for files with data in the same time range. If other files are found, the packets are read in and combined with the original array. Old files are discarded. Filedb.status is set to -1. If the old file cannot be discarded, the version number is incremented.
|
| Writes FITS file: hsi_yyyymmdd_hhmm_nnn.fits
|
| Creates Observing Summary, appends file
|
| Calculates background, finds flares, creates Flare List, appends file
|
| Makes Qlook Spectra, appends file
|
| Makes Qlook Images, appends file
|
| Checks file size, if there are more than 40000 packets (40 Mb), splits into smaller files, with the appropriate catalog data appended to each.
|
| Fills database structure for those files, {hsi_filedb}
|
| Next Orbit
|
|