Skip to content

Commit

Permalink
Update pvanalytics/features/snow.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
  • Loading branch information
eccoope and kandersolar authored Jun 27, 2024
1 parent 5b96547 commit acf4aef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pvanalytics/features/snow.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ def categorize(transmission, measured_voltage,
# take care of divide by zero
vmp_ratio[modeled_voltage_with_calculated_transmission == 0] = 1

# vmp_ratio discrimates between states (1,2) and (3,4)
# vmp_ratio discriminates between states (1,2) and (3,4)
uvr = np.where(vmp_ratio >= threshold_vratio, 3, 1)

# transmission discrimates within (1,2) and (3,4)
# transmission discriminates within (1,2) and (3,4)
utrans = np.where(transmission >= threshold_transmission, 1, 0)

# None if transmission, vmp_ratio, modeled_voltage_with_ideal_transmission,
Expand Down

0 comments on commit acf4aef

Please sign in to comment.