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
In a python file, Dask's multiprocessing initializes the workers with the state of the python process beforeif __name__ == '__main__'. In a notebook, all the code is executed after the equivalent. Thus, imports in any cell are not included in the initial state of the worker.
When to_dask is executed, the code sent to the workers includes references to intake-esm which is then imported automatically. However, it does not include any reference to xscen, which is then not imported, and the attrs_prefix option is never updated.
Setup Information
Description
The attrs_prefix
cat:
doesn't work when in a jupyter notebook and under a dask client. Instead, we haveintake_esm_attrs:
Steps To Reproduce
in a jupyter notebook
gives
but
gives
Additional context
intake_esm.set_options(attrs_prefix="cat")
does nothing.Contribution
The text was updated successfully, but these errors were encountered: