Improve cf.Field.collapse
performance by lazily computing reduced axis coordinates
#741
Labels
Milestone
cf.Field.collapse
performance by lazily computing reduced axis coordinates
#741
Currently (v3.16.1), collapsed coordinates are crated non-lazily. E.g in the following the collapsed size 1 coordinate values, and their bounds (latitude, longitude and time) are all computed non-lazily. This can be slow if the original coordinates are on disk, and very slow if they are on disk on a remote server.
It would be good compute these values from cached elements, if present, or else do it lazily so that the computation only occurs if the values are ever inspected.
The text was updated successfully, but these errors were encountered: