-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problematic interpolation on mismatched time series #360
Comments
20190915T184235_vires_settings.zip VirES workspace state file attached |
Unfortunately, it is. The web client, as it is designed, can not handle datasets of one spacecraft with different sampling. But we could try to mitigate these artifacts. This actually how the oscillation is created ... The MAGx_LR data sampled 1Hz and and aligned to the edge of a UTC second (blues rectangles) There are two possible ways how to get rid of the oscillations:
The first would require significant effort to rewrite the server-side data pipeline. The latter can be done easily by switching to the recently added linear interpolation ESA-VirES/VirES-Server@0eb1c1a |
It looks better now with the new linear interpolation. There's likely some issues elsewhere with the interpolation behaviour. At the very least it is moving data points from how they are in the original data, which could cause problems when downloading the data for further processing. Maybe we should consider some health warning about selecting multiple datasets - that there is this merging behaviour going on. |
I agree. |
I found this problem specifically with the usage of the B_NEC or F measurement - model residuals when also accessing the EFI dataset, but it probably has broader effects...
Using EFI means that the data cadence is set to 0.5-second. B_NEC/F measurements then use a nearest-neighbour interpolation. The model evaluations instead appear to use the higher cadence positions from the EFI dataset. This leads to an oscillating point-to-point variation in the residual as shown in the image here.
viresclient notebook:
https://nbviewer.jupyter.org/github/smithara/viresclient_examples/blob/master/joint_MAG_EFI_IBI.ipynb
In particular look at the B_NEC and model values at the bottom of the notebook - B_NEC stays the same over two sample points whereas the model changes at every point. [edit: see also the VirES workspace file below]
I am not sure what the "correct" behaviour should be. Is it a problem to allow different datasets to retain their original sampling points rather than forcing them onto a shared time series?
The text was updated successfully, but these errors were encountered: