Skip to content

Netcdf issues can be confusing #2770

Open
@dschwoerer

Description

@dschwoerer

If netcdf fails, it fails often with a generic error.
This is confusing for the user, as it can be, at least some of these issues:

  • File is not available (e.g. file only on login node, not on compute nodes)
  • File is not writable
  • File is locked
  • Path is wrong
  • Folder does not exist (if file is to be created)
  • No permissions to create file in folder

There are probably more, that I cannot think of right now.

It would be nice if

  1. BOUT++ could check which of those issues is the case
  2. BOUT++ could link to some documentation that lists common issues, and how to resolve them.

Obviously 1 would be nicer, but 2 would also be a good start.
Might be worth to push this issue upstream, to throw nicer errors?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions