Unable to read some unstructured datasets (UnboundLocalError
)
#315
Labels
bug
Something isn't working
UnboundLocalError
)
#315
For example, using the
cfplot_data
example LFric dataset as used by the cf-plot documentation,lfric_initial.nc
, we hit anUnboundLocalError
due to bad logic to process a defined variablemesh
so that it can be undefined when we attempt to report an attribute on it in a log call:This pervades downstream in cf-python, so
cf.read
will also hit the error.PR to follow.
Env
Using the up-to-date present
main
branches for cfdm (and cf-python when tested downstream):The text was updated successfully, but these errors were encountered: