Skip to content
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

3.0 Release #448

Open
wants to merge 435 commits into
base: master
Choose a base branch
from
Open

3.0 Release #448

wants to merge 435 commits into from

Conversation

mdeceglie
Copy link
Collaborator

Each of these changes has been individually reviewed in PRs to development. Let's make sure that everything is polished for the 3.0 release.

  • Code changes are covered by tests
  • Code changes have been evaluated for compatibility/integration with TrendAnalysis
  • New functions added to __init__.py
  • API.rst is up to date, along with other sphinx docs pages
  • Example notebooks are rerun and differences in results scrutinized
  • Updated changelog

martin-springer and others added 30 commits August 21, 2024 09:40
Replace deploy with trusted publisher workflow for pypi
python 3.12 will be the new base version of python that we test to
martin-springer and others added 24 commits December 30, 2024 11:13
Fix issue #370 (energy_from_power returns incorrect index for shifted hourly data)
Bump tornado from 6.3.3 to 6.4.2 in /docs
Co-authored-by: Michael Deceglie <mdeceglie@users.noreply.github.com>
add pvlib clearsky filter test in analysis chain
Co-authored-by: Michael Deceglie <mdeceglie@users.noreply.github.com>
Co-authored-by: Michael Deceglie <mdeceglie@users.noreply.github.com>
Co-authored-by: Michael Deceglie <mdeceglie@users.noreply.github.com>
Fix issue #313 (different results with Nan's and Zeros in power series)
…tests

Fix pandas deprecation warnings in tests
Bump jinja2 from 3.0.0 to 3.1.5 in /docs
@codecov-commenter
Copy link

codecov-commenter commented Dec 31, 2024

Codecov Report

Attention: Patch coverage is 93.72624% with 66 lines in your changes missing coverage. Please review.

Project coverage is 96.21%. Comparing base (f64428f) to head (29aa7de).

Files with missing lines Patch % Lines
rdtools/soiling.py 90.41% 48 Missing ⚠️
rdtools/analysis_chains.py 94.17% 13 Missing ⚠️
rdtools/plotting.py 90.90% 3 Missing ⚠️
rdtools/degradation.py 94.11% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #448       +/-   ##
===========================================
+ Coverage   69.96%   96.21%   +26.25%     
===========================================
  Files          12       12               
  Lines        2111     2274      +163     
===========================================
+ Hits         1477     2188      +711     
+ Misses        634       86      -548     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -55,36 +53,39 @@ The preferred method for degradation rate estimation is the year-on-year
(YOY) approach (Jordan 2018), available in :py:func:`.degradation.degradation_year_on_year`.
The YOY calculation yields in a distribution of degradation rates, the
central tendency of which is the most representative of the true
degradation. The width of the distribution provides information about
degradation. We note that the workflow described above and implimented in
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
degradation. We note that the workflow described above and implimented in
degradation. We note that the workflow described above and implemented in

rdtools/__init__.py Show resolved Hide resolved
"temperature_cell_ref": 25,
"gamma_pdc": self.gamma_pdc}
warnings.warn(
"Temperature coefficient not passed in to TrendAnalysis"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Temperature coefficient not passed in to TrendAnalysis"
"Temperature coefficient not passed in to TrendAnalysis."

"gamma_pdc": self.gamma_pdc}
warnings.warn(
"Temperature coefficient not passed in to TrendAnalysis"
". No temperature correction will be conducted."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
". No temperature correction will be conducted."
"No temperature correction will be conducted."

decomposition_type='multiplicative', bootstrap_seed=None
):
'''
Generate bootstrap samples based a time series signal and its model fit
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Generate bootstrap samples based a time series signal and its model fit
Generate bootstrap samples based on a time series signal and its model fit

docs/sphinx/source/changelog.rst Show resolved Hide resolved

Bug fixes
---------
* Set marker linewidth to zero in `rdtools.plotting.degradation_summary_plots` (:pull:`433`)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Set marker linewidth to zero in `rdtools.plotting.degradation_summary_plots` (:pull:`433`)
* Set marker linewidth to zero in `rdtools.plotting.degradation_summary_plots` (:issue:`408`, :pull:`433`)

---------
* Set marker linewidth to zero in `rdtools.plotting.degradation_summary_plots` (:pull:`433`)
* Fix :py:func:`~rdtools.normalization.energy_from_power` returns incorrect index for shifted hourly data (:issue:`370`, :pull:`437`)
* Add warning to clearsky workflow when ``power_expected`` is passed by user (:pull:`439`)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Add warning to clearsky workflow when ``power_expected`` is passed by user (:pull:`439`)
* Add warning to clearsky workflow when ``power_expected`` is passed by user (:issue:`271`, :pull:`439`)

@martin-springer
Copy link
Collaborator

After merging this PR, I think it would be a good time to rename the default branch to main #406
(https://github.com/github/renaming#rename-existing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants