Skip to content

Change default behaviour for FUTURE option: netcdf_no_unlimited #2835

@DPeterK

Description

@DPeterK

This involves completing the following work (list may not be complete):

  • set the default value of the FUTURE flag netcdf_no_unlimited to True in iris.Future.
  • raise an error iff a user sets a value for this FUTURE flag (that is, raise an error if the flag is set by the user, but don't raise the error when the default behaviour is set up by Iris).
  • delete the deprecated behaviour in iris.fileformats.netcdf.save and iris.fileformats.netcdf.Saver.write, and raise an exception if a user tries to set the FUTURE flag to False.
  • update tests (including removing tests for the deprecated behaviour that was removed)
  • add new tests for the updated behaviour of iris.fileformats.netcdf.save and iris.fileformats.netcdf.Saver.write (if necessary – this may have been done already in the previous point) and new tests for the exception raised if the FUTURE flag is set to False.
  • Add a deprecation directive to the description of netcdf_no_unlimited in the docstring for iris.Future.
  • Update all doc examples to use the new behaviour

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions