tobac
tobac copied to clipboard
Segmentation on data with one time step removes time dimension from segmentation output
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
- [x] Have you searched the issue tracker for the same problem?
- [x] Have you checked if you're using the latest version? If not, which version are you using?
- [x] Have you mentioned the steps to reproduce the issue?
- [x] Have you, if applicable, included error messages?