8000 Adopt `dni_clear` variable name for clearsky DNI by RDaxini · Pull Request #2274 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Adopt dni_clear variable name for clearsky DNI #2274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Dec 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
irradiance.py: +units, +version_changed directive
  • Loading branch information
RDaxini committed Dec 6, 2024
commit 186dbe9842ea4616d184b444961d457854fed054
12 changes: 9 additions & 3 deletions pvlib/irradiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -2181,6 +2181,9 @@ def dirindex(ghi, ghi_clearsky, dni_clear, zenith, times, pressure=101325.,
dni_clear : array-like
Direct normal irradiance from clear sky model. [Wm⁻²]

.. versionchanged:: 0.11.2
Renamed from ``dni_clearsky`` to ``dni_clear``.

zenith : array-like
True (not refraction-corrected) zenith angles in decimal
degrees. If Z is a vector it must be of the same size as all
Expand Down Expand Up @@ -3646,7 +3649,10 @@ def dni(ghi, dhi, zenith, dni_clear=None, clearsky_tolerance=1.1,
degrees. Angles must be >=0 and <=180.

dni_clear : Series, optional
Clearsky direct normal irradiance.
Clearsky direct normal irradiance. [Wm⁻²]

.. versionchanged:: 0.11.2
Renamed from ``clearsky_dni`` to ``dni_clear``.

clearsky_tolerance : float, default 1.1
If ``dni_clear`` is given this parameter can be used to allow a
Expand Down Expand Up @@ -3726,8 +3732,8 @@ def complete_irradiance(solar_zenith,
Pandas series of dni data, with datetime index. Must have the same
datetime index as ghi, dhi, and zenith series, when available.
dni_clear : Series, optional
Pandas series of clearsky dni data. Must have the same datetime index
as ghi, dhi, dni, and zenith series, when available. See
Pandas series of clearsky dni data [Wm⁻²]. Must have the same datetime
index as ghi, dhi, dni, and zenith series, when available. See
:py:func:`dni` for details.

Returns
Expand Down
Loading
0