Skip to content

v0.14.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Dec 21:56
3029105

NCDatasets v0.14.0

Diff since v0.13.2

Breaking changes

  • chunksize is now a tuple of integers (was a vector of integers). On input (of defVar and chunking), a vector of integers is still accepted for compatibility.
  • idimensions key word argument is dropped from write. Use SubDatasets instead to write a subset of a netcdf file.
  • The container type of dimensions and attributes (Dimensions and Attributes) are now subtypes of AbstractDict{Union{Symbol, AbstractString},Any}.
    • Certain functions like map are explicitly disallowed for AbstractDict. Calls like map(fun,ds.dim) where fun is a function and ds a netCDF datasets need to be replaced by map(fun,collect(ds.dim)).
    • The type of Dict(ds.dim) is now Dict{Union{Symbol, AbstractString},Any} while it was a Dict{Union{Symbol, String},Any} before.
  • NCDatasets.CFVariable was moved to CommonDataModel.CFVariable. NCDatasets.NCDataset(var::NCDatasets.CFVariable) is no longer supported, use NCDatasets.dataset(var::CommonDataModel.CFVariable) instead.

Note

  • If you notice other breaking changes please file an issue in order to either update the release notes or to fix an unintended change.
  • Many functions and types not specific to NetCDF files (multi-files, views, and load by value) have been moved to CommonDataModel.jl