Skip to content

realtime

Brandon Kerns edited this page Apr 1, 2020 · 12 revisions

LPT Set-Up for Real Time

These instructions are for setting up realtime LPT from scratch on a Linux system with an Anaconda Python environment.

1. Set up Python for LPT

Download Anaconda

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.

Install Anaconda

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.

Set up Python environment

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.

2. Obtain the code and configure

Navigate to a directory where you want to run LPT, and get the code using the following:

git clone 
Clone this wiki locally