PyNcView is a cross-platform NetCDF viewer written in Python. It provides an easy-to-use graphical user interface to the creation of animations and publication-quality figures.
I have a .nc file and have installed pyncview. the menu bar is in pyncview is populated with different variables, but when i click on them, an error window pops up with the following messages:
_Traceback (most recent call last):
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 2785, in _wait_cursor_for_draw_cm
self.set_cursor(cursors.WAIT)
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/gui_qt4.py", line 324, in set_cursor
from matplotlib.backends.backend_qt4 import cursord
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backends/backend_qt4.py", line 1, in
from .backend_qt5 import (
ImportError: cannot import name 'exception_handler'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/pyncview/pyncview.py", line 1587, in onSelectionChanged
self.figurepanel.figure.setUpdating(oldupdating)
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/plot.py", line 691, in setUpdating
if allowupdates and self.dirty: self.update()
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/plot.py", line 833, in update
self.canvas.draw()
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backends/backend_agg.py", line 392, in draw
else nullcontext()):
File "/usr/lib/python3.6/contextlib.py", line 81, in enter
return next(self.gen)
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 2788, in _wait_cursor_for_draw_cm
self.set_cursor(self._lastCursor)
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/gui_qt4.py", line 324, in set_cursor
from matplotlib.backends.backend_qt4 import cursord
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backends/backend_qt4.py", line 1, in
from .backend_qt5 import (
ImportError: cannot import name 'exceptionhandler'
I have a .nc file and have installed pyncview. the menu bar is in pyncview is populated with different variables, but when i click on them, an error window pops up with the following messages:
_Traceback (most recent call last): File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 2785, in _wait_cursor_for_draw_cm self.set_cursor(cursors.WAIT) File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/gui_qt4.py", line 324, in set_cursor from matplotlib.backends.backend_qt4 import cursord File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backends/backend_qt4.py", line 1, in
from .backend_qt5 import (
ImportError: cannot import name 'exception_handler'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/pyncview/pyncview.py", line 1587, in onSelectionChanged self.figurepanel.figure.setUpdating(oldupdating) File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/plot.py", line 691, in setUpdating if allowupdates and self.dirty: self.update() File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/plot.py", line 833, in update self.canvas.draw() File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backends/backend_agg.py", line 392, in draw else nullcontext()): File "/usr/lib/python3.6/contextlib.py", line 81, in enter return next(self.gen) File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 2788, in _wait_cursor_for_draw_cm self.set_cursor(self._lastCursor) File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/gui_qt4.py", line 324, in set_cursor from matplotlib.backends.backend_qt4 import cursord File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backends/backend_qt4.py", line 1, in
from .backend_qt5 import (
ImportError: cannot import name 'exceptionhandler'