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

Make leap_day=True default for PSM3 (new) #1991

Merged
merged 4 commits into from
Jun 2, 2024

Conversation

AdamRJensen
Copy link
Member

@AdamRJensen AdamRJensen commented Mar 12, 2024

  • Closes Set leap_day=True as default in pvlib.iotools.get_psm3() #1481
  • I am familiar with the contributing guidelines
  • [ ] Tests added
  • Updates entries in docs/sphinx/source/reference for API changes.
  • Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
  • [ ] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
  • Pull request is nearly complete and ready for detailed review.
  • Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

This PR should first be merged for pvlib 0.11.0!

This PR changes the default value of the leap_day parameter in pvlib.iotools.get_psm3 from False to True and removes the deprecation warning added in #1511. The reason for the change is that it seems more intuitive to include leap days when requesting non-TMY time series, which is also the default behavior of the remaining iotools functions.

Duplicate of #1500 #1990

@AdamRJensen AdamRJensen added this to the 0.11.0 milestone Mar 12, 2024
@AdamRJensen AdamRJensen added io remote-data triggers --remote-data pytests labels Mar 12, 2024
@AdamRJensen AdamRJensen added remote-data triggers --remote-data pytests and removed remote-data triggers --remote-data pytests labels May 24, 2024
@AdamRJensen AdamRJensen marked this pull request as ready for review May 24, 2024 09:06
Copy link
Member

@kandersolar kandersolar left a comment

Choose a reason for hiding this comment

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

LGTM

@AdamRJensen AdamRJensen merged commit ddb1c8e into pvlib:main Jun 2, 2024
30 checks passed
@AdamRJensen AdamRJensen deleted the psm3_leap_day_new branch June 2, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
io remote-data triggers --remote-data pytests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set leap_day=True as default in pvlib.iotools.get_psm3()
3 participants