SHARPpy is a collection of open source sounding and hodograph analysis routines, a sounding plotting package, and an interactive, cross-platform application for analyzing real-time soundings all written in Python. It was developed to provide the atmospheric science community a free and consistent source of sounding analysis routines. SHARPpy is constantly updated and vetted by professional meteorologists and climatologists within the scientific community to help maintain a standard source of sounding routines.
Table of Contents
If you are using Windows or a Macintosh, SHARPpy is available as a pre-compiled executable file! Click on the releases section on the right and select the latest version of SHARPpy. Under assets, you can select the zip file for you operating system. You can unzip and run SHARPpy by double clicking on the SHARPpy.exe (windows) or SHARPpy (mac).
Note: You may need administrative permissions to run executables on your machine, so please consult with your IT department if you have problems.
Use this option if you are unable to run executable files or you are interested in using the scripting features.
You will need Python 3 to run SHARPpy. For instructions, visit the following websites:
- https://www.anaconda.com/products/individual for instructions on how to set-up Python.
You will need run a few simple commands in a command line program:
- Linux/MacOS: Open the Terminal application.
- Windows: Open the Anaconda Prompt application.
Note: If you are installing Anaconda for multiple users, ensure these additional steps are met, which includes checking the permissions using an administrator account.
First, you must download the SHARPpy package to your computer. We show different options to accommodate different user and system needs.
Open the command line (Anaconda Prompt on Windows, Terminal on MacOs/Linux) type the following command:
conda install -c conda-forge sharppy
This will download and install SHARPpy. Skip to the running SHARPpy from the command line section.
You can manually download the SHARPpy package by clicking the "Code" button at the top right of the repository, then select "Download Zip." Unzip the files in the directory that you want to permanently store them.
Skip to the Install SHARPpy from the Command Line section.
If you have Git installed and are familiar with it, open the command line for your operating system (see above) to perform these steps.
git clone https://github.com/sharppy/SHARPpy
Skip to the Install SHARPpy from the Command Line section.
If you did option 1 above, you can skip to the next section. If you did option 2 or 3, open the terminal (UNIX/Linux) or Anaconda Prompt (Windows) and change your directory to where you have downloaded SHARPpy (e.g. /home/{user}/SHARPpy).
cd /home/<user>/SHARPpy
Next, we to create an isolated Anaconda environment just for running SHARPpy with all the necessary libraries (using conda env create {options}; it may take several minutes to install the libraries). If you are interested, you can open the environment.yml file to see which libraries are used.
conda env create -f environment.yml
After creating the environment, we need to switch to this new environment (via conda activate {env_name}) which we have named devel.
conda activate devel
Run setup.py to update SHARPpy.
python setup.py install
Once the installation is complete, keep the terminal open and follow the steps in the next section to launch SHARPpy.
In the command line, type the command sharppy to launch the program.
sharppy
If successful, a window will open which will give you access to soundings from RAOBS, select models, and NUCAPS.
If you close the terminal window, you will have to repeat the following steps:
- Open the terminal (Unix/Linux) or Anaconda Prompt (Windows)
- Switch your environment to devel ("conda activate devel") [note: skip if you did option 1]
- Type sharppy and the window should launch.
conda activate devel
sharppy
SHARPpy is currently managed by the following co-developers (in no particular order):
- Patrick Marsh (SPC)
- Kelton Halbert (SPC)
- Greg Blumberg (Millersville University)
- Tim Supinie (Center for Analysis and Prediction of Storms)
- Rebekah Esmaili (Science and Technology Corp.)
- Jeff Szkodzinski (Science and Technology Corp.)
If you are interested in providing feedback or contributing, checkout our guide for some tips!