MITgcm/xmitgcm

Deprecation warning for 'open_mdsdataset'

debgardner opened this issue · 1 comments

I receive the warning below when importing 'open_mdsdataset.' I'm new to Python and unsure how to resolve this issue. The warning is affecting my ability to move forward in my notebook as well. Thanks in advance. -Deb

~/.conda/envs/ecco/lib/python3.8/site-packages/docrep/init.py:413: MatplotlibDeprecationWarning:
The dedent function was deprecated in Matplotlib 3.1 and will be removed in 3.3. Use inspect.cleandoc instead.
s = dedents(s)

~/.conda/envs/ecco/lib/python3.8/site-packages/docrep/init.py:342: MatplotlibDeprecationWarning:
The dedent function was deprecated in Matplotlib 3.1 and will be removed in 3.3. Use inspect.cleandoc instead.
s = dedents('\n' + '\n'.join(lines[first:]))

Hey @debgardner, I think I've seen this warning before but I think it's benign and either way is due to the docrep package, not xmitgcm. Could you post the error message that's hindering your workflow? I'd be happy to help debug if I can. Also, could you post which version of xmitgcm you're using or if you cloned the repo from github? Thanks!