Skip to content

Conversation

AdamRJensen
Copy link
Member

@AdamRJensen AdamRJensen commented Aug 1, 2022

  • 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.

It has been decided to change the default value for the leap_day argument in the get_psm3 function from False to True (see #1481). This PR adds a deprecation warning stating that the default will be changed to leap_day=True in pvlib 0.11.

@AdamRJensen AdamRJensen added io remote-data triggers --remote-data pytests labels Aug 1, 2022
@AdamRJensen AdamRJensen added this to the 0.9.2 milestone Aug 1, 2022
@AdamRJensen AdamRJensen requested a review from kandersolar August 1, 2022 20:51
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.

Needs a whatsnew entry too

@AdamRJensen AdamRJensen added remote-data triggers --remote-data pytests and removed remote-data triggers --remote-data pytests labels Aug 2, 2022
@AdamRJensen AdamRJensen requested a review from kandersolar August 3, 2022 09:38
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.

OK with me!

@AdamRJensen AdamRJensen mentioned this pull request Aug 3, 2022
9 tasks
@AdamRJensen
Copy link
Member Author

@pvlib/pvlib-maintainer This PR is ready for a second review if anyone wants to take a look

Update whatsnew with suggestion from cwhanse

Co-authored-by: Cliff Hansen <[email protected]>
@AdamRJensen AdamRJensen added remote-data triggers --remote-data pytests and removed remote-data triggers --remote-data pytests labels Aug 5, 2022
@AdamRJensen AdamRJensen merged commit e659a5a into pvlib:master Aug 15, 2022
@AdamRJensen AdamRJensen deleted the deprecation_psm3_leapday branch August 15, 2022 17:37
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