Closed Alexander-Barth closed 11 months ago
If I comment-out the definition interpret_indices_disk(A, r::NTuple{1,AbstractVector})
so that the general method interpret_indices_disk(A, r::NTuple{N,Union{Integer,AbstractVector,Colon}}) where {N}
is used instead, the example passes for NetCDF.jl and NCDatasets.jl but I see failure in this test:
https://github.com/meggart/DiskArrays.jl/blob/v0.3.20/test/runtests.jl#L105
Fixed on master
While debugging an issue in NCDatasets using DiskArrays v0.3.20 ( https://github.com/Alexander-Barth/NCDatasets.jl/issues/230 ) I found some behavior of NetCDF.jl with DiskArray with variables of unlimited dimensions that I could not understand. While the following code with a 2D array (one unlimited) works without error:
The following code with a single unlimited dimensions fails:
with the following error message:
NetCDF.jl and the equivalent NCDatasets.jl code both fail at the same line:
https://github.com/meggart/DiskArrays.jl/blob/v0.3.20/src/diskarray.jl#L137
Ref: https://github.com/meggart/DiskArrays.jl/issues/53