You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using DimensionalData, Rasters
ra =Raster(rand(X(1:10), Y(1:10), Z(1:1)); metadata =Dict("A"=>1), name =:myraster)[Z =1]
ra2 =similar(ra, Int)
ra3 =similar(ra, Int, axes(ra))
ra4 =identity.(ra2)
# All of these are falsename(ra2) ==name(ra3) # Symbol("") and NoName()refdims(ra2) ==refdims(ra3) # Z and ()metadata(ra2) ==metadata(ra3) # Dict and nothingtypeof(ra3) # DimArray not raster!
Making this consistent is not hard but will technically be breaking.
Can we fit in some changes here before the next breaking release #946?