Change log¶
Version 1.12.3.1¶
2025-10-15
Python 3.9 support removed (https://github.com/NCAS-CMS/cfdm/issues/353)
When changing array data type, retain cached data elements cast to the new type (https://github.com/NCAS-CMS/cfdm/issues/358)
Fix bug that prevented
cfdm.readfrom reading a file with#characters in its file name (https://github.com/NCAS-CMS/cfdm/issues/356)Changed dependency:
Python>=3.10.0
Version 1.12.3.0¶
2025-08-18
Fix
cfdm.Data.reshapewhen the underlying data originate on disk (https://github.com/NCAS-CMS/cfdm/issues/348)New keyword parameter to
cfdm.Field.dump:data(https://github.com/NCAS-CMS/cfdm/issues/345)New dependency:
distributed>=2025.5.1
Version 1.12.2.0¶
2025-06-05
Implement lossy compression via quantization (https://github.com/NCAS-CMS/cfdm/issues/330)
New quantization classes:
cfdm.Quantization,cfdm.mixin.QuantizationMixin(https://github.com/NCAS-CMS/cfdm/issues/330)New quantization methods:
cfdm.Field.get_quantization,cfdm.Field.get_quantize_on_write,cfdm.Field.set_quantize_on_write,cfdm.Field.del_quantize_on_write(https://github.com/NCAS-CMS/cfdm/issues/330)Improve performance in
cfdm.readby caching any array values retrieved from disk (https://github.com/NCAS-CMS/cfdm/issues/313)New keyword parameter to
cfdm.write:chunk_cache(https://github.com/NCAS-CMS/cfdm/issues/328)Read Zarr datasets with
cfdm.read(https://github.com/NCAS-CMS/cfdm/issues/335)Read multiple datasets simultaneously with
cfdm.read(https://github.com/NCAS-CMS/cfdm/issues/336)New keyword parameters to
cfdm.read:recursive,followlinks(https://github.com/NCAS-CMS/cfdm/issues/336)New keyword parameters to
cfdm.read:cdl_string(https://github.com/NCAS-CMS/cfdm/issues/337)Update CF aggregation keywords (https://github.com/NCAS-CMS/cfdm/issues/341)
Set new minimum version of
dask:2025.5.1(https://github.com/NCAS-CMS/cfdm/issues/339)New dependency:
zarr>=3.0.8Changed dependency:
dask>=2025.5.1
Version 1.12.1.0¶
2025-04-01
Set new method
cfdm.Array.astype(https://github.com/NCAS-CMS/cfdm/issues/331)Set new maximum version of
dask:2025.3.0(https://github.com/NCAS-CMS/cfdm/issues/332)Changed dependency:
dask>=2025.2.0,<=2025.3.0
Version 1.12.0.0¶
2025-03-18
Set new minimum version of
dask:2025.2.0(https://github.com/NCAS-CMS/cfdm/issues/321)Set new minimum version of
numpy:2.0.0(https://github.com/NCAS-CMS/cfdm/issues/318)Introduction of reading and writing of aggregation datasets (for CF-1.13) (https://github.com/NCAS-CMS/cfdm/issues/319)
Changed dependency:
Python>=3.9.0Changed dependency:
numpy>=2.0.0Changed dependency:
netCDF4>=1.7.2Changed dependency:
cftime>=1.6.4Changed dependency:
dask>=2025.2.0
Version 1.11.2.1¶
2025-02-26
Re-introduction of
cfdm.Data.datetime_as_string(https://github.com/NCAS-CMS/cfdm/pull/324)
Version 1.11.2.0¶
2025-01-28
Introduction of
daskfor all data manipulations (https://github.com/NCAS-CMS/cfdm/issues/317)Fix bug that returned incorrect results when an invalid identifier is provided to
cf.Field.cell_methods(https://github.com/NCAS-CMS/cfdm/issues/299)Upgrades to allow cfdm to work with Python 3.12 (https://github.com/NCAS-CMS/cfdm/issues/302)
Extension to the HDF5 chunks API (https://github.com/NCAS-CMS/cfdm/issues/309)
New function
cfdm.netcdf_flattenerthat replaces the import ofnetcdf_flattener(https://github.com/NCAS-CMS/cfdm/issues/286)New function
cfdm.netcdf_indexerthat applies netCDF masking and unpacking to arbitrary arrays (https://github.com/NCAS-CMS/cfdm/issues/285)Allow access to netCDF-4 files in S3 object stores (https://github.com/NCAS-CMS/cfdm/issues/285)
Allow a choice of netCDF engines (https://github.com/NCAS-CMS/cfdm/issues/285)
Fix bug that caused
cfdm.writeto fail when a parametric Z dimension coordinate did not have acomputed_standard_nameattribute (https://github.com/NCAS-CMS/cfdm/issues/303)Fix bug that caused
cfdm.readto fail to read at all datasets including variables with badly-encoded UGRID meshes (https://github.com/NCAS-CMS/cfdm/issues/315)New class
cfdm.H5netcdfArrayNew class
cfdm.NetCDF4ArrayNew dependency:
h5netcdf>=1.3.0New dependency:
h5py>=3.12.1New dependency:
s3fs>=2024.6.0New dependency:
dask>=2024.6.0,<=2024.7.1New dependency:
uritools>=4.0.3New dependency:
cfunits>=3.3.7New dependency:
udunits2>=2.2.28Removed dependency(now incorporated into
cfdm):netcdf_flattener
Version 1.11.1.0¶
2024-03-01
New keyword parameter to
cfdm.Field.insert_dimension:constructs(https://github.com/NCAS-CMS/cfdm/issues/287)New example field
11: discrete sampling geometry trajectory features (https://github.com/NCAS-CMS/cfdm/issues/289)
Version 1.11.0.0¶
2023-12-06
Python 3.7 support removed (https://github.com/NCAS-CMS/cfdm/issues/274)
Implemented the reading and manipulation of UGRID mesh topologies for CF-1.11 (https://github.com/NCAS-CMS/cfdm/issues/270)
New methods:
cfdm.Field.cell_connectivity,cfdm.Field.cell_connectivitiesNew methods:
cfdm.Field.domain_topology,cfdm.Field.domain_topologiesNew methods:
cfdm.Field.del_mesh_id,cfdm.Field.get_mesh_id,cfdm.Field.has_mesh_id,cfdm.Field.set_mesh_id,New attribute:
cfdm.Data.sparse_arrayNew dependency:
scipy>=1.10.0
Version 1.10.1.2¶
2023-08-31
Fix bug that prevented “https://” netCDF files from being read (https://github.com/NCAS-CMS/cfdm/issues/268)
Version 1.10.1.1¶
2023-07-21
Fix bug that caused very slow reads of datasets with compression by gathering or DSG ragged arrays (https://github.com/NCAS-CMS/cfdm/issues/260)
Fix bug that prevented
cfdm.readfrom accessing remote files in URL locations (https://github.com/NCAS-CMS/cfdm/issues/262)
Version 1.10.1.0¶
2023-04-26
New method:
cfdm.Data.get_dataChanges to facilitate CFA-netCDF in cf-python (https://github.com/NCAS-CMS/cfdm/pull/255)
cfdm.readnow always returns unicode strings from netCDF files (https://github.com/NCAS-CMS/cfdm/issues/251)Fix bug in
cf.Data.second_elementfor some data shapes (https://github.com/NCAS-CMS/cfdm/issues/249)Fix bug when writing to disk coordinates with a
computed_standard_name(https://github.com/NCAS-CMS/cfdm/pull/254)
Version 1.10.0.3¶
2023-03-10
New method:
cfdm.Field.del_properties(https://github.com/NCAS-CMS/cfdm/issues/241)New keyword parameter to
cfdm.unique_constructs:ignore_properties(https://github.com/NCAS-CMS/cfdm/issues/240)New keyword parameter to
cfdm.NetCDFArray:missing_values(https://github.com/NCAS-CMS/cfdm/issues/246)Fixed bug that caused
cf.writeto erroneously change external netCDF variable names (https://github.com/NCAS-CMS/cfdm/issues/244)
Version 1.10.0.2¶
2023-01-26
New class:
cfdm.InterpolationSubarray(https://github.com/NCAS-CMS/cfdm/issues/228)Relocate the call to
NetCDFRead._customize_read_varsto earlier inNetCDFRead.read(https://github.com/NCAS-CMS/cfdm/issues/233)Fixed bug that caused incorrect formula terms in output netCDF files in some cases (https://github.com/NCAS-CMS/cfdm/issues/242)
Version 1.10.0.1¶
2022-10-31
New method:
cfdm.Data.get_tie_point_indicesNew method:
cfdm.Data.get_interpolation_parametersNew method:
cfdm.Data.get_dependent_tie_pointsRecord the names of files that contain the original data (https://github.com/NCAS-CMS/cfdm/issues/215)
New method:
cfdm.Field.get_original_filenamesNew method:
cfdm.Data.get_original_filenamesNew keyword parameter to
cfdm.write:omit_data(https://github.com/NCAS-CMS/cfdm/issues/221)Fixed bug that caused incorrect data assignment with some multiple list indices (https://github.com/NCAS-CMS/cfdm/issues/217)
Fixed bug that caused a failure when printing date-time data with the first element masked (https://github.com/NCAS-CMS/cfdm/issues/211)
Version 1.10.0.0¶
2022-08-17
New method:
cfdm.Field.auxiliary_coordinateNew method:
cfdm.Field.cell_measureNew method:
cfdm.Field.cell_methodNew method:
cfdm.Field.coordinateNew method:
cfdm.Field.coordinate_referenceNew method:
cfdm.Field.dimension_coordinateNew method:
cfdm.Field.domain_ancillaryNew method:
cfdm.Field.domain_axisNew method:
cfdm.Field.field_ancillaryNew method:
cfdm.Field.indicesNew attribute:
cfdm.Field.arrayNew attribute:
cfdm.Field.datetime_arrayNew construct retrieval API methods (https://github.com/NCAS-CMS/cfdm/issues/179)
Implement (bar writing to netCDF files) lossy compression by coordinate subsampling (https://github.com/NCAS-CMS/cfdm/issues/167)
Version 1.9.0.4¶
2022-07-18
Upgrade to allow cfdm to work with Python 3.10 (https://github.com/NCAS-CMS/cfdm/issues/187)
Fix bug that caused a hang when reading zero-length files (https://github.com/NCAS-CMS/cfdm/issues/190)
Fix bug to prevent error when writing vlen strings to a netCDF file when compression has been set (for
netCDF4>=1.6.0) (https://github.com/NCAS-CMS/cfdm/issues/199)
Version 1.9.0.3¶
2022-03-10
Fixed bug that caused a failure from
cfdm.writewhen writing identical (auxiliary) coordinates to different data variables in different groups (https://github.com/NCAS-CMS/cfdm/issues/177)Fixed bug that caused
cf.Domain.__str__to fail when a dimension coordinate construct does not have data (https://github.com/NCAS-CMS/cfdm/issues/174)New dependency:
packaging>=20.0Changed dependency:
cftime>=1.6.0
Version 1.9.0.2¶
2022-01-31
Fixed bug that caused a
cfdm.writefailure when a vertical coordinate reference construct has no coordinates (https://github.com/NCAS-CMS/cfdm/issues/164)Fixed bug that caused a failure when downstream
identitiesmethods return anitertools.chainobject (https://github.com/NCAS-CMS/cfdm/issues/170)
Version 1.9.0.1¶
2021-10-12
Fixed bug that prevented some geometry coordinates being written to netCDF CLASSIC files (https://github.com/NCAS-CMS/cfdm/issues/140)
Fixed bug that a caused segmentation fault when appending a string data type to netCDF files (https://github.com/NCAS-CMS/cfdm/issues/155)
Fixed bug in
cf.Field.get_domainwhen there are climatological time axes (https://github.com/NCAS-CMS/cfdm/issues/159)
Version 1.9.0.0¶
2021-09-21
Python 3.6 support removed (https://github.com/NCAS-CMS/cfdm/issues/139)
Conversion of
cfdm.Domainto a non-abstract that may be read from and written to a netCDF dataset (https://github.com/NCAS-CMS/cfdm/issues/111)New method:
cfdm.Domain.creation_commandsNew method:
cfdm.Domain.climatological_time_axesNew method:
cfdm.AuxiliaryCoordinate.del_climatologyNew method:
cfdm.AuxiliaryCoordinate.get_climatologyNew method:
cfdm.AuxiliaryCoordinate.is_climatologyNew method:
cfdm.AuxiliaryCoordinate.set_climatologyNew method:
cfdm.DimensionCoordinate.del_climatologyNew method:
cfdm.DimensionCoordinate.get_climatologyNew method:
cfdm.DimensionCoordinate.is_climatologyNew method:
cfdm.DimensionCoordinate.set_climatologyNew function:
cfdm.unique_constructsNew function:
cfdm.example_fieldsConstruct access API changes from 1.8.9.0 applied to
Field.convertImproved error message for invalid inputs to
Field.convertRaise exception when attempting to write multiply defined coordinate reference parameters (https://github.com/NCAS-CMS/cfdm/issues/148)
Interpret format specifiers for size 1
cfdm.Dataarrays (https://github.com/NCAS-CMS/cfdm/issues/152)Fix file name expansions in
cfdm.write(https://github.com/NCAS-CMS/cfdm/issues/157)
Version 1.8.9.0¶
2021-05-25
Construct access API changes (https://github.com/NCAS-CMS/cfdm/issues/124, https://github.com/NCAS-CMS/cfdm/issues/130, https://github.com/NCAS-CMS/cfdm/issues/132, https://github.com/NCAS-CMS/cfdm/issues/137)
Performance enhancements (https://github.com/NCAS-CMS/cfdm/issues/124, https://github.com/NCAS-CMS/cfdm/issues/130)
New write mode
mode='a'for appending to, rather than over-writing, a netCDF file on disk (https://github.com/NCAS-CMS/cfdm/issues/143)Better error message in the case of a
numpy.ma.core.MaskErroroccurring upon reading of CDL files with only header or coordinate information (https://github.com/NCAS-CMS/cfdm/issues/128)Fix for zero-sized unlimited dimensions when read from a grouped netCDF file (https://github.com/NCAS-CMS/cfdm/issues/113)
Fix bug causing occasional non-symmetric
equalsoperations (https://github.com/NCAS-CMS/cfdm/issues/133)Changed dependency:
cftime>=1.5.0Changed dependency:
netCDF4>=1.5.4
Version 1.8.8.0¶
2020-12-18
The setting of global constants can now be controlled by a context manager (https://github.com/NCAS-CMS/cfdm/issues/100)
Fixed bug that caused a failure when writing a dataset that contains a scalar domain ancillary construct (https://github.com/NCAS-CMS/cfdm/issues/98)
Changed dependency:
cftime>=1.3.0
Version 1.8.7.0¶
2020-10-09
Python 3.5 support deprecated (3.5 was retired on 2020-09-13)
New method:
cfdm.Field.creation_commandsNew method:
cfdm.Data.creation_commandsNew method:
cfdm.Field._docstring_special_substitutionsNew method:
cfdm.Field._docstring_substitutionsNew method:
cfdm.Field._docstring_package_depthNew method:
cfdm.Field._docstring_method_exclusionsNew method:
cfdm.Data.filledNew keyword parameter to
cfdm.Field.set_data:inplaceNew keyword parameter to
cfdm.write:coordinates(https://github.com/NCAS-CMS/cfdm/issues/81)New class:
cfdm.core.DocstringRewriteMetaComprehensive documentation coverage of class methods.
Improved documentation following JOSS review.
Enabled “creation commands” methods (https://github.com/NCAS-CMS/cfdm/issues/53)
Fixed bug that caused failures when reading or writing a dataset that contains multiple geometry containers (https://github.com/NCAS-CMS/cfdm/issues/65)
Fixed bug that prevented the writing of multiple fields to netCDF when at least one dimension was shared between some of the fields.
Version 1.8.6.0¶
2020-07-24
Removed Python 2.7 support (https://github.com/NCAS-CMS/cfdm/issues/55)
Implemented the reading and writing of netCDF4 group hierarchies for CF-1.8 (https://github.com/NCAS-CMS/cfdm/issues/13)
Renamed to lower-case (but otherwise identical) names all functions which get and set global constants:
cfdm.atol,cfdm.rtol,cfdm.log_level. The old names e.g.cfdm.ATOLremain functional as aliases.New function:
cfdm.configurationNew method:
cfdm.Field.nc_variable_groupsNew method:
cfdm.Field.nc_set_variable_groupsNew method:
cfdm.Field.nc_clear_variable_groupsNew method:
cfdm.Field.nc_group_attributesNew method:
cfdm.Field.nc_set_group_attributeNew method:
cfdm.Field.nc_set_group_attributesNew method:
cfdm.Field.nc_clear_group_attributesNew method:
cfdm.Field.nc_geometry_variable_groupsNew method:
cfdm.Field.nc_set_geometry_variable_groupsNew method:
cfdm.Field.nc_clear_geometry_variable_groupsNew method:
cfdm.DomainAxis.nc_dimension_groupsNew method:
cfdm.DomainAxis.nc_set_dimension_groupsNew method:
cfdm.DomainAxis.nc_clear_dimension_groupsNew method:
cfdm.AuxiliaryCoordinate.del_interior_ringNew keyword parameter to
cfdm.write:groupKeyword parameter
verboseto multiple methods now accepts named strings, not just the equivalent integer levels, to set verbosity.Added test to check that cell bounds have more dimensions than the data.
Added test to check that dimension coordinate construct data is 1-dimensional.
Fixed bug in
cfdm.CompressedArray.to_memory.Fixed bug that caused an error when a coordinate bounds variable is missing from a dataset (https://github.com/NCAS-CMS/cfdm/issues/63)
New dependency:
netcdf_flattener>=1.2.0Changed dependency:
cftime>=1.2.1Removed dependency:
future
Version 1.8.5¶
2020-06-10
Fixed bug that prevented the reading of certain netCDF files, such as those with at least one external variable.
Version 1.8.4¶
2020-06-08
Added new example field
7tocfdm.example_field.Enabled configuration of the extent and nature of informational and warning messages output by
cfdmusing a logging framework (see points below) (https://github.com/NCAS-CMS/cfdm/issues/31)New function
cfdm.LOG_LEVELto set the minimum log level for which messages are displayed globally, i.e. to change the project-wide verbosity (https://github.com/NCAS-CMS/cfdm/issues/35).Changed behaviour and default of
verbosekeyword argument when available to a function/method so it interfaces with the new logging functionality (https://github.com/NCAS-CMS/cfdm/issues/35).Changed dependency:
cftime>=1.1.3Fixed bug the wouldn’t allow the reading of a netCDF file which specifies Conventions other than CF (https://github.com/NCAS-CMS/cfdm/issues/36).
Version 1.8.3¶
2020-04-30
cfdm.Field.apply_maskingnow masks metadata constructs.New method:
cfdm.Field.get_filenamesNew method:
cfdm.Data.get_filenamesNew function:
cfdm.abspathNew keyword parameter to
cfdm.read:warn_valid(https://github.com/NCAS-CMS/cfdm/issues/30)New keyword parameter to
cfdm.write:warn_valid(https://github.com/NCAS-CMS/cfdm/issues/30)
Version 1.8.2¶
2020-04-24
Added time coordinate bounds to the polygon geometry example field
6returned bycfdm.example_field.New method:
cfdm.Field.apply_maskingNew method:
cfdm.Data.apply_maskingNew keyword parameter to
cfdm.read:maskNew keyword parameter to
cfdm.Field.nc_global_attributes:valuesFixed bug in
cfdm.writethat caused (what are effectively) string-valued scalar auxiliary coordinates to not be written to disk as such, or even an exception to be raised.
Version 1.8.1¶
2020-04-16
Improved source code highlighting in links from the documentation (https://github.com/NCAS-CMS/cfdm/issues/21).
Fixed bug that erroneously required netCDF geometry container variables to have a
geometry_dimensionnetCDF attribute.
Version 1.8.0¶
2020-03-23
First release for CF-1.8 (does not include netCDF hierarchical groups functionality).
Implementation of simple geometries for CF-1.8 (https://github.com/NCAS-CMS/cfdm/issues/11).
Implementing of string data-types for CF-1.8 (https://github.com/NCAS-CMS/cfdm/issues/12).
New function:
cfdm.example_field(https://github.com/NCAS-CMS/cfdm/issues/18)New attributes:
cfdm.Field.dtype,cfdm.Field.ndim,cfdm.Field.shape,cfdm.Field.sizeNew method:
cfdm.Data.anyNew
pathskeyword parameter tocfdm.environmentChanged dependency:
netCDF4>=1.5.3Changed dependency:
cftime>=1.1.1Fixed bug that prevented the writing of
'NETCDF3_64BIT_OFFSET'and'NETCDF3_64BIT_DATA'format files (https://github.com/NCAS-CMS/cfdm/issues/9).Fixed bug that caused a failure when a “_FillValue” or “missing_value” property is set and data type conversions are specified with the
datatypekeyword tocfdm.write(https://github.com/NCAS-CMS/cfdm/issues/16).Fixed bug whereby
cfdm.Field.has_constructwould try to delete the construct rather than check whether it existed.
Version 1.7.11¶
2019-11-27
New methods:
cfdm.Field.compress,cfdm.Field.uncompressNew methods:
cfdm.Data.flatten,cfdm.Data.uncompressNew
dtypeandmaskkeyword parameters tocfdm.DataChanged the default value of the
ignore_compressionparameter toTrue.
Version 1.7.10¶
2019-11-14
New method:
cfdm.Field.nc_set_global_attributes.Fixed bug relating to the reading of some CDL files (https://github.com/NCAS-CMS/cfdm/issues/5).
Fixed bug relating numpy warning when printing a field with masked reference time values (https://github.com/NCAS-CMS/cfdm/issues/8).
Version 1.7.9¶
2019-11-07
Fixed bug relating to setting of parameters on datum and coordinate conversion objects of coordinate conversion constructs (https://github.com/NCAS-CMS/cfdm/issues/6).
Version 1.7.8¶
2019-10-04
During writing to netCDF files, ensured that _FillValue and missing_value have the same data type as the data.
Fixed bug during construct equality testing that didn’t recognise equal cell method constructs in transposed, but otherwise equal field constructs.
Bounds netCDF dimension name is now saved, and can be set. The saved/set value is written out to disk.
Now reads CDL files (https://github.com/NCAS-CMS/cfdm/issues/5)
Version 1.7.7¶
2019-06-13
Don’t set the fill mode for a
netCDF4.Datasetopen for writing tooff, to prevent incorrect reading of some netCDF4 files (https://github.com/NCAS-CMS/cfdm/issues/4).Updated documentation
Version 1.7.6¶
2019-06-05
Added attributes
_ATOLand_RTOLto facilitate subclassing.Fixed bug in
cfdm.Field.convert.Fixed bug in
cfdm.core.constructs.new_identifier.
Version 1.7.5¶
2019-05-15
Version 1.7.4¶
2019-05-14
Changed behaviour of
cfdm.Constructs.filter_by_axis.New methods:
cfdm.Data.has_units,cfdm.Data.has_calendar,cfdm.Data.has_fill_value.New
constructskeyword parameter toField.transpose.Keyword parameter
axestocfdm.Field.set_datais now optional.Added the ‘has_bounds’ method to constructs that have data but can’t have bounds.
New methods:
cfdm.DomainAxis.nc_is_unlimited,cfdm.DomainAxis.nc_set_unlimited.Made Data a virtual subclass of Array.
Deprecated methods:
cfdm.Field.nc_unlimited,cfdm.Field.nc_clear_unlimited,cfdm.Field.nc_clear_unlimited.Fixed bug when writing new horizontal coordinate reference for the vertical datum.
Fixed bug in
del_datamethods.Fixed bug with in-place operations.
Fixed bug with position in some
insert_dimensionmethods.Fixed bug that sometimes made duplicate netCDF dimensions when writing to a file.
Added _shape keyword to
cfdm.Field.set_data_axesto allow the data shape to be checked prior to insertion.Added the ‘_custom’ attribute to facilitate subclassing.
New class
cfdm.mixin.NetCDFUnlimitedDimensionreplacescfdm.mixin.NetCDFUnlimitedDimensions, which is deprecated.New method
cfdm.CFDMImplementation.nc_is_unlimited_axisreplacescfdm.CFDMImplementation.nc_get_unlimited_axes, which is deprecated.New method
cfdm.CFDMImplementation.nc_set_unlimited_axisreplacescfdm.CFDMImplementation.nc_set_unlimited_dimensions, which is deprecated.
Version 1.7.3¶
2019-04-24
New method:
cfdm.Constructs.filter_by_size.New method:
cfdm.Data.uncompress.Changed the default behaviours of the
cfdm.Construct.filter_by_axis,cfdm.Construct.filter_by_size,cfdm.Construct.filter_by_naxes,cfdm.Construct.filter_by_property,cfdm.Construct.filter_by_ncvar,cfdm.Construct.filter_by_ncdim,cfdm.Construct.filter_by_method,cfdm.Construct.filter_by_measuremethods in the case when no arguments are provided: Now returns all possible constructs that could have the feature, with any values.Renamed the “underlying_array” methods to “source”
Added _field_data_axes attribute to
Constructsinstances.Added _units and _fill_value arguments to get_data method.
Moved contents of cfdm/read_write/constants.py to
NetCDFReadandNetCDFWrite.Fixed bug in
cfdm.CoordinateReference.clear_coordinates.Fixed bug in
cfdm.Field.convert(which omitted domain ancillaries in the result).Added
kwargsparameter tocfdm.CFDMImplementation.initialise_Data, to facilitate subclassing.Added
NetCDFRead._customize_read_varsto facilitate subclassing.Added
NetCDFWrite._transform_stringsto facilitate subclassing.
Version 1.7.2¶
2019-04-05
New
modeparameter options tocfdm.Constructs.filter_by_axis:'exact','subset','superset'.Enabled setting of HDF5 chunksizes.
Fixed bug that caused coordinate bounds to be not sliced during subspacing (https://github.com/NCAS-CMS/cfdm/issues/1).
Version 1.7.1¶
2019-04-02
New methods
cfdm.Constructs.clear_filters_applied,cfdm.Constructs.filter_by_naxes.Changed behaviour of
cfdm.Constructs.unfilterandcfdm.Constructs.inverse_filters: added depth keyword and changed default.
Version 1.7.0¶
2019-04-02
First release for CF-1.7