Skip to content

NUCAPS/SHARPpy

 
 

Repository files navigation

SHARPpy

Sounding/Hodograph Analysis and Research Program in Python

Test Status Build Status Anaconda-Server Badge Anaconda-Server Badge Coverage Status Anaconda-Server Badge

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.

Important links:

Table of Contents


Easy SHARPpy using executable files

[Return to Top]

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.


Regular install

[Return to Top]

Use this option if you are unable to run executable files or you are interested in using the scripting features.

Pre-requisites

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:

  • 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.

Install options

First, you must download the SHARPpy package to your computer. We show different options to accommodate different user and system needs.

Option 1: conda forge (easiest)

[Return to Top]

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.

Option 2: Manual download (easy)

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.

Option 3: Download using Git (intermediate)

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.

Install SHARPpy from the command line

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.

Running SHARPpy from the command line

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.

How to run SHARPpy next time you log on

If you close the terminal window, you will have to repeat the following steps:

  1. Open the terminal (Unix/Linux) or Anaconda Prompt (Windows)
  2. Switch your environment to devel ("conda activate devel") [note: skip if you did option 1]
  3. Type sharppy and the window should launch.
conda activate devel
sharppy

SHARPpy Development Team

[Return to Top]

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!

About

Sounding/Hodograph Analysis and Research Program in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 66.3%
  • BlitzMax 9.3%
  • Roff 5.0%
  • Haskell 4.9%
  • TeX 2.1%
  • C++ 2.0%
  • Other 10.4%