JuliaDataCubes / YAXArrays.jl

Yet Another XArray-like Julia package
https://juliadatacubes.github.io/YAXArrays.jl/
Other
89 stars 12 forks source link

show of list of YAXArray reads data #366

Open felixcremer opened 5 months ago

felixcremer commented 5 months ago

When we show a list of YAXArrays the data is shown and not the metadata overview. This can make showing quite slow because we pay the reading overhead to get to the data. I am wondering whether this is hitting some fallback in DimensionalData.jl.

@rafaqz

rafaqz commented 5 months ago

Yeah I guess we need show(io, ::AbstractDimArray) method but I never know what youre supposed to do there.

Maybe YAX and rasters should just return the summary for that, or something

felixcremer commented 5 months ago

This is basically the same as https://github.com/rafaqz/DimensionalData.jl/issues/498. I think we could solve this on the AbstractDimArray level.