So in my case, I use a DKIST compound model which has two coupled pixel axes and a time axes.
If I want just the time axis, the current code will work out the entire grid leading to a very dense and memory intense results.
So I added a really specific hack which works for my code and seems to not break the rest of the test suite.
Fixes https://github.com/sunpy/ndcube/issues/585
So in my case, I use a DKIST compound model which has two coupled pixel axes and a time axes. If I want just the time axis, the current code will work out the entire grid leading to a very dense and memory intense results.
So I added a really specific hack which works for my code and seems to not break the rest of the test suite.
TODO:
Unit tests: