Skip to content

Location.get_rise_set_transit #606

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

Merged
merged 12 commits into from
Oct 29, 2018
Merged

Location.get_rise_set_transit #606

merged 12 commits into from
Oct 29, 2018

Conversation

cwhanse
Copy link
Member

@cwhanse cwhanse commented Oct 17, 2018

pvlib python pull request guidelines

Thank you for your contribution to pvlib python! You may delete all of these instructions except for the list below.

You may submit a pull request with your code at any stage of completion.

The following items must be addressed before the code can be merged. Please don't hesitate to ask for help if you're unsure of how to accomplish any of the items below:

  • Closes add sunrise / sunset to Location #114
  • I am familiar with the contributing guidelines.
  • Fully tested. Added and/or modified tests to ensure correct behavior for all reasonable inputs. Tests (usually) must pass on the TravisCI and Appveyor testing services.
  • Updates entries to docs/sphinx/source/api.rst for API changes.
  • Adds description and name entries in the appropriate docs/sphinx/source/whatsnew file for all changes.
  • Code quality and style is sufficient. Passes LGTM and SticklerCI checks.
  • New code is fully documented. Includes sphinx/numpydoc compliant docstrings and comments in the code where necessary.
  • Pull request is nearly complete and ready for detailed review.

Brief description of the problem and proposed solution (if not already fully described in the issue linked to above):

Location method wrapping sun_rise_set_transit_xxx functions.

@cwhanse
Copy link
Member Author

cwhanse commented Oct 17, 2018

Help me understand this test failure: test_location is importing a Location object golden from test_solarposition but does not bring in the new Location method get_sun_rise_set_transit. Do I need to redeclare golden in test_location?

@cwhanse
Copy link
Member Author

cwhanse commented Oct 18, 2018

Ready for review

@cwhanse
Copy link
Member Author

cwhanse commented Oct 24, 2018

Test failure is on py2.7-min, because functions being tested require pyephem.

@cwhanse
Copy link
Member Author

cwhanse commented Oct 24, 2018

pvlib.SPA error when testing in py36

@pvlib pvlib deleted a comment from stickler-ci bot Oct 24, 2018
@pvlib pvlib deleted a comment from stickler-ci bot Oct 24, 2018
@pvlib pvlib deleted a comment from stickler-ci bot Oct 24, 2018
@pvlib pvlib deleted a comment from stickler-ci bot Oct 24, 2018
@wholmgren
Copy link
Member

pvlib.SPA error when testing in py36

Strange. The base python is 3.6 but tests run in a conda env with 3.7. I suspect it's related to conda packaging issues that will resolve themselves. That configuration passed on master 8 days ago, but failed on master when I reran it a few minutes ago. So that confirms this PR is not doing something unexpected.

@wholmgren wholmgren added this to the 0.6.1 milestone Oct 24, 2018
Copy link
Member

@wholmgren wholmgren left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@wholmgren
Copy link
Member

@cwhanse the test failure is unrelated. You can merge this if you're ready.

@cwhanse cwhanse merged commit 3e4b86d into pvlib:master Oct 29, 2018
@cwhanse cwhanse deleted the next_rise branch February 4, 2019 16:50
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.

3 participants