Bug #361

CCSDS OEMParser IAE for frame "ITRF2008"

Added by Evan Ward 14 days ago.

Status:NewStart date:2017-09-06
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

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.

    @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));
    }

OEMExample7.txt Magnifier (590 Bytes) Evan Ward, 2017-09-06 21:26

Also available in: Atom PDF