serpentine-h2020 / SEPpy

A compendium of Python data loaders and analysis tools for in-situ measurements of Solar Energetic Particles (SEP)
BSD 3-Clause "New" or "Revised" License
7 stars 6 forks source link

Make compatible to cdflib 1.0 #36

Closed jgieseler closed 1 year ago

jgieseler commented 1 year ago

cdflib has released a new major version 1.0 that contains a number of breaking changes (https://cdflib.readthedocs.io/en/latest/changelog.html). Some of them affect cdf loading with SEPpy (cf. https://github.com/jgieseler/SEPpy/actions/runs/5157367459/jobs/9321377868#step:6:514).

For the time being, cdflib version has been fixed to <1.0 with seppy 0.1.8, but the code needs to be adjusted to the new cdflib version.

jgieseler commented 1 year ago

NB: cdflib 1.0.2 also has a problem with "older" CDF files, like those of STEREO/HET (i.e., files whose format has been established a while ago, but it also affects the very recent data!): https://github.com/MAVENSDC/cdflib/issues/210

That part of this issue has been fixed with cdflib 1.0.3