-
Notifications
You must be signed in to change notification settings - Fork 78
Release 3.1.0 #485
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
Open
martin-springer
wants to merge
19
commits into
master
Choose a base branch
from
development
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Release 3.1.0 #485
Changes from 10 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
b5fc7c4
Remove pvlib restriction and add python 3.13 support (#467)
martin-springer 5c674a9
Allow clip_filter for energy-based trend analyses (#474)
martin-springer 674e384
Fix numpy and pandas compatibility (#475)
martin-springer c26463c
Improved logo with transparent background (#481)
shirubana 9d09f90
Add stacklevel to warnings.warn() calls (#476)
martin-springer 5925406
Update temperature coefficient in PVDAQ notebooks to -0.0034 (#478)
Copilot 4620944
Bump pillow from 10.4.0 to 12.1.1 (#483)
dependabot[bot] fb80b70
Merge remote-tracking branch 'origin/master' into development
martin-springer c27f2fb
create v3.1.0 changelog
martin-springer 89f58a3
Bump nbconvert from 7.16.4 to 7.17.0 in /docs (#482)
dependabot[bot] 8f2881d
Update docs/sphinx/source/changelog/v3.1.0.rst
martin-springer 3a6c7d9
Update docs/sphinx/source/changelog/v3.1.0.rst
martin-springer dd92a15
Update docs/sphinx/source/changelog/v3.1.0.rst
martin-springer 7fbf78f
Update setup.cfg
martin-springer da3265a
Update docs/nbval_sanitization_rules.cfg
martin-springer 939281e
add python version requirement
martin-springer 280f764
Merge branch 'development' of https://github.com/NREL/rdtools into de…
martin-springer aac4765
allow new nbval version
martin-springer acc357c
fix semicolon in availability notebook
martin-springer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| **************************** | ||
| v3.1.0 (February XX, 2026) | ||
| **************************** | ||
|
|
||
| Enhancements | ||
| ------------ | ||
| * Modified ``TrendAnalysis._filter()`` to allow ``clip_filter`` to use ``pv_energy`` | ||
| when ``pv_power`` is not available. This enables clipping detection for energy-based | ||
| analyses with sub-hourly data. | ||
| * Added frequency validation for ``clip_filter`` in ``TrendAnalysis._filter()`` that | ||
| raises a ``ValueError`` if the time series has a median time step greater than 60 | ||
| minutes, as clipping detection requires higher resolution data. | ||
|
|
||
|
|
||
| Documentation | ||
| ------------- | ||
| * Updated temperature coefficient (``gamma_pdc``) in PVDAQ example notebooks from -0.005 to | ||
| -0.0034 1/K to reflect modern silicon PV module specifications. Updated notebooks include | ||
| ``degradation_and_soiling_example.ipynb``, ``TrendAnalysis_example.ipynb``, and | ||
| ``TrendAnalysis_example_NSRDB.ipynb``. | ||
| * Added ``stacklevel`` parameter to all ``warnings.warn()`` calls so that warning | ||
| messages point to user code rather than rdtools internals. Affected modules: | ||
| ``analysis_chains``, ``filtering``, ``soiling``, ``plotting``, ``normalization``, | ||
| ``availability``, and ``clearsky_temperature``. | ||
|
|
||
|
|
||
| Requirements | ||
| ------------ | ||
| * Removed pvlib version restrictions in setup.py. Previously "pvlib >= 0.11.0, <0.12.0", now "pvlib". | ||
martin-springer marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * Updated pvlib version in requirements.txt from 0.11.0 to 0.14.0 | ||
| * Removed pandas upper version restriction in setup.py. Now "pandas >= 1.4.4" to support pandas 3.0. | ||
| * Removed numpy upper version restriction in setup.py. Now "numpy >= 1.22.4" to support numpy 2.x. | ||
| * Updated pandas version in requirements.txt from 2.2.2 to 2.2.3 for python 3.13 compativility. | ||
martin-springer marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * Updated scipy version in requirements.txt from 1.13.1 to 1.14.1 for python 3.13 compatibility. | ||
| * Updated h5py version in requirements.txt from 3.11.0 to 3.12.0 for python 3.13 compatibility. | ||
| * Updated scikit-learn version in requirements.txt from 1.5.1 to 1.7.2 for python 3.13 and xgboost compatibility. | ||
| * Updated plotly version in requirements.txt from 5.23.0 to 6.1.1 for python 3.13 compatibility. | ||
| * Updated setuptools-scm version in requirements.txt from 8.1.0 to 9.2.2 for python 3.13 compatibility. | ||
| * Updated six version in requirements.txt from 1.16.0 to 1.17.0 for python 3.13 compatibility. | ||
| * Updated statsmodels version in requirements.txt from 0.14.2 to 0.14.6 for python 3.13 compatibility. | ||
| * Updated threadpoolctl version in requirements.txt from 3.5.0 to 3.6.0 for python 3.13 compatibility. | ||
| * Updated tomli version in requirements.txt from 2.0.1 to 2.0.2 for python 3.13 compatibility. | ||
| * Updated typing_extensions version in requirements.txt from 4.12.2 to 4.15.0 for python 3.13 compatibility. | ||
| * Updated urllib3 version in requirements.txt from 2.2.2 to 2.6.3 for python 3.13 compatibility and to fix security issues. | ||
martin-springer marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * Updated xgboost version in requirements.txt from 2.1.1 to 3.1.3 for python 3.13 compatibility. | ||
| * Updated fonttools version in requirements.txt from 4.53.1 to 4.58.4 for python 3.13 compatibility. | ||
| * Updated idna version in requirements.txt from 3.7 to 3.8 for python 3.13 compatibility. | ||
| * Updated joblib version in requirements.txt from 1.4.2 to 1.5.2 for python 3.13 compatibility. | ||
| * Updated kiwisolver version in requirements.txt from 1.4.5 to 1.4.6 for python 3.13 compatibility. | ||
| * Updated matplotlib version in requirements.txt from 3.9.2 to 3.9.4 for python 3.13 compatibility. | ||
| * Updated packaging version in requirements.txt from 24.1 to 26.0 for python 3.13 compatibility. | ||
| * Updated patsy version in requirements.txt from 0.5.6 to 1.0.0 for python 3.13 compatibility. | ||
| * Updated Pillow version in requirements.txt from 10.4.0 to 12.1.1 for python 3.13 compatibility. | ||
| * Updated pyparsing version in requirements.txt from 3.1.2 to 3.2.0 for python 3.13 compatibility. | ||
| * Updated pytz version in requirements.txt from 2024.1 to 2025.2 for python 3.13 compatibility. | ||
|
|
||
| Bug Fixes | ||
| --------- | ||
| * Fixed pandas 3.0 compatibility in ``normalization.py`` by using ``.total_seconds()`` | ||
| instead of ``.view('int64')`` with hardcoded nanosecond divisors. Pandas 3.0 changed | ||
| the default datetime resolution from nanoseconds (``datetime64[ns]``) to microseconds | ||
| (``datetime64[us]``). Affected functions: ``_delta_index``, ``_t_step_nanoseconds``, | ||
| ``_aggregate``, ``_interpolate_series``. | ||
| * Fixed datetime resolution preservation in ``normalization.interpolate()`` to ensure | ||
| output maintains the same resolution as input (e.g., ``datetime64[us]``). | ||
| * Fixed numpy 2.x compatibility in ``soiling.py`` by using ``.item()`` and explicit | ||
| indexing to extract scalar values from numpy arrays, as implicit array-to-scalar | ||
| conversion is deprecated. | ||
| * Fixed xgboost 3.x compatibility in ``filtering.xgboost_clip_filter()`` by using | ||
| ``xgb.DMatrix`` with explicit feature names for model prediction. | ||
| * Fixed pandas 4.0 deprecation warnings by changing lowercase ``'d'`` to uppercase | ||
| ``'D'`` in Timedelta strings and using ``axis=`` keyword argument for DataFrame | ||
| aggregation methods. | ||
|
|
||
|
|
||
| Warnings | ||
| -------- | ||
| * Added filter to ignore deprecation warning related to IPyNbFile in setup.cfg. | ||
|
|
||
|
|
||
| Deprecations | ||
| ------------ | ||
| * Removed deprecated ``normalization.delta_index`` function (deprecated in v2.0.0). | ||
| The private ``_delta_index`` helper remains available for internal use. | ||
| * Removed deprecated ``normalization.check_series_frequency`` function (deprecated in v2.0.0). | ||
| The private ``_check_series_frequency`` helper remains available for internal use. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.