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
Next Next commit
correct version number
  • Loading branch information
RDaxini committed Nov 27, 2024
commit c4a5917c7b9086338dac4b09767378be4b3624d8
12 changes: 6 additions & 6 deletions pvlib/irradiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -2152,10 +2152,10 @@ def _dirint_bins(times, kt_prime, zenith, w, delta_kt_prime):


@renamed_kwarg_warning(
since='11.2',
since='0.11.2',
old_param_name='dni_clearsky',
new_param_name='dni_clear',
removal="12.0")
removal="0.12.0")
def dirindex(ghi, ghi_clearsky, dni_clear, zenith, times, pressure=101325.,
use_delta_kt_prime=True, temp_dew=None, min_cos_zenith=0.065,
max_zenith=87):
Expand Down Expand Up @@ -3617,10 +3617,10 @@ def _get_dirint_coeffs():


@renamed_kwarg_warning(
since='11.2',
since='0.11.2',
old_param_name='clearsky_dni',
new_param_name='dni_clear',
removal="12.0")
removal="0.12.0")
def dni(ghi, dhi, zenith, dni_clear=None, clearsky_tolerance=1.1,
zenith_threshold_for_zero_dni=88.0,
zenith_threshold_for_clearsky_limit=80.0):
Expand Down Expand Up @@ -3693,10 +3693,10 @@ def dni(ghi, dhi, zenith, dni_clear=None, clearsky_tolerance=1.1,


@renamed_kwarg_warning(
since='11.2',
since='0.11.2',
old_param_name='clearsky_dni',
new_param_name='dni_clear',
removal="12.0")
removal="0.12.0")
def complete_irradiance(solar_zenith,
ghi=None,
dhi=None,
Expand Down
Loading
0