You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a fix in the queue, but testing is going to be a nightmare. We currently do not test for a non-monotonic index in the padding tests. Adding the malformed_index kwarg into the tests currently has 12 broken tests, 6 passing tests per class.
Describe the bug
Checks on the time index aren't consistent across pandas and xarray. Things work for pandas, they don't for xarray.
To Reproduce
Steps to reproduce the behavior:
gold = pysat.Instrument("ses14", "gold", "nmax")
gold.multi_file_day = True
gold.load(2020, 1)
The error is on
_curr_data
and not_prev_data
since there is no data for_prev_data
Expected behavior
Gold data goes past date boundaries. Trying to clean that up with existing pysat features. Lack of testing got us here :(
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
🐬
The text was updated successfully, but these errors were encountered: