Skip to content

Jeff-Szkodzinski/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.

The version of SHARPpy in this repository allows users to access NUCAPS, a satellite sounding product.

Important links:

Table of Contents

=======================================================================

Install Pre-requisites

[Return to Top]

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 SHARPpy

[Return to Top]

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.

Download options

If you aren't downloading from conda forge, you can download sharppy using the following options.

Option 1: Manual download (easy)

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.

Option 2: 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

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

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 NUCAPS, RAOBS, and select models. For instructions on using SHARPpy, see the “Display NUCAPS in SHARPpy” quick guide.

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")
  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 (UW-Madison)
  • Greg Blumberg (NASA GSFC)
  • Tim Supinie (OU School of Meteorology)
  • Rebekah Esmaili (Science and Technology Corp.)
  • Jeff Szkodzinski (Science and Technology Corp.)

About

Sounding/Hodograph Analysis and Research Program in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.9%
  • BlitzMax 9.4%
  • Roff 5.0%
  • Haskell 5.0%
  • TeX 2.1%
  • C++ 2.0%
  • Other 9.6%