pysat / pysatCDF

Python reader for NASA CDF file format
BSD 3-Clause "New" or "Revised" License
10 stars 7 forks source link

Trouble reading the SWARM L1B Langmuir Probe cdf files #27

Closed gregstarr closed 3 years ago

gregstarr commented 3 years ago

Files: https://swarm-diss.eo.esa.int/#swarm%2FLevel1b%2FLatest_baselines%2FEFIx_LP

Error:

image

I have a fix proposed in ~#26~ #28 .

I haven't found the root cause of the error, i.e. I don't know whether it is a bad file or a problem with pysatCDF or what. The proposed fix is a bit of a hack, but allows for the user to recover the actual data even if the metadata can't be properly read.

gregstarr commented 3 years ago

Is this fixed to your satisfaction by #28 ?