From 232f4f5194406181c1cd60738260acc1e44fb3a3 Mon Sep 17 00:00:00 2001 From: Roma Koulikov Date: Tue, 21 Nov 2023 08:32:29 -0500 Subject: [PATCH 1/3] Add window_length keyword argument to detect_clearsky example in clearsky.rst user guide --- docs/sphinx/source/user_guide/clearsky.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/sphinx/source/user_guide/clearsky.rst b/docs/sphinx/source/user_guide/clearsky.rst index e32351ee6b..97c111824c 100644 --- a/docs/sphinx/source/user_guide/clearsky.rst +++ b/docs/sphinx/source/user_guide/clearsky.rst @@ -642,7 +642,8 @@ Now we run the synthetic data and clear sky estimate through the .. ipython:: python - clear_samples = clearsky.detect_clearsky(ghi, cs['ghi'], cs.index, 10) + clear_samples = clearsky.detect_clearsky(ghi, cs['ghi'], cs.index, + window_length=10) fig, ax = plt.subplots() From d46be77adf55a1ac1a777ff282faa1e37fd5eed5 Mon Sep 17 00:00:00 2001 From: Roma Koulikov Date: Tue, 21 Nov 2023 08:45:43 -0500 Subject: [PATCH 2/3] Update v0.10.03.rst "what's new" file to reflect change --- docs/sphinx/source/whatsnew/v0.10.3.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/sphinx/source/whatsnew/v0.10.3.rst b/docs/sphinx/source/whatsnew/v0.10.3.rst index b7eece4108..6aec96fea1 100644 --- a/docs/sphinx/source/whatsnew/v0.10.3.rst +++ b/docs/sphinx/source/whatsnew/v0.10.3.rst @@ -25,6 +25,7 @@ Testing Documentation ~~~~~~~~~~~~~ * Fixed a plotting issue in the IV curve gallery example (:pull:`1895`) +* Fixed `detect_clearsky` example in `clearsky.rst` (:issue:`1914`) Contributors ~~~~~~~~~~~~ From fe6ba59ab30d8d7887c1e1a8e2a223f3486d7845 Mon Sep 17 00:00:00 2001 From: Roma Koulikov Date: Tue, 21 Nov 2023 12:18:13 -0500 Subject: [PATCH 3/3] Removed cs.index and window_length arguments from clearsky.detect_clearsky in clearsky.rst user guide --- docs/sphinx/source/user_guide/clearsky.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/sphinx/source/user_guide/clearsky.rst b/docs/sphinx/source/user_guide/clearsky.rst index 97c111824c..9af40d8f12 100644 --- a/docs/sphinx/source/user_guide/clearsky.rst +++ b/docs/sphinx/source/user_guide/clearsky.rst @@ -642,8 +642,7 @@ Now we run the synthetic data and clear sky estimate through the .. ipython:: python - clear_samples = clearsky.detect_clearsky(ghi, cs['ghi'], cs.index, - window_length=10) + clear_samples = clearsky.detect_clearsky(ghi, cs['ghi']) fig, ax = plt.subplots()