File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 1919Base. size (b:: GDALBand ) = b. size
2020DiskArrays. eachchunk (b:: GDALBand ) = b. cs
2121DiskArrays. haschunks (:: GDALBand ) = DiskArrays. Chunked ()
22- function DiskArrays. readblock! (b:: GDALBand , aout, r:: AbstractUnitRange... )
23- AG. read (b. filename) do ds
24- AG. getband (ds, b. band) do bh
25- DiskArrays. readblock! (bh, aout, r... )
22+
23+ function DiskArrays. readblock! (b:: GDALBand , aout:: Matrix , r:: AbstractUnitRange... )
24+ AG. read (b. filename) do ds
25+ AG. getband (ds, b. band) do bh
26+ DiskArrays. readblock! (bh, aout, r... )
27+
2628 end
2729 end
28- end
30+ end
31+
32+ function DiskArrays. readblock! (b:: GDALBand , aout, r:: AbstractUnitRange... )
33+ aout2 = similar (aout)
34+ DiskArrays. readblock! (b, aout2, r)
35+ aout .= aout2
36+ end
37+
38+
2939function DiskArrays. writeblock! (b:: GDALBand , ain, r:: AbstractUnitRange... )
3040 AG. read (b. filename, flags= AG. OF_Update) do ds
3141 AG. getband (ds, b. band) do bh
You can’t perform that action at this time.
0 commit comments