-
Notifications
You must be signed in to change notification settings - Fork 2
realtime
These instructions are for setting up realtime LPT from scratch on a Linux system with an Anaconda Python environment.
First, download Anaconda Python for Linux using the download link at https://www.anaconda.com/. The current version is for Python 3.7. Subsequent Python versions should work as long as they maintain backwards compatibility. The current direct download link is here.
This is usually done by running the installer script (e.g., Anaconda3-2020.02-Linux-x86_64.sh). The script will ask for a directory where to install Python environments. Generally your home directory on your system will do. The Python environment on my system takes up 1.7 GB of space.
To set up a Python environment with the modules needed to run LPT, you can issue the following command:
conda create --name lpt numpy pandas matplotlib basemap netCDF4 h5py scipy wrf-python gdal
The command may first ask you to update Anaconda (optional). Answer yes when prompted with the list of modules to be installed, and it will install the environment. To activate the environment before running LPT, use source activate lpt