Skip to content

Commit

Permalink
Fix typo in geometric solar unit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
p-snft committed Oct 20, 2020
1 parent 6f910b5 commit db11702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feedinlib/models/geometric_solar.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def feedin(self, weather, location=None):
self.albedo)

if 'temperature' in weather:
temperature_celsius = weather['temperature'] - 271.35
temperature_celsius = weather['temperature'] - 273.15
else:
temperature_celsius = weather['temp_air']

Expand Down

0 comments on commit db11702

Please sign in to comment.