Skip to content

Commit d46837c

Browse files
committed
add note about default value
1 parent b6424e3 commit d46837c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pvlib/snow.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ def coverage_nrel(snowfall, poa_irradiance, temp_air, surface_tilt,
169169
if snow_depth is not None:
170170
# no coverage when there's no snow on the ground
171171
# described in [2] to avoid non-sliding snow for low-tilt systems.
172+
# default threshold_depth of 1cm is from SAM's implementation and
173+
# is different than the value of 0cm implied in [2].
174+
# https://github.com.mcas-gov.ms/NREL/ssc/issues/1265
172175
snow_coverage[snow_depth < threshold_depth] = 0.
173176
# clean up periods where row is completely uncovered
174177
return snow_coverage.clip(lower=0)

0 commit comments

Comments
 (0)