pvlib-python icon indicating copy to clipboard operation
pvlib-python copied to clipboard

Fix2448

Open OmarBahamida opened this issue 6 months ago • 1 comments

  • Add detailed definitions for solar angles with range constraints
  • Clarify pvlib's east-of-north convention for azimuth angles
  • Add cross-references between related terms using :term: directive
  • Add coordinate system conventions for latitude/longitude
  • Enhance existing angle definitions with usage notes and examples

This commit addresses issue https://github.com/pvlib/pvlib-python/issues/2448 by migrating angle definitions and conventions from parameter descriptions to the nomenclature page

OmarBahamida avatar Jun 17 '25 15:06 OmarBahamida

One quick note @OmarBahamida , that also relates to your other open PR #2486; when you opened the pull request, a template with a checklist must have been already there. Please add it again to the top of your pull request message body and mark items as required (not all may apply).

Pull request template

<!-- Thank you for your contribution! 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. Feel free to remove checklist items that are not relevant to your change. -->

 - [ ] Closes #xxxx
 - [ ] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing/index.html)
 - [ ] Tests added
 - [ ] Updates entries in [`docs/sphinx/source/reference`](https://github.com/pvlib/pvlib-python/blob/main/docs/sphinx/source/reference) for API changes.
 - [ ] Adds description and name entries in the appropriate "what's new" file in [`docs/sphinx/source/whatsnew`](https://github.com/pvlib/pvlib-python/tree/main/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](https://numpydoc.readthedocs.io/en/latest/format.html) 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.

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

echedey-ls avatar Jun 18 '25 10:06 echedey-ls

@OmarBahamida are you still working on this? If it helps, I'd be happy to push some final revisions to this branch according to the previous reviews. It would also be great if you updated the PR description (see earlier comment) and name to make it easier to find/reference in future if needed. Thanks for your work.

RDaxini avatar Jul 21 '25 19:07 RDaxini

@RDaxini I really appreciate your offer, but at the moment I'm not able to continue working on this PR, so please feel free to make any final updates. Thank you so much for your help and the thoughtful reviews

OmarBahamida avatar Jul 22 '25 05:07 OmarBahamida

How do you push changes to someone else's branch/PR? I found the PR on github desktop, made and committed the required changes to finalize this PR, but I wasn't able to push the commits. @cwhanse? I noticed you did this with #2486

RDaxini avatar Jul 22 '25 20:07 RDaxini

@RDaxini open a PR to this PR & @cwhanse can merge it

mikofski avatar Jul 22 '25 20:07 mikofski

@RDaxini I have maintainer privilege so I can short-circuit the "PR to a PR" process: clone the submitter's repository, checkout the branch, edit and commit then push back to the submitter's remote branch.

cwhanse avatar Jul 22 '25 21:07 cwhanse

Ready for review

RDaxini avatar Jul 22 '25 22:07 RDaxini

The docs build complains:

/home/docs/checkouts/readthedocs.org/user_builds/pvlib-python/checkouts/2485/docs/sphinx/source/user_guide/extras/nomenclature.rst:158: WARNING: term not in glossary: 'solar_elevation'

kandersolar avatar Jul 24 '25 20:07 kandersolar