Skip to content

2.3.0

Compare
Choose a tag to compare
@joshua-hampton joshua-hampton released this 31 Oct 10:03
· 213 commits to main since this release
c23face

Release notes

This release adds the option to keep netCDF files open after creation. Previously, when calling create_netcdf.main, the netCDF file would be closed after it was made, meaning it then had to be opened again in append mode before data could be added. Now, the option has been added to keep the netCDF file open and return the open file from the function, saving the need to re-open the file. The previous method is still the default and is being deprecated, with the new method available using return_open=True in the create_netcdf.main, create_netcdf.make_netcdf, and create_netcdf.make_product_netcdf functions. The new method will be the default option in 2.4.0, and the old method removed from 2.5.0.

This led to the need for a deprecation policy, which has been added to the documentation, along with a revision history starting with 2.3.0; this may later be backfilled.

Other highlights include:

  • changing supported python versions from 3.7-3.11 to 3.8-3.12
  • raising errors (with option to warn instead) when trying to add invalid flag values to quality control variables
  • option to use locally saved tsv files

What's Changed

  • Changes and updates for 2.3 by @joshua-hampton in #107
    • use locally saved tsv files #91
    • error or warn if adding invalid QC flag data #103
    • keep netCDF file open after creation #104
    • bug fix that stopped empty QC variables being removed #105
    • changes to documentation including addition of new history and deprecation page #106

Full Changelog: 2.2.2...2.3.0