Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Orekit
Orekit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Orekit
  • OrekitOrekit
  • Issues
  • #731

Closed
Open
Opened Nov 05, 2020 by Luc Maisonobe@lucOwner

initial blanks in some gravity fields headers prevent loading them

Some gravity fields have extra blanks at the front of headers lines in ICGEM format. One example is IGGT_R1C model available from ICGEM catalog http://icgem.gfz-potsdam.de/tom_longtime. The header of this file reads:

begin_of_head ======================================================================================
 modelname              IGGT_R1C
 product_type           gravity_field
 earth_gravity_constant 0.3986004415E+15
 radius                 0.6378136460E+07
 max_degree             240
 norm                   fully_normalized
 tide_system            tide_free
 errors                 formal

key    L    M             C                   S                  sigma C              sigma S
end_of_head ========================================================================================

The single blank before the expected keywords modelname, product_type... Prevents proper parsing. The resulting error is serious as since the max degree has not been parsed, the arrays holding the coefficients have not been built and a NullPointerException is raised.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
10.3
Milestone
10.3
Assign milestone
Time tracking
None
Due date
None
Reference: orekit/orekit#731