Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. A Python 3 interpreter
  2. Metview 5 needs to be in your PATH
  3. Metview's Python module needs to be in your PYTHONPATHaccessible from Python

So, to try it right now, do the following from a terminal:

Code Block
module load python3/new
module swap metview/new
export PYTHONPATH=/scratch/graphics/cgi/module load metview-python/lib/python3.6/site-packages/:$PYTHONPATH

Test it

Here's a quick Python program to check that it's working. Copy this into a file called test-metview.py

...