From 00f40ea72ef552fc5cd3ccb5e00e72645f4d90a6 Mon Sep 17 00:00:00 2001 From: "Adam R. Jensen" <39184289+AdamRJensen@users.noreply.github.com> Date: Sun, 10 May 2026 19:12:58 -0100 Subject: [PATCH 1/3] Add albedo to get_nasa_power variable map --- pvlib/iotools/nasa_power.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pvlib/iotools/nasa_power.py b/pvlib/iotools/nasa_power.py index c7c74760f7..47dad5f2d3 100644 --- a/pvlib/iotools/nasa_power.py +++ b/pvlib/iotools/nasa_power.py @@ -18,6 +18,7 @@ 'T2M': 'temp_air', 'WS2M': 'wind_speed_2m', 'WS10M': 'wind_speed', + 'ALLSKY_SRF_ALB': 'albedo', } From ddaf32609ee58c70e4fd0a10b30884419f5b938f Mon Sep 17 00:00:00 2001 From: "Adam R. Jensen" <39184289+AdamRJensen@users.noreply.github.com> Date: Wed, 20 May 2026 17:46:52 +0200 Subject: [PATCH 2/3] Add WhatsNew entry --- docs/sphinx/source/whatsnew/v0.15.2.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/sphinx/source/whatsnew/v0.15.2.rst b/docs/sphinx/source/whatsnew/v0.15.2.rst index 3c54d3b0a0..b32dc697a9 100644 --- a/docs/sphinx/source/whatsnew/v0.15.2.rst +++ b/docs/sphinx/source/whatsnew/v0.15.2.rst @@ -25,6 +25,9 @@ Bug fixes Enhancements ~~~~~~~~~~~~ +* Added mapping of the parameter ``"albedo"`` in + ~:py:func:``pvlib.iotools.get_nasa_power` when ``map_variables=True`` + (:pull:`2753`) Documentation @@ -58,3 +61,4 @@ Contributors * :ghuser:`Omesh37` * Cliff Hansen (:ghuser:`cwhanse`) * Arthur Onno (:ghuser:`ArthurOnnoTerabase`) +* Adam R. Jensen (:ghuser:`AdamRJensen`) From 7458b459e06bbb930b9aece1c8ee271a73c91f29 Mon Sep 17 00:00:00 2001 From: "Adam R. Jensen" <39184289+AdamRJensen@users.noreply.github.com> Date: Wed, 20 May 2026 17:53:07 +0200 Subject: [PATCH 3/3] Update docs/sphinx/source/whatsnew/v0.15.2.rst Co-authored-by: Kevin Anderson --- docs/sphinx/source/whatsnew/v0.15.2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx/source/whatsnew/v0.15.2.rst b/docs/sphinx/source/whatsnew/v0.15.2.rst index b32dc697a9..1f4524d893 100644 --- a/docs/sphinx/source/whatsnew/v0.15.2.rst +++ b/docs/sphinx/source/whatsnew/v0.15.2.rst @@ -26,7 +26,7 @@ Bug fixes Enhancements ~~~~~~~~~~~~ * Added mapping of the parameter ``"albedo"`` in - ~:py:func:``pvlib.iotools.get_nasa_power` when ``map_variables=True`` + :py:func:`~pvlib.iotools.get_nasa_power` when ``map_variables=True`` (:pull:`2753`)