NCDatasets.jl Versions Save

Load and create NetCDF files in Julia

v0.14.4

3 weeks ago

NCDatasets v0.14.4

Diff since v0.14.3

Merged pull requests:

  • Throw informative error for unsupported vtype (#255) (@Sbozzolo)

Closed issues:

  • More informative changelogs for breaking releases (#242)
  • is there a variant of load! that accumulates? (#252)
  • Issues with OpenDAP (#253)
  • Run Aqua tests (#254)

v0.14.3

2 months ago

NCDatasets v0.14.3

Diff since v0.14.2

  • allow CartesianIndex and CartesianIndices with load! (issue #250, thanks to @haakon-e)

v0.14.2

3 months ago

NCDatasets v0.14.2

Closed issues:

  • NCDatasets v0.14.1 cannot create variable from an Int64 array with missing values if fillvalue is not specified (#246)

Diff since v0.14.1

v0.14.1

3 months ago

v0.14.0

4 months ago

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

v0.13.2

5 months ago

NCDatasets v0.13.2

Diff since v0.13.1

Merged pull requests:

  • NetCDF3 files (64-bit offset NetCDF,...) and unlimited dimensions (issue #231) (#232) (@Alexander-Barth)
  • Minor docs improvements (#236) (@glwagner)
  • Corrected the SST image output (#239) (@keduba)

Closed issues:

  • 64-bit offset NetCDF and unlimited dimensions (#231)
  • .var[:] always returns a vector (#233)
  • check presence of attribute and variables (#235)
  • String-valued dimension incorrectly loaded as matrix of characters (#237)

v0.13.1

7 months ago

NCDatasets v0.13.1

Diff since v0.13.0

v0.13.0

7 months ago

NCDatasets v0.13.0

Diff since v0.12.17

NCDatasets uses now the DiskArray package which required some API changes. In general, the array API of NCDatasets is now more similar to base Julia in particular:

  • ncvar[range_indices] = scalar should now be ncvar[range_indices] .= scalar
  • ncvar2D[:] flattens the data in the 2D NetCDF variable ncvar2D. To read the full array one need to use ncvar2D[:,:] or Array(ncvar2D) (similarly for 3D, 4D... arrays).
  • Accessing an array out of bounds, new returns a DimensionMismatch exception (previously a NCDatasets.NetCDFError exception was returned)
  • To grow a NetCDF variable with unlimited dimension, the corresponding index of left-hand side of the assignment cannot be a colon, but should be a range. For example if ncvar is a NetCDF variable where the 2nd dimension is unlimited, ncvar[:,:] = zeros(2,3) should now be replaced by ncvar[:,1:3] = zeros(2,3)

Merged pull requests:

  • DiskArrays for Variable's (#205) (@tcarion)
  • Fix checksum docstring (#213) (@navidcy)
  • Correction of typos (#216) (@keduba)
  • CompatHelper: add new compat entry for "DiskArrays" at version "0.3" (#229) (@github-actions[bot])

Closed issues:

  • NCDatasets.jl v0.11+ does not work on PowerPC (#116)
  • For compressed netcdf, extremely low speed in cdo operation (#206)
  • LoadError: UndefVarError: NetCDFError not defined (#207)
  • [Suggestion] easier creation of time axis (#208)
  • [enhancement] support empty array var[ [] ] (#209)
  • Using NCDatasets.jl in R (#210)
  • No warning message when passing wrong keywords to defVar (#212)
  • @select not work for 4d array (#214)
  • NCDatasets fails due to build issue on Julia 1.10 (#215)
  • Significant performance gap between NetCDF.jl and NCDatasets.jl (#218)
  • Write data fails when the number less than typemax(Datatype) (#226)
  • Return type Matrix{Union{Missing, Float32}} (#227)

v0.12.17

11 months ago

NCDatasets v0.12.17

Diff since v0.12.16

v0.12.16

11 months ago

NCDatasets v0.12.16

Diff since v0.12.15