CCSDS OEMParser IAE for frame "ITRF2008"
Currently OEMParser throws an IAE when the REF_FRAME is ITRF2008. ITRF2008 is not in Annex A of the standard, but Table 5-3 (page 5-5) provides an example for including versions of ITRF published after the OEM standard as "ITRFxxxx", where xxxx is the four digit year. Orekit should be able to parse at least ITRF2008 since that is the frame returned by FramesFactory.getITRF(...). I've attached an example and a test case.
```java
@Test
public void testITRF2008Frame() throws OrekitException {
// setup
InputStream input =
OEMParserTest.class.getResourceAsStream("/ccsds/OEMExample7.txt");
// action
OEMFile actual = new OEMParser().parse(input);
// verify
EphemeridesBlock actualBlock = actual.getEphemeridesBlocks().get(0);
Assert.assertEquals(actualBlock.getFrameString(), "ITRF2008");
Assert.assertEquals(actualBlock.getFrame(),
FramesFactory.getITRF(IERSConventions.IERS_2010, true));
}
```
(from redmine: issue id 361, created on 2017-09-06, closed on 2017-11-25)
- Changesets:
- Revision 255be31c by Evan Ward on 2017-11-08T20:37:22Z:
Add ITRF2005 and ITRF2008 frames to OEMParser
Added the ITRF2005 and 2008 frames to CCSDSFrame following the pattern there for
existing ITRF frames. Also added a test case and a change log entry.
Fixes #361
- Revision 255be31c by Evan Ward on 2017-11-08T20:37:22Z:
Add ITRF2005 and ITRF2008 frames to OEMParser
Added the ITRF2005 and 2008 frames to CCSDSFrame following the pattern there for
existing ITRF frames. Also added a test case and a change log entry.
Fixes #361
- Revision 255be31c by Evan Ward on 2017-11-08T20:37:22Z:
Add ITRF2005 and ITRF2008 frames to OEMParser
Added the ITRF2005 and 2008 frames to CCSDSFrame following the pattern there for
existing ITRF frames. Also added a test case and a change log entry.
Fixes #361
- Uploads: