openwfm / wrfxpy

WRF-SFIRE data acquisitiion, forecasting, data assimilation, and visualization in Python.
MIT License
37 stars 17 forks source link

Deprecation in postprocessing #18

Open janmandel opened 7 years ago

janmandel commented 7 years ago

Visualization emits the warning "MatplotlibDeprecationWarning: axes.hold is deprecated"

janmandel commented 7 years ago

This warning is triggered by the the obsolete python package mpl_toolkits in basemap/init.py, not by our code. Unfortunately, upon upgrade version hell ensues:

conda upgrade matplotlib upgrades too many packages and then in python

import netCDF4 Traceback (most recent call last): File "", line 1, in File "/share_home/jmandel/lib/anaconda2/lib/python2.7/site-packages/netCDF4/init.py", line 3, in from ._netCDF4 import * ImportError: libmfhdf.so.0: cannot open shared object file: No such file or directory

janmandel commented 7 years ago

conda install hdf4 conda install jpeg=8 makes at least import netCDF4 not crash. Apparently anaconda dependencies are broken. See also ContinuumIO/anaconda-issues/issues/1360