Skip to content

Commit a115f18

Browse files
RDaxiniechedey-ls
andauthored
Apply suggestions from code review
Co-authored-by: Echedey Luis <[email protected]>
1 parent a1dbbb3 commit a115f18

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/sphinx/source/whatsnew/v0.11.2.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ v0.11.2 (Anticipated December, 2024)
66

77
Deprecations
88
~~~~~~~~~~~~
9-
* Deprecated terms `dni_clearsky` and `clearsky_dni`, replaced with `dni_clear`
9+
* Deprecated terms ``dni_clearsky`` and ``clearsky_dni``, replaced with ``dni_clear``.
10+
Affected functions are :py:func:`~pvlib.irradiance.dirindex` and :py:func:`~pvlib.irradiance.dni`.
1011
(:issue:`2272`, :pull:`2274`)
1112

1213

pvlib/irradiance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3649,7 +3649,7 @@ def dni(ghi, dhi, zenith, dni_clear=None, clearsky_tolerance=1.1,
36493649
Clearsky direct normal irradiance.
36503650
36513651
clearsky_tolerance : float, default 1.1
3652-
If `dni_clear` is given this parameter can be used to allow a
3652+
If ``dni_clear`` is given this parameter can be used to allow a
36533653
tolerance by how much the calculated DNI value can be greater than
36543654
the clearsky value before it is identified as an unreasonable value.
36553655
@@ -3662,7 +3662,7 @@ def dni(ghi, dhi, zenith, dni_clear=None, clearsky_tolerance=1.1,
36623662
'zenith_threshold_for_clearsky_limit' and smaller the
36633663
'zenith_threshold_for_zero_dni' that are greater than the clearsky DNI
36643664
(times allowed tolerance) will be corrected. Only applies if
3665-
`dni_clear` is not None.
3665+
``dni_clear`` is not None.
36663666
36673667
Returns
36683668
-------

0 commit comments

Comments
 (0)