We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa09c06 commit 8b6f623Copy full SHA for 8b6f623
ext/ArchGDALExt/archgdaldataset.jl
@@ -22,7 +22,9 @@ DiskArrays.haschunks(::GDALBand) = DiskArrays.Chunked()
22
# end
23
24
function DiskArrays.readblock!(b::GDALBand, aout::Matrix, r::AbstractUnitRange...)
25
- chunk_size = b.cs.chunks.ranges
+ @show eachchunk(b)
26
+ chunk_size = first(eachchunk(b))
27
+ @show chunk_size
28
# Calculate chunk indices for all dimensions
29
chunk_indices = [(div(first(r[i])-1, length(chunk_size[i]))+1):(div(last(r[i])-1, length(chunk_size[i]))+1)
30
for i in eachindex(r)]
0 commit comments