8000 Adopt ghi_clear variable name for clearsky GHI by RDaxini · Pull Request #2306 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Adopt ghi_clear variable name for clearsky GHI #2306

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 23 commits into from
Dec 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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
0.12->0.13 in test_irradiance.py
  • Loading branch information
RDaxini committed Dec 13, 2024
commit 9215eab5faa165db1934ba2b1d083c39e279d1e5
4 changes: 2 additions & 2 deletions pvlib/tests/test_irradiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ def test_dirindex(times):
equal_nan=True)


@fail_on_pvlib_version("0.12")
@fail_on_pvlib_version("0.13")
def test_dirindex_ghi_clearsky_deprecation():
with pytest.warns(pvlibDeprecationWarning, match='ghi_clear'):
times = pd.DatetimeIndex(['2014-06-24T18-1200'])
Expand Down Expand Up @@ -1283,7 +1283,7 @@ def test_clearsky_index():
assert_series_equal(out, expected)


@fail_on_pvlib_version("0.12")
@fail_on_pvlib_version("0.13")
def test_clearsky_index_clearsky_ghi_deprecation():
with pytest.warns(pvlibDeprecationWarning, match='ghi_clear'):
ghi, clearsky_ghi = 200, 300
Expand Down
Loading
0