Skip to content

Commit

Permalink
Fix incorrect ghi_clear PSM3 request mapping (#1819)
Browse files Browse the repository at this point in the history
* fix psm3 request mapping

* whatsnew
  • Loading branch information
kandersolar authored Aug 1, 2023
1 parent 23453b4 commit 996361d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/sphinx/source/whatsnew/v0.10.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Enhancements

Bug fixes
~~~~~~~~~

* :py:func:`~pvlib.iotools.get_psm3` no longer incorrectly returns clear-sky
DHI instead of clear-sky GHI when requesting ``ghi_clear``. (:pull:`1819`)

Testing
~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion pvlib/iotools/psm3.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
'ghi': 'ghi',
'dhi': 'dhi',
'dni': 'dni',
'ghi_clear': 'clearsky_dhi',
'ghi_clear': 'clearsky_ghi',
'dhi_clear': 'clearsky_dhi',
'dni_clear': 'clearsky_dni',
'zenith': 'solar_zenith_angle',
Expand Down

0 comments on commit 996361d

Please sign in to comment.