Sounding/Hodograph Analysis and Research Program in Python
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.
The version of SHARPpy in this repository allows users to access NUCAPS, a satellite sounding product.
Table of Contents
=======================================================================
You will need Python 3 to run SHARPpy. For instructions, visit the following websites:
You will need run a few simple commands in a command line program:
Note: If you are installing Anaconda for multiple users, ensure these additional steps are met, which includes checking the permissions using an administrator account.
=======================================================================
For those wishing to run both the GUI and do scripting, we recommend you install the Python 3 Anaconda Python Distribution from Continuum Analytics. You can install SHARPpy from conda by using:
conda install -c conda-forge sharppy
Skip to the 'Running SHARPpy from the Command Line' section.
If you aren't downloading from conda forge, you can download sharppy using the following options.
You can manually download the coding 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.
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
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 NUCAPS, RAOBS, and select models. For instructions on using SHARPpy, see the “Display NUCAPS in SHARPpy” quick guide.
If you close the terminal window, you will have to repeat the following steps:
conda activate devel
sharppy
=======================================================================
SHARPpy is currently managed by the following co-developers (in no particular order):