Open Datseris opened 2 years ago
Furthermore I've noticed that Coord
does not have the nice prinitng that the other dimensions have, and instead its entire type is simply dumped as a summary. Not sure why. I guess with 0.19 Coord
is no longer an actual Dimension
but rather a LookupArray
?
Want to write a PR?
Sure, would be happy to. I would have done it already, but I actually couldn't find where in the printing pipeline I have to intervene... give me some initial direction and I can take it from there.
Probably CoordLookupArray
needs a show
method. See the defaults in LookupArrays/show.jl
Because by nature the
Coord
dimension is typically used with vector values, its printing becomes really long. Example:(I've actually significantly shortened the output)
Where in the printing pipeline is this happening? I think the solution is really a simple
IOContext(limited = true)
.