Fix writing of ITRF frame before 2000 in CCSDS files
Using the ITRF 1993 frame example, when writing the REF_FRAME
entry in a CCSDS file, Orekit writes ITRF1993
instead of ITRF-93
. This issue is valid for all ITRF frames before 2000. The issue could be fixed by adding a getName()
method in the CelestialBodyFrame
enumerate.
A file to reproduce the problem: OEMExample9.txt
The test to add in OemWriterTest
class:
@Test
public void testWriteExample9() {
doTest("/ccsds/odm/oem/OEMExample9.txt");
}
Edited by Bryan Cazabonne