Each file is recorded as an entry in the filedb structure. This is written into a FITS file, which is opened and read and rewritten for every ground station contact. The database file for all level 0 data will be distributed as part of the software.
Contents:
version = A version number
file_id = file name
orbit_start = Orbit number (from GDS) at start of the file
orbit_end = Orbit number (from GDS) at end of the file
start_time = data start time
end_time = data end time
status_flag = set to -1 if the file has been discarded, and the packets are contained in another file, set to 0 if the file exists