Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version: NCDatasets v0.13.0 #92807

Merged

Conversation

JuliaRegistrator
Copy link
Contributor

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)

UUID: 85f8d34a-cbdd-5861-8df4-14fed0d494ab
Repo: https://github.com/Alexander-Barth/NCDatasets.jl.git
Tree: 8431da2d38c748d3a839e74a716de97695848b55

Registrator tree SHA: f73a20c99934db92a256057d0d83ba394036a701
JuliaRegistrator referenced this pull request in JuliaGeo/NCDatasets.jl Oct 5, 2023
…/2023-09-30-01-06-44-732-3340239256

CompatHelper: add new compat entry for "DiskArrays" at version "0.3"
@JuliaRegistrator JuliaRegistrator temporarily deployed to stopwatch October 5, 2023 08:00 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2023

Your new version pull request met all of the guidelines for auto-merging and is scheduled to be merged in the next round.


If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment. You can edit blocking comments, adding [noblock] to them in order to unblock auto-merging.

@JuliaTagBot JuliaTagBot merged commit 35f61c9 into master Oct 5, 2023
@JuliaTagBot JuliaTagBot deleted the registrator-ncdatasets-85f8d34a-v0.13.0-9f0891569c branch October 5, 2023 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants