Skip to content

Spa.julian day microsecond fix #942

Merged
CameronTStark merged 6 commits into
pvlib:masterfrom
ericf900:spa.julian_day-Microsecond-Fix-
Mar 31, 2020
Merged

Spa.julian day microsecond fix #942
CameronTStark merged 6 commits into
pvlib:masterfrom
ericf900:spa.julian_day-Microsecond-Fix-

Conversation

@ericf900

@ericf900 ericf900 commented Mar 23, 2020

Copy link
Copy Markdown
Contributor
  • 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 and Milestone are assigned to the Pull Request and linked Issue.

@kandersolar kandersolar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @ericf900! One minor formatting comment below. It might also be a good idea to note in the whatsnew that this function is not used in the typical SPA solar position workflow so users shouldn't expect their old results to be wrong, but I'll leave it to others to decide if it's needed and if so what the wording should be.

Comment thread docs/sphinx/source/whatsnew/v0.7.2.rst Outdated
* Separate azure-pipelines.yml platform-specific tests to their own templates
located in ``./ci/azure/``. (:pull:`926`)
* Updated test_julian_day_dt in spa_test to check for correct microsecond
scaling (:issue:`940') (:pull:`942`)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Accidentally used apostrophe here instead of backtick, check the formatting here: https://pvlib-python--942.org.readthedocs.build/en/942/whatsnew.html#testing

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same for the entry in "bug fixes"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

no need to make a separate what's new entry for the test fix.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks Will and Kevin! I made those changes

@wholmgren wholmgren left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @ericf900!

Comment thread docs/sphinx/source/whatsnew/v0.7.2.rst Outdated
* Separate azure-pipelines.yml platform-specific tests to their own templates
located in ``./ci/azure/``. (:pull:`926`)
* Updated test_julian_day_dt in spa_test to check for correct microsecond
scaling (:issue:`940') (:pull:`942`)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

no need to make a separate what's new entry for the test fix.

@wholmgren wholmgren added this to the 0.7.2 milestone Mar 23, 2020
@wholmgren wholmgren added the bug label Mar 23, 2020

@wholmgren wholmgren left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks @ericf900 !

@CameronTStark CameronTStark merged commit b91d178 into pvlib:master Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants