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
, where cdf_spec expects a dictionnary but info is not one
then the line globalaAttrs=cdf_master.globalattsget(expand=True) yields TypeError: CDF.globalattsget() got an unexpected keyword argument 'expand'
and the following line cdf_file.write_globalattrs(globalaAttrs) yields the following error :
in CDF.write_globalattrs(self, globalAttrs)
entryNumMaX = -1
poffset = -1
for entryNum, value in entry.items():
if entryNumMaX < entryNum:
entryNumMaX = entryNum
AttributeError: 'list' object has no attribute 'items'
Would it be possible to update the documentation for the latest version of the cdflib package ? Thank you !
The text was updated successfully, but these errors were encountered:
Hello,
The sample usage at the end of the writer class seem outdated. (https://cdflib.readthedocs.io/en/latest/modules/cdfwrite.html)
The first error is for
, where cdf_spec expects a dictionnary but info is not one
then the line
globalaAttrs=cdf_master.globalattsget(expand=True)
yieldsTypeError: CDF.globalattsget() got an unexpected keyword argument 'expand'
and the following line
cdf_file.write_globalattrs(globalaAttrs)
yields the following error :Would it be possible to update the documentation for the latest version of the cdflib package ? Thank you !
The text was updated successfully, but these errors were encountered: