8000 fix variable/column name bug in HRRR_ESRL.output_variables (#558) · ransa001/pvlib-python@7166fb0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7166fb0

Browse files
authored
fix variable/column name bug in HRRR_ESRL.output_variables (pvlib#558)
1 parent affc1bf commit 7166fb0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/sphinx/source/whatsnew/v0.6.0.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ Bug fixes
129129
* Fix issue with unbounded clearness index calculation in disc. (:issue:`540`)
130130
* Limit pvwatts_ac results to be greater than or equal to 0. (:issue:`541`)
131131
* Fix bug in get_relative_airmass(model='youngirvine1967'). (:issue:`545`)
132+
* Fix bug in variable names returned by forecast.py's HRRR_ESRL model.
133+
(:issue:`557`)
132134

133135

134136
Documentation

pvlib/forecast.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,8 +747,8 @@ class HRRR_ESRL(ForecastModel):
747747
"""
748748

749749
def __init__(self, set_type='best'):
750-
import warnings
751-
warnings.warn('HRRR_ESRL is an experimental model and is not always available.')
750+
warnings.warn('HRRR_ESRL is an experimental model and is not '
751+
'always available.')
752752

753753
model_type = 'Forecast Model Data'
754754
model = 'GSD HRRR CONUS 3km surface'
@@ -764,7 +764,7 @@ def __init__(self, set_type='best'):
764764

765765
self.output_variables = [
766766
'temp_air',
767-
'wind_speed'
767+
'wind_speed',
768768
'ghi_raw',
769769
'ghi',
770770
'dni',

0 commit comments

Comments
 (0)
0