Skip to content

Commit 996361d

Browse files
authored
Fix incorrect ghi_clear PSM3 request mapping (#1819)
* fix psm3 request mapping * whatsnew
1 parent 23453b4 commit 996361d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ Enhancements
1919

2020
Bug fixes
2121
~~~~~~~~~
22-
22+
* :py:func:`~pvlib.iotools.get_psm3` no longer incorrectly returns clear-sky
23+
DHI instead of clear-sky GHI when requesting ``ghi_clear``. (:pull:`1819`)
2324

2425
Testing
2526
~~~~~~~

pvlib/iotools/psm3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
'ghi': 'ghi',
4747
'dhi': 'dhi',
4848
'dni': 'dni',
49-
'ghi_clear': 'clearsky_dhi',
49+
'ghi_clear': 'clearsky_ghi',
5050
'dhi_clear': 'clearsky_dhi',
5151
'dni_clear': 'clearsky_dni',
5252
'zenith': 'solar_zenith_angle',

0 commit comments

Comments
 (0)