Code Monkey home page Code Monkey logo

Comments (3)

keltonhalbert avatar keltonhalbert commented on June 18, 2024

For the purpose of records...

Greg used the SHIP values from the SARS database and then used the SPC equation to calculate SHIP based on the parameters in the SARS hail file. This graph he made demonstrates the spread between SHIP in the database and SHIP calculated using it's own variables.

It obviously does not stay along the line as it should, leading the conclusion to be that the equation documented on the SPC webpage is in error, or the database is in error.

screen shot 2014-08-07 at 12 19 25 am

from sharppy.

wblumberg avatar wblumberg commented on June 18, 2024

August 23, 2014...wrote Ryan Jewell regarding these issues and sent him the figure attached to this thread by Kelton.

from sharppy.

wblumberg avatar wblumberg commented on June 18, 2024

Ryan Jewell wrote back a few hours later with some corrections to the SHIP equation. He mentioned that the denominator was incorrect. It is not 44,000,000 but rather 42,000,000:
"""
in addition to 42,000,000 in denominator, apply these checks before calculating and replot:

if 6km shear > 27 m/s, set to 27.
if 6km shear < 7 m/s, set to 7.
if mumixr > 13.6, set to 13.6
if mumixr < 11, set to 11
if 500 mb temp > -5.5, set to -5.5

Then calculate. THEN...

if mucape < 1300, ship = ship_(mucape/1300)
if 7-5 lr < 5.8, ship = ship_(lr75/5.8)
if freezing level < 2400m, ship = ship*(fzl/2400)

Then you'll have the final number nsharp has.
"""

Upon changes to the code, I loaded up a couple of different soundings (including the test sounding seen below) and the SHIP values compared perfectly. There may be some differences at some point, as I'm uncertain if the virtual temperature correction needs to be found in order to find the freezing level, but the consistency between the numbers I saw were spot on.

skewt

from sharppy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.