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
  • #65

Closed
Open
Created Jul 17, 2020 by thopri@thopriMaintainer

PyNEMO crashes with mask==False but runs with mask==True

Created by: thopri

If bathymetry has a line of zeros in its outer edges then this currently causes PyNEMO to crash if mask==false is selected. PyNEMO in this instance will try and make its own mask using the bathymetry file. However zeros at the outer edge will make it think there is land along all boundaries resulting in it not being able to create the mask. However if a valid mask file is provided it will work as PyNEMO doesn't use the bathymetry in mask creation.

Initial fix will to be to add an try except so that this issue is caught and user is informed about problem rather having an opaque error. It is anticipated that functionality will be added so that PyNEMO can handle zeros in the outer edges of the bathymetry but for short term PyNEMO either needs a valid mask file or bathymetry values right up to the boundaries.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking