tobac-project / tobac

Tracking and object-based analysis of clouds
BSD 3-Clause "New" or "Revised" License
102 stars 54 forks source link

Segmentation on data with one time step removes time dimension from segmentation output #414

Open w-k-jones opened 8 months ago

w-k-jones commented 8 months ago

Running segmentation over a single timestep array returns a segment cube with no time dimension. This is not normally an issue, but bulk_statistics needs a time dimension so fails to work with the output from this situation.

Possibly something that can be fixed as part of the xarray conversion