Skip to content

Common agreement on loading CF non-compliant NetCDF files #5165

Open
@trexfeathers

Description

@trexfeathers

Iris needs a public statement on how it handles NetCDF files that deviate from the CF conventions. This will serve multiple benefits:

  • More certainty when discussing if/how Iris should load a particular file.
  • Clearer direction when developing the codebase.
  • Set user expectations.

Writing this statement will involve making some difficult decisions. A working group is tackling this now: @tkknight, @bjlittle, @lbdreyer, @pp-mo, @trexfeathers, @stephenworsley, @ESadek-MO, @scottrobinson02, @HGWright

Factors at play

  • More CF compliance means smoother collaboration between institutions, and Iris can play a part in raising awareness.
  • CF evolves over time, so may develop 'opinions' on things that previously didn't matter and invalidate older files.
  • The available tooling can make it difficult to address non-compliances in a file.
  • UX - being strict/verbose about CF compliance makes the user experience more awkward.
  • Iris has a place in the scientific Python community - people choose Iris / Xarray / raw netCDF4 / something else / for different purposes, and CF handling plays a part in that.
  • Continuing to work in the face of CF non-compliances could need more defensive code.

Items affected

(please edit if you know of others)

### Tasks
- [ ] https://github.com/SciTools/iris/issues/5068
- [ ] https://github.com/SciTools/iris/issues/5119

Metadata

Metadata

Type

No type

Projects

Status

No status

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions