Skip to content

Commit 370ea14

Browse files
committed
filename
1 parent de4b919 commit 370ea14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/ArchGDALExt/archgdaldataset.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function DiskArrays.readblock!(b::GDALBand, aout::Matrix, r::AbstractUnitRange..
2525
for chunk in eachchunk(b)
2626
overlap = tuple((intersect(r[i], chunk[i]) for i in eachindex(r))...)
2727
if all(x -> !isempty(x), overlap)
28-
chunk_data = AG.read(b, overlap...)
28+
chunk_data = AG.read(b.filename, overlap...)
2929
aout_indices = tuple((overlap[i] .- first(r[i]) .+ 1 for i in eachindex(r))...)
3030
view(aout, aout_indices...) .= chunk_data
3131
end

0 commit comments

Comments
 (0)