From b93a11872f75fa1d0654044298350c32a3dde335 Mon Sep 17 00:00:00 2001 From: Arjan Keeman Date: Thu, 28 Sep 2023 15:39:31 +0200 Subject: [PATCH 1/2] fix invalid escape sequence '\c' pvlib/iam.py:843: DeprecationWarning: invalid escape sequence '\c' Occurence is actually in line 854: `IAM = 1 - (1 - \cos(aoi))^5` --- pvlib/iam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvlib/iam.py b/pvlib/iam.py index d72866e1e9..b0b2202ad9 100644 --- a/pvlib/iam.py +++ b/pvlib/iam.py @@ -840,7 +840,7 @@ def schlick(aoi): def schlick_diffuse(surface_tilt): - """ + r""" Determine the incidence angle modifiers (IAM) for diffuse sky and ground-reflected irradiance on a tilted surface using the Schlick incident angle model. From 5e0589d7bcf04890c144e4f6b5722e6a8b54f517 Mon Sep 17 00:00:00 2001 From: Arjan Keeman Date: Sun, 1 Oct 2023 10:00:33 +0200 Subject: [PATCH 2/2] Add to list of contributors --- docs/sphinx/source/whatsnew/v0.10.3.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx/source/whatsnew/v0.10.3.rst b/docs/sphinx/source/whatsnew/v0.10.3.rst index efa2fab075..0d46d035ec 100644 --- a/docs/sphinx/source/whatsnew/v0.10.3.rst +++ b/docs/sphinx/source/whatsnew/v0.10.3.rst @@ -23,4 +23,4 @@ Documentation Contributors ~~~~~~~~~~~~ - +* Arjan Keeman (:ghuser:`akeeman`)