Bug #361

CCSDS OEMParser IAE for frame "ITRF2008"

Added by Evan Ward 3 months ago. Updated 15 days ago.

Status:ResolvedStart date:2017-09-06
Priority:NormalDue date:
Assignee:Evan Ward% 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

Associated revisions

Revision 255be31c
Added by Evan Ward 15 days ago

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

History

#1 Updated by Evan Ward 15 days ago

  • Assignee set to Evan Ward

#2 Updated by Evan Ward 15 days ago

  • Status changed from New to Resolved

Also available in: Atom PDF