Skip to content

Commit

Permalink
Changed precipitation variable description to reflect that it is a flux.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobwes committed Sep 22, 2023
1 parent 7e3fdd7 commit e47440f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ibicus/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ def _validate_reasonable_physical_range(self, attribute, value):
"""

pr = Variable(
name="Daily mean precipitation",
name="Daily mean precipitation flux",
unit="kg m-2 s-1",
reasonable_physical_range=[0, 0.01],
)
"""
Daily mean precipitation, unit: kg m-2 s-1
Daily mean precipitation flux, unit: kg m-2 s-1
"""

prsn = Variable(
Expand All @@ -105,9 +105,11 @@ def _validate_reasonable_physical_range(self, attribute, value):
Daily mean snowfall flux, unit: kg m-2 s-1
"""

prsnratio = Variable("Daily mean snowfall flux / Daily mean precipitation", unit="1")
prsnratio = Variable(
"Daily mean snowfall flux / Daily mean precipitation flux", unit="1"
)
"""
Daily mean snowfall flux / Daily mean precipitation, unit: 1
Daily mean snowfall flux / Daily mean precipitation flux, unit: 1
"""

psl = Variable(
Expand Down

0 comments on commit e47440f

Please sign in to comment.