spedas / pyspedas

Python-based Space Physics Environment Data Analysis Software
https://pyspedas.readthedocs.io/
MIT License
143 stars 58 forks source link

geopack test suite passes NaNs in position variables to geopack calls #831

Closed jameswilburlewis closed 2 months ago

jameswilburlewis commented 2 months ago

When the positions are interpolated onto the proton_speed variable, there are NaNs in the interpolated positions. This gives runtime warnings in the geopack calls. We should either do a tdeflag step to clean up the NaNs, or specify an extrapolation option to use fill values rather than NaNs.