pysat / pysatNASA

pysat support for NASA Instruments
BSD 3-Clause "New" or "Revised" License
21 stars 6 forks source link

BUG: PLP data load #114

Closed jklenzing closed 2 years ago

jklenzing commented 2 years ago

Describe the bug When trying to load cnofs plp data, we get an error in pandas.

To Reproduce

import pysat
inst = pysat.Instrument('cnofs', 'plp')
inst.load(2009, 1)

yields

ValueError: ('Lengths must match to compare', (86400,), (1,))

Despite the error, data loads and can be inspected with plp.data

Expected behavior Data should load without error

Screenshots n/a

Desktop (please complete the following information):

Additional context See #113 for a similar problem

jklenzing commented 2 years ago

Root cause is treatment of metadata in older versions of cdflib. Already solved by #112.