From 52f57912da8eb3ca509427a6932c5e737618034c Mon Sep 17 00:00:00 2001 From: RDaxini Date: Mon, 5 Oct 2026 11:17:03 -0600 Subject: [PATCH 1/4] no ras --- pvlib/spa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvlib/spa.py b/pvlib/spa.py index fe072b2cc9..40e1a55833 100644 --- a/pvlib/spa.py +++ b/pvlib/spa.py @@ -1,5 +1,5 @@ """ -Calculate the solar position using the NREL SPA algorithm either using +Calculate the sun's position using the NREL Solar Position Algorithm (SPA) either using numpy arrays or compiling the code to machine language with numba. """ From e0589bfb508f8663fb41263e16d40a1aaf399f3c Mon Sep 17 00:00:00 2001 From: RDaxini Date: Mon, 5 Oct 2026 11:23:05 -0600 Subject: [PATCH 2/4] Update v0.16.2.rst --- docs/sphinx/source/whatsnew/v0.16.2.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/sphinx/source/whatsnew/v0.16.2.rst b/docs/sphinx/source/whatsnew/v0.16.2.rst index b43e21ac47..537f8db20e 100644 --- a/docs/sphinx/source/whatsnew/v0.16.2.rst +++ b/docs/sphinx/source/whatsnew/v0.16.2.rst @@ -45,5 +45,6 @@ Maintenance Contributors ~~~~~~~~~~~~ - * Chen Yi (:ghuser:`chenyi6758-source`) +* Rajiv Daxini (:ghuser:`rdaxini`) + From 03267a70921286270fec0ba1c154dfb5ad7dfd63 Mon Sep 17 00:00:00 2001 From: RDaxini Date: Mon, 5 Oct 2026 11:29:22 -0600 Subject: [PATCH 3/4] flake8 --- pvlib/spa.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pvlib/spa.py b/pvlib/spa.py index 40e1a55833..e024f033c0 100644 --- a/pvlib/spa.py +++ b/pvlib/spa.py @@ -1,6 +1,7 @@ """ -Calculate the sun's position using the NREL Solar Position Algorithm (SPA) either using -numpy arrays or compiling the code to machine language with numba. +Calculate the sun's position using the NREL Solar Position Algorithm +(SPA) either using numpy arrays or compiling the code to machine language +with numba. """ # Contributors: From cede5f95a3bef56b6d0531679cb9c65ba16ecd67 Mon Sep 17 00:00:00 2001 From: RDaxini Date: Mon, 5 Oct 2026 11:40:42 -0600 Subject: [PATCH 4/4] another instance + link reference --- pvlib/spa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvlib/spa.py b/pvlib/spa.py index e024f033c0..dba1e2ae84 100644 --- a/pvlib/spa.py +++ b/pvlib/spa.py @@ -1032,7 +1032,7 @@ def solar_position(unixtime, lat, lon, elev, pressure, temp, delta_t, """ Calculate the solar position using the - NREL SPA algorithm described in [1]. + NREL SPA described in [1]_, [2]_. If numba is installed, the functions can be compiled and the code runs quickly. If not, the functions