NCDatasets.jl

Load and create NetCDF files in Julia

MIT License

Stars
147
Committers
22

Bot releases are visible (Hide)

NCDatasets.jl - v0.14.4 Latest Release

Published by github-actions[bot] 6 months 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)
NCDatasets.jl - v0.14.3

Published by github-actions[bot] 8 months ago

NCDatasets v0.14.3

Diff since v0.14.2

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

Published by github-actions[bot] 8 months ago

NCDatasets v0.14.2

Diff since v0.14.1

NCDatasets.jl - v0.14.1

Published by github-actions[bot] 9 months ago

NCDatasets.jl - v0.14.0

Published by github-actions[bot] 10 months ago

NCDatasets v0.14.0

Diff since v0.13.2

  • 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.
  • Many functions and types not specific to NetCDF files (multi-files, views, and load by value) have been moved to CommonDataModel.jl
NCDatasets.jl - v0.13.2

Published by github-actions[bot] 10 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)
NCDatasets.jl - v0.13.1

Published by github-actions[bot] about 1 year ago

NCDatasets v0.13.1

Diff since v0.13.0

NCDatasets.jl - v0.13.0

Published by github-actions[bot] about 1 year 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)
NCDatasets.jl - v0.12.17

Published by github-actions[bot] over 1 year ago

NCDatasets v0.12.17

Diff since v0.12.16

NCDatasets.jl - v0.12.16

Published by github-actions[bot] over 1 year ago

NCDatasets v0.12.16

Diff since v0.12.15

NCDatasets.jl - v0.12.15

Published by github-actions[bot] over 1 year ago

NCDatasets v0.12.15

Diff since v0.12.14

NCDatasets.jl - v0.12.14

Published by github-actions[bot] over 1 year ago

NCDatasets v0.12.14

Diff since v0.12.13

Closed issues:

  • Reading In "Scalar" String (#204)
NCDatasets.jl - v0.12.13

Published by github-actions[bot] over 1 year ago

NCDatasets v0.12.13

Diff since v0.12.11

Closed issues:

  • Windows: Can't load files with unicode characters (#162)
  • libcurl.so precompile error. (#191)
  • Reading time from multi-file dataset very slow (#194)
  • @select(ds, Dates.month(time) [...]) fails when ds opened by NCDataset(pth) do ds (#196)
  • Error when writing Array{Float64, 0} (#197)
  • Values aren't correctly written to disk (#199)
  • Add support for @select(ds, lat ∈ min..max) (#200)
  • NCDatasets.@select with MFVariable over date operations (#201)
  • Problems installing on Julia 1.8.5 (#202)
  • @select with arbitrary (or a few specific) functions (#203)

Merged pull requests:

  • Update tutorials.md (#198) (@gaelforget)
NCDatasets.jl - v0.12.11

Published by github-actions[bot] almost 2 years ago

NCDatasets v0.12.11

Diff since v0.12.10

NCDatasets.jl - v0.12.10

Published by github-actions[bot] almost 2 years ago

NCDatasets v0.12.10

Diff since v0.12.9

Closed issues:

  • time variables with "nanoseconds" units fail to load (#192)

Merged pull requests:

  • Check if NetCDF_jll is_available before loading code (#193) (@glwagner)
  • Add support for _normalizeindex with Base.OneTo (#195) (@charleskawczynski)
NCDatasets.jl - v0.12.9

Published by github-actions[bot] almost 2 years ago

NCDatasets v0.12.9

Diff since v0.12.8

NCDatasets.jl - v0.12.8

Published by github-actions[bot] about 2 years ago

NCDatasets v0.12.8

Diff since v0.12.7

Closed issues:

  • Bug? for function defVar (#186)
  • Segmentation fault reading file with NCDatasets v0.12.6 (#187)
NCDatasets.jl - v0.12.7

Published by github-actions[bot] about 2 years ago

NCDatasets v0.12.7

Diff since v0.12.6

NCDatasets.jl - v0.12.6

Published by github-actions[bot] about 2 years ago

NCDatasets v0.12.6

Diff since v0.12.5

Support for NetCDF 4.9.0

Closed issues:

  • Time dimension with month units cannot be loaded (#181)
  • Using ncgen when variable names have spaces (#183)
NCDatasets.jl - v0.12.5

Published by github-actions[bot] over 2 years ago

NCDatasets v0.12.5

Diff since v0.12.4

  • Experimental NCDatasets.@select (subset by e.g. bounding box and date range) and views (of variables and datasets)

Closed issues:

  • getindex(::NCDataset, ::String) scales poorly with # of variables for unlimited data dimension (#135)
  • Default missing values (#163)
  • julia 1.8 beta3, NetCDF_jll v400.802.102+0: Failure to load OPENDAP URL with TLS (#173)
  • Possible bug trying to save 2D variables (#175)
  • How do I add variables that are located only in a subset of the coordinates? (#176)
  • Problem reading time (#177)
  • How to save a string variable as a scalar? (#180)

Merged pull requests:

  • set curl options in libnetcdf via NC_rcfile_insert (#174) (@visr)
  • CompatHelper: add new compat entry for "NetworkOptions" at version "1.2" (#178) (@github-actions[bot])
  • @select macro for loading data via e.g. a bounding box or by nearest match (#179) (@Alexander-Barth)