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
I know the malformed attr is inside the zmo3 variable, but the exception does not provide that info and makes handling the execption quite dificult:
try:
dataset.cf[variable_standard_name]
exceptValueErroraserr:
# err => ValueError("attrs['cell_measures'] = 'N/A' is malformed.")pass# How to del the malformed attr if I do not know the variable
It would be nice that the Value error includes the variables that raised the issue.
The text was updated successfully, but these errors were encountered:
dcherian
added a commit
to dcherian/cf-xarray
that referenced
this issue
Jul 15, 2022
I have the following dataset:
Where the attr
cell_measures
is malformed:I know the malformed attr is inside the zmo3 variable, but the exception does not provide that info and makes handling the execption quite dificult:
It would be nice that the Value error includes the variables that raised the issue.
The text was updated successfully, but these errors were encountered: