You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cdfread.CDF globalattsget() return {'attribute': [entry0, entry1]} rather than the expected {'attribute': {"0": entry0, "1": entry1}} as discussed in the doc and required by cdfwrite.CDF write_globalatts()
cdfwrite expects var_spec beng a dictionary. Yet cdfread read it to be a class. Of course it is easy to transform the VDRInfo class read by cdfread into a dictionary by VDRInfo.__dict__, but it might be more straightforward to use the same interface.
The text was updated successfully, but these errors were encountered:
SpaceWalker162
changed the title
cdfread.CDF globalattsget() return format not expected
cdfread.CDF globalattsget() return format not expected. attributes format conflict between cdfwrite and cdfread
Jun 18, 2024
cdfread.CDF globalattsget() return {'attribute': [entry0, entry1]} rather than the expected {'attribute': {"0": entry0, "1": entry1}} as discussed in the doc and required by cdfwrite.CDF write_globalatts()
cdfwrite expects var_spec beng a dictionary. Yet cdfread read it to be a class. Of course it is easy to transform the VDRInfo class read by cdfread into a dictionary by VDRInfo.__dict__, but it might be more straightforward to use the same interface.
The text was updated successfully, but these errors were encountered: