Skip to content

Releases: Alexander-Barth/NCDatasets.jl

v0.14.6

04 Nov 09:12
Compare
Choose a tag to compare

NCDatasets v0.14.6

Diff since v0.14.5

Merged pull requests:

Closed issues:

  • Assertion failed: (dsid > 0), function attach_dimscales, file nc4hdf.c, line 1417. (#261)
  • Saving a subset of a file (#268)

v0.14.5

30 Aug 07:09
Compare
Choose a tag to compare

NCDatasets v0.14.5

Diff since v0.14.4

Closed issues:

  • Problem connecting to a THREDDS OPeNDAP dataset (#257)
  • NCDatasets fails to load (#259)

v0.14.4

25 Apr 13:17
Compare
Choose a tag to compare

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

06 Mar 08:30
Compare
Choose a tag to compare

NCDatasets v0.14.3

Diff since v0.14.2

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

v0.14.2

09 Feb 22:01
ef8deca
Compare
Choose a tag to compare

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

01 Feb 10:03
Compare
Choose a tag to compare

v0.14.0

18 Dec 21:56
3029105
Compare
Choose a tag to compare

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

15 Dec 09:28
Compare
Choose a tag to compare

NCDatasets v0.13.2

Diff since v0.13.1

Merged pull requests:

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

10 Oct 10:27
Compare
Choose a tag to compare

NCDatasets v0.13.1

Diff since v0.13.0

v0.13.0

05 Oct 08:20
721ac59
Compare
Choose a tag to compare

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)