Open smithara opened 2 months ago
The sampling is currently implemented so that each products is sampled independently. I.e., the new daily product starts at 00:00 and not 00:01 and you can observe this discontinuity.
This is not technically a bug but I understand that it is not what users expect. If it is an issue, I could find a way how to preserve the sampling across the product boundaries (i.e., to carry a time offset from one product to another).
I agree, not exactly a bug and I think I understand the reasoning here. It might instead be worked around in documentation and giving users recipes to get what they want.
If the process were changed, I'm not sure how it could affect non-uniformly sampled datasets.
I wonder if it could be approached with a new alternative process that instead picks data samples at specific times set by the chosen cadence. The number of sample points returned should match the chosen cadence, and gaps filled with NaN
, maybe with user-configurable matching behaviour (exact-only/nearest/pick-last/pick-next).
When setting a custom sampling step, the sampling "resets" at the beginning of the next day (file?).
Demonstrated here with
MAGx_LR
, but first observed by Alexander Grayver using theAUX_OBS
products.The expected behaviour is that the sampling rate continues uniformly, i.e.
23:51, 00:01, 00:11, ...