Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #229 from Alexander-Barth/compathelper/new_version…
…/2023-09-30-01-06-44-732-3340239256 CompatHelper: add new compat entry for "DiskArrays" at version "0.3"
- Loading branch information
721ac59
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
Release notes:
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 bencvar[range_indices] .= scalar
ncvar2D[:]
flattens the data in the 2D NetCDF variablencvar2D
. To read the full array one need to usencvar2D[:,:]
orArray(ncvar2D)
(similarly for 3D, 4D... arrays).DimensionMismatch
exception (previously aNCDatasets.NetCDFError
exception was returned)ncvar
is a NetCDF variable where the 2nd dimension is unlimited,ncvar[:,:] = zeros(2,3)
should now be replaced byncvar[:,1:3] = zeros(2,3)
721ac59
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/92807
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: