-
Notifications
You must be signed in to change notification settings - Fork 9
Improve adjustment.interpolate_to_reference #310
Description
We came across a silent failure mode while running the validation pipeline, which should at least be fixed to break loudly. The gist of it is that the validation simulations were made on an LST grid that starts at 0 hours LST and ends after one day, but the real data often starts somewhere before the phase wrap at adjustment.interpolate_to_reference function currently assumes that if there's a phase wrap, then the time array is contiguous, but this assumption is broken by the validation simulations (i.e., the data at an LST close to, but less than, blt_order for other data to no avail (i.e., it was set to None).