odffix can be used with any set of correctly named ODF components to generate some of the ODF files usually unavailable when simulating data (because scisim does not have the required satellite data, for instance) but required to make use of the SAS calibration and ODF access layers. odffix also generates the ODF summary file.
odffix can only handle one ODF at a time. This means that all the ODF components must have names starting with the same revolution and proposal identifier (RRRR_PPPPPPOOLL, in the language of the ODF interface control document [1]). If components from several ODFs are found, only those from the first ODF found are used. A warning is issued, and the extraneous components are ignored.
In the current implementation odffix creates the following auxiliary ODF components:
The time correlation file contains 2 entries, one second apart. No delay is introduced between earth received time and on-board time.
The attitude history file. Fixed pointing. It is possible to set the right ascension, declination, and position angle of the observation via the parameters ra, dec, and posangle.
Note the attitude history file is generated only if it does not exist already. If one such file exists, odffix assumes that it was created by scisim. A warning is issued, to indicate a possible problem.
If the attitude history file exists, odffix will extract the pointing information from it if findnominalpointing is true. This is now the default mode of operation. odffix assumes that the nominal pointing coordinates are those contained in the first record of the attitude history file.
This file contains two columns, PARAM44 and PARAM48.
If the file exists, it is not re-created. Rather, a warning is issued. This is needed to cope with the export of ODF-like files from the SOC PMS system.
If the file exists, it is not re-created. Rather, a warning is issued. This is needed to cope with the export of ODF-like files from the SOC PMS system.
This is an empty data file. When the OAL detects an empty orbit file, it simulates orbit data.