Skip to content

Change location.get_sun_rise_set_transit default method#2261

Closed
AdamRJensen wants to merge 1 commit intopvlib:mainfrom
AdamRJensen:change_location_get_sunrise_default_method
Closed

Change location.get_sun_rise_set_transit default method#2261
AdamRJensen wants to merge 1 commit intopvlib:mainfrom
AdamRJensen:change_location_get_sunrise_default_method

Conversation

@AdamRJensen
Copy link
Copy Markdown
Member

  • I am familiar with the contributing guidelines
  • Tests added
  • 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.

The default method for pvlib.location.Location.get_sun_rise_set_transit is 'pyephem' which is an external package. It seems desirable that the default is changed to ```'spa'`` given that they are equally accurate and that SPA is included internally in pvlib.

@AdamRJensen AdamRJensen added this to the v0.12.0 milestone Oct 15, 2024
@kandersolar kandersolar modified the milestones: v0.12.0, v0.11.3 Mar 14, 2025
@AdamRJensen
Copy link
Copy Markdown
Member Author

AdamRJensen commented Mar 14, 2025

Duplicate of #2410.

@AdamRJensen AdamRJensen deleted the change_location_get_sunrise_default_method branch March 14, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants