Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhanse committed Dec 22, 2024
1 parent 57f5eef commit 81c44d7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pvlib/snow.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,6 @@ def coverage_nrel(snowfall, poa_irradiance, temp_air, surface_tilt,
snow_coverage.ffill(inplace=True)
snow_coverage -= cumulative_sliding

# if snow_depth is not None:
# # no coverage when there's no snow on the ground
# # described in [2] to avoid non-sliding snow for low-tilt systems.
# # default threshold_depth of 1cm is from SAM's implementation and
# # is different than the value of 0cm implied in [2].
# # https://github.com.mcas-gov.ms/NREL/ssc/issues/1265
# snow_coverage[snow_depth < threshold_depth] = 0.
# clean up periods where row is completely uncovered
return snow_coverage.clip(lower=0)


Expand Down

0 comments on commit 81c44d7

Please sign in to comment.