Skip to content

Releases: NCAS-CMS/cf-python

3.11.0

24 Nov 11:55

Choose a tag to compare

2021-10-08

  • Python 3.6 support removed (#208)
  • Conversion of cf.Domain to a non-abstract that may be read from and written to a netCDF dataset (#220)
  • New method: cf.Domain.creation_commands
  • New method: cf.Domain.climatological_time_axes
  • New method: cf.AuxiliaryCoordinate.del_climatology
  • New method: cf.AuxiliaryCoordinate.get_climatology
  • New method: cf.AuxiliaryCoordinate.is_climatology
  • New method: cf.AuxiliaryCoordinate.set_climatology
  • New method: cf.DimensionCoordinate.del_climatology
  • New method: cf.DimensionCoordinate.get_climatology
  • New method: cf.DimensionCoordinate.is_climatology
  • New method: cf.DimensionCoordinate.set_climatology
  • New function: cf.unique_constructs
  • New function: cf.example_fields (#220)
  • New keyword parameter to cf.read: cdl_string (#171)
  • Improved verbose information output from cf.aggregate (#228)
  • Fix bug that causes a failure in cf.aggregate when otherwise aggregatable fields have non-valid units (#229)
  • Fix for cf.aggregate failures when a datum or coordinate conversion parameter has an array value (#230)
  • Allow for regridding using a destination field featuring size 1 dimension(s) (#250)
  • Fix bug that sometimes caused cf.Field.autocyclic to fail when setting a construct that is cyclic and has a defined period (#237)
  • Changed dependency: 1.9.0.0<=cfdm<1.9.1.0

3.10.0

10 Jun 16:06

Choose a tag to compare

2021-06-10

  • Improve performance by allowing a saved RegridOperator instance to define the regrid operator in cf.Field.regridc and cf.Field.regrids (#222)
  • Fix for incorrectly formatted logging.info statement sometimes causing a hang in cf.Field.collapse (#217)

3.9.0

25 May 07:02

Choose a tag to compare

2021-05-25

  • Construct access API changes (#201, #202, #203, #204)
  • Performance enhancements (#201, #202)
  • New write mode mode='a' for appending to, rather than over-writing, a netCDF file on disk (#30)
  • Temporarily removed the experimental ability to parallelize the collapse operation with MPI (#207)
  • Improved docstrings
  • Fix for unlimited dimensions read from a netCDF4 sub-group having zero size (NCAS-CMS/cfdm#113)
  • Fixes for changes in behaviour in cftime==1.4.0 (#184)
  • Better error message in the case of a numpy.ma.core.MaskError occurring upon reading of CDL files with only header or coordinate information (#197)
  • Changed dependency: 1.8.9.0<=cfdm<1.8.10.0
  • Changed dependency: cftime>=1.5.0
  • Changed dependency: cfunits>=3.3.3
  • Changed dependency: netCDF4>=1.5.4

3.8.0

24 May 14:52

Choose a tag to compare

2020-12-18

  • The setting of global constants can now be controlled by a context manager (#154)
  • Changed the behaviour of binary operations for constructs that have bounds (#146)
  • Changed the behaviour of unary operations for constructs that have bounds (#147)
  • New function: cf.bounds_combination_mode (#146)
  • New method: cf.Field.compute_vertical_coordinates (#142)
  • Fixed bug that prevented the verbosity from changing to any value specified as a verbose keyword parameter to cf.aggregate (only).
  • Fixed bug that caused a failure when writing a dataset that contains a scalar domain ancillary construct (#152)
  • Fixed bug that prevented aggregation of fields with external cell measures (#150 (comment))
  • Fixed bug that caused rows full of zeros to appear in WGDOS packed UM data that contain masked points (#161)
  • Changed dependency: 1.8.8.0<=cfdm<1.8.9.0
  • Changed dependency: cftime>=1.3.0
  • Changed dependency: cfunits>=3.3.1