Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi committed May 29, 2024
1 parent c1176cc commit 059524e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ def pnj_strength(cube, winter=True):
"""
# Extract regions of interest
notrop = iris.Constraint(air_pressure=lambda p: p < 8000.)
nh_cons = iris.Constraint(latitude=lambda l: l > 0)
sh_cons = iris.Constraint(latitude=lambda l: l < 0)
nh_cons = iris.Constraint(latitude=lambda lat: lat > 0)
sh_cons = iris.Constraint(latitude=lambda lat: lat < 0)
nh_tmp = cube.extract(notrop & nh_cons)
sh_tmp = cube.extract(notrop & sh_cons)

Expand Down

0 comments on commit 059524e

Please sign in to comment.