spedas / pyspedas

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

Consolidate references to cdflib in ERG code #780

Closed jameswilburlewis closed 7 months ago

jameswilburlewis commented 7 months ago

Most of the ERG satellite and ground routines directly call cdflib to get the PI metadata when printing the rules of the road. The calls seem to be identical, so it would be good to factor those out into a single routine, to ease the transition to cdflib version 1.0.1 and above. See: https://github.com/spedas/pyspedas/issues/504