Skip to content

Commit

Permalink
Added SHERBE calculation to ConvectiveProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 11, 2019
1 parent 525f06a commit 96344ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sharppy/sharptab/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,8 @@ def get_severe(self):
wspd = utils.mag(self.sfc_6km_shear[0], self.sfc_6km_shear[1])
self.right_stp_fixed = params.stp_fixed(self.sfcpcl.bplus, self.sfcpcl.lclhght, self.right_srh1km[0], utils.KTS2MS(wspd))
self.left_stp_fixed = params.stp_fixed(self.sfcpcl.bplus, self.sfcpcl.lclhght, self.left_srh1km[0], utils.KTS2MS(wspd))
self.sherbe = params.sherb(self, effective=True)

if self.etop is np.ma.masked or self.ebottom is np.ma.masked:
self.right_scp = 0.0; self.left_scp = 0.0
self.right_stp_cin = 0.0; self.left_stp_cin = 0.0
Expand Down

0 comments on commit 96344ed

Please sign in to comment.