consolidate

This commit is contained in:
2025-12-08 22:25:45 +00:00
parent 35be1d0823
commit 3399dda125
3 changed files with 2174 additions and 0 deletions

View File

@@ -81,6 +81,10 @@ def create_dict(precipitation,snowfall,snowdepth,maxt,mint):
case "T":
snowfall = 0.0
snowfalltrace = True
case "0.0001":
snowfall = 0.0
snowfalltrace = True
case _:
snowfall = round(float(snowfall),1)
snowfalltrace = False
@@ -92,6 +96,9 @@ def create_dict(precipitation,snowfall,snowdepth,maxt,mint):
case "T":
snowdepth = 0.0
snowdepthtrace = True
case "0.0001":
snowdepth = 0.0
snowdepthtrace = True
case _:
snowdepth = round(float(snowdepth),1)
snowdepthtrace = False