spedas / pyspedas

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

Suppress warnings about non-nanosecond time precision in store_data #820

Closed jameswilburlewis closed 5 months ago

jameswilburlewis commented 5 months ago

While we're waiting for the cdflib developers to release a new version that uses nanonsecond precision timestamps, there's a single call in store_data.py that's responsible for hundreds of warning log messages in a typical Github test run. It's just noise at this point, so we might as well do something to get rid of the warning to avoid spamming the test logs.