Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P PyNEMO
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • thopri
  • PyNEMO
  • Issues
  • #36

Closed
Open
Created Dec 06, 2019 by thopri@thopriMaintainer

Using NCML reader with short netcdf variables (enhanced = 'none')

Created by: thopri

Issue with reading ncml file comprising of CMEMS data, if the underlying netcdf has short variables. This results in a int array being passed and PyNEMO crashing.

It is unclear if PyJinius and java are reading in enhanced mode, this is documented as being enabled by default and should be able to read the short variable format automatically (use scale factor, offset etc).

This can be explicitly defined in the ncml file, but the fix for the moment is to explicitly define the array as float when it is converted from JavaArray to numpy array. (NCML.py line 229)

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking