summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--waterspout-radar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waterspout-radar.py b/waterspout-radar.py
index c6d5ad5..ec58e64 100644
--- a/waterspout-radar.py
+++ b/waterspout-radar.py
@@ -35,7 +35,7 @@ def main():
el = calc.pressure_to_height_std(pressure)
ccd = (el - lcl).to(units.ft)
try:
- swi = szilagyi.calculate_swi(dt, ccd)
+ swi = szilagyi.calculate_swi(dt, ccd, pred.at('wind_u', _L.H850)) # merge with wind_v
except ValueError:
swi = -10
print(pred.timestamp, dt, ccd, swi)