Closed rafaqz closed 2 years ago
It seems to be ignoring the Unchunked()
? Or there is a bug in eachchunk_view(::Unchunked, ...
?
Rasters.jl usually uses Unchunked
for small files like this, because it seems to be faster below a certain threshold.
I just created #52 to fix this. By default, when a DiskArray returns "Unchunked", DIskArrays.jl will still treat the array as chunked and estimate a chunk size that will comfortably fit into memory, so for small arrays this will be the entire array.
During transition from 0.2-0.3 I changed the signature of estimate_chunksize
, but did not fix this in subarrays.jl, which caused the bug here.
Equality of an array and a view of a DiskArray based
Raster
has broken with 0.3 when the array isUnchunked
:Gives the error:
@meggart if you know what is going on with this stacktrace that would be helpful