Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Orekit Orekit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 92
    • Issues 92
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Orekit
  • OrekitOrekit
  • Merge requests
  • !306

Fix Issue #938: Added the enhancement - fully parsing of CRD

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Li Rongwang requested to merge lirw19841/orekit:issue-938 into develop Oct 10, 2022
  • Overview 6
  • Commits 9
  • Pipelines 11
  • Changes 7

Summary of changes (CRD.java, CRDConfiguration.java, CRDHeader.java, CRDParser.java, and CRDParserTest.java):

  1. Two classes are added, NptRangeMeasurement and FrRangeMeasurement, which extend from RangeMeasurement.
  2. The configuration records are stored as a Map in the class CRDConfiguration, and the system configuration records are also store in a list, to support 2-color range system.
  3. Comment lines can occur anywhere within a file, especially the begining of the file.
  4. Handle 'na'. The literal “na” is used instead of “-1” for fields that are not applicable or not avaiable.
  5. The configuration records can occur after H2 or H3, not only H4, for the case of many targets and single system configuration.
  6. Add a method toCrdString() to all configuration records and data records.
  7. Add getH1CrdString(), getH2CrdString(), getH3CrdString(), getH4CrdString(), to the class CRDHeader, so that a crd file can be reproduced.

Added unittest testIssue938() in the class CRDParserTest to check if it is working correctly.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: issue-938