Fork me on GitHub

Available GUI Insets:

STP Ingredients and EF Probabilties for diagnosing tornadic environment ingredients.

Sounding Analogue Retrieval System to compare soundings with previous severe weather environments.

Conditional Tornado Intensity Probabilities

Conditional WSR-88D 0.5 Deg. Azimuthal Shear Tornado Intensity Probabilities

Expected Hail Sizes based on the SHIP parameter.

Fire weather parameters and guidance.

Required Packages

Required packages to run SHARPpy:

  • PySide (for plotting)
  • Numpy (for running SHARPTAB routines)

Both packages can be obtained online or through the conda, easyinstall, or pip package managers.

Installing SHARPpy

To install SHARPpy in your Python directory (using the SHARPpy codebase):

  1. Download the SHARPpy ZIP file or clone SHARPpy from GitHub by typing the following command in your command prompt:
    git clone http://github.com/sharppy/SHARPpy.
  2. If you downloaded the SHARPpy zip file, unzip it.
  3. cd into the directory and type in:
    python setup.py install
  4. Test the installation by loading up a Python terminal and typing:
    import sharppy
  5. To run the SHARPpy GUI and access observed and model forecast soundings, cd into the runsharp folder and type in:
    python full_gui.py

Documentation

Documentation for the SHARPpy project can be found here.

Tutorials

Examples scripts that can interact with the SHARPpy code:

  • Constructing the Profile object.
  • Reading in Bufkit and SPC style data.
  • Handling missing values.
  • QCing the data.
  • Interacting with SHARPTAB
  • Interpolating between levels
  • Converting units and between MSL and AGL
  • Plotting the data on a Skew-T.
    • Passing the profile object.
    • Passing a parcel trace and plotting significant parcel levels (LCL, LFC, EL)
    • Plotting other things like wet-bulb temperature
    • Drawing wet-adiabats.
    • Plotting the DGZ
  • Plotting the wind data on a hodograph.
    • Passing the profile object.
    • Drawing the hodograph.
    • Centering the hodograph on a wind vector
    • Plotting wind vectors on it
    • Changing the colors in plots
  • Figuring out thermodynamic parameters.
    • Lifting different parcels
    • Effective inflow layer
    • Calculating LFC, LCL, CAPE, EPL, CIN, LI
    • Lapse rates
  • Finding out kinematic parameters for a profile.
    • Finding mean-layer winds
    • Calculating shear
    • Determining storm-relative winds and storm-motion vectors
    • Calculating storm-relative helicity