Skip to content

Commit

Permalink
Update retrieval.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachHoppinen authored Sep 6, 2023
1 parent 08af04d commit e646a4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spicy_snow/retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def retrieval_from_parameters(dataset: xr.Dataset,
C: float,
wet_SI_thresh: float = 0,
freezing_snow_thresh: float = 2,
wet_snow_thres: float = -2):
wet_snow_thresh: float = -2):
"""
Retrieve snow depth with varied parameter set from an already pre-processed
dataset.
Expand Down Expand Up @@ -228,7 +228,7 @@ def retrieval_from_parameters(dataset: xr.Dataset,
dataset = calc_snow_index_to_snow_depth(dataset, C = C)

# find newly wet snow
dataset = id_newly_wet_snow(dataset, wet_thresh = wet_snow_thres)
dataset = id_newly_wet_snow(dataset, wet_thresh = wet_snow_thresh)
dataset = id_wet_negative_si(dataset, wet_SI_thresh = wet_SI_thresh)

# find newly frozen snow
Expand Down

0 comments on commit e646a4c

Please sign in to comment.