-
Notifications
You must be signed in to change notification settings - Fork 2
Description
pysat 3.2.0 changes how parse_fixed_width_filenames works. For an empty fileset, values are returned as None rather than an empty list. This is a breaking change for the cosmic_gps instrument.
Since len cannot be run on NoneType, the check for files is updated to
stored['year'] is not None and len(stored['year']) > 0
where the first bit is the pysat 3.2.0 version, and the second bit is the pysat 3.1.0 check. When 3.2.0 is released, this can be simplified and a version limit can be added.
Metadata
Metadata
Assignees
Labels
No labels