Avoid null values persisting on the ends of time variable array.
Overview of work done
Further improve the conditional indexing by preventing edge cases where the number of True values in the longest row does not encompass all indices along the missing dimension in which there are True values.
Overview of verification done
And ran the subsetter against local TEMPO test files, and then checking spatial+temporal bounds & visually inspecting maps:
Github Issue: #227
Description
Avoid null values persisting on the ends of time variable array.
Overview of work done
Further improve the conditional indexing by preventing edge cases where the number of True values in the longest row does not encompass all indices along the missing dimension in which there are True values.
Overview of verification done
And ran the subsetter against local TEMPO test files, and then checking spatial+temporal bounds & visually inspecting maps:
Overview of integration done
Added a new unit test, and ran the test suite.
PR checklist:
See Pull Request Review Checklist for pointers on reviewing this pull request