Skip to content

Add aod and clearsky_index to glossary, link terms in spectrum.rst#2663

Open
RDaxini wants to merge 14 commits intopvlib:mainfrom
RDaxini:glossary_definitions
Open

Add aod and clearsky_index to glossary, link terms in spectrum.rst#2663
RDaxini wants to merge 14 commits intopvlib:mainfrom
RDaxini:glossary_definitions

Conversation

@RDaxini
Copy link
Member

@RDaxini RDaxini commented Jan 21, 2026

  • Closes Add aod and clearsky_index to glossary #2564
  • I am familiar with the contributing guidelines
  • 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.

Additional edit: fixed line length of some of the other definitions. Not strictly a flake8 failure but I think it looks neater and more readable.

@RDaxini RDaxini added this to the v0.14.1 milestone Jan 21, 2026
Copy link
Member

@echedey-ls echedey-ls left a comment

Choose a reason for hiding this comment

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

Sexy PR @RDaxini , thanks. Some observations down below, but I'm okay with current status as is.

Comment on lines 23 to 31
aod
aod500
aerosol optical depth. Measure of aerosols (e.g., smoke
particles, desert dust) distributed within a column of air from the
instrument (Earth's surface) to the top of the atmosphere. The AOD
value indicates the level of extinction of sunlight in this column, and
when followed by a number (e.g. AOD500), indicates the extinction at
this wavelength (500nm). [unitless]

Copy link
Member

@echedey-ls echedey-ls Jan 21, 2026

Choose a reason for hiding this comment

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

Is it described by these equations? https://en.wikipedia.org/wiki/Optical_depth#Spectral_optical_depth

I have trouble finding PV specific information on a mathematical relationship. At least that is the only missing piece for me.

@kandersolar kandersolar modified the milestones: v0.14.1, v0.15.1 Jan 26, 2026
@RDaxini RDaxini marked this pull request as ready for review February 6, 2026 20:13
@RDaxini
Copy link
Member Author

RDaxini commented Feb 17, 2026

@cwhanse could you try rerunning the docs build?

Comment on lines 27 to 32
* Add the following terms to the :ref:`nomenclature` page:
- :term:`clearness_index`
- :term:`clearsky_index`
- :term:`aod`
- :term:`aod500`
(:issue:`2564`, :pull:`2663`)
Copy link
Member

@cwhanse cwhanse Feb 17, 2026

Choose a reason for hiding this comment

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

Suggested change
* Add the following terms to the :ref:`nomenclature` page:
- :term:`clearness_index`
- :term:`clearsky_index`
- :term:`aod`
- :term:`aod500`
(:issue:`2564`, :pull:`2663`)
* Add the following terms to the :ref:`nomenclature` page (:issue:`2564`, :pull:`2663`):
- :term:`clearness_index`
- :term:`clearsky_index`
- :term:`aod`
- :term:`aod500`

I think it's getting hung up because it's looking for a blank line at the end of a bulleted list.

Copy link
Member

Choose a reason for hiding this comment

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

I don't know how to restart the doc build without some new commit.

Copy link
Member

Choose a reason for hiding this comment

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

I think a new commit is needed thou:

Suggested change
* Add the following terms to the :ref:`nomenclature` page:
- :term:`clearness_index`
- :term:`clearsky_index`
- :term:`aod`
- :term:`aod500`
(:issue:`2564`, :pull:`2663`)
* Add the following terms to the :ref:`nomenclature` page: (:issue:`2564`, :pull:`2663`)
- :term:`clearness_index`
- :term:`clearsky_index`
- :term:`aod`
- :term:`aod500`

À la https://github.com/pvlib/pvlib-python/blob/bba49c0c477bdb442bf889f071a7a86d03d1766e/docs/sphinx/source/whatsnew/v0.13.0.rst?plain=1#L24C1-L34C1, I found this pattern to be the most common in the latest releases.

Copy link
Member Author

Choose a reason for hiding this comment

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

That looks kinda weird IMO 😂 but not a huge deal. I've pushed the commit, thanks.

Copy link
Member

Choose a reason for hiding this comment

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

That looks kinda weird IMO

@RDaxini you mean the issues and pr roles after the colon? I feel the same, but IDK how to improve that.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, after the colon is weird. It interferes with the grammatical structure of the following list.
We also usually add the pr/issue link after the full whatsnew entry, and the listed items are part of that entry, so that's why I added the pr/issue links after the list.

Copy link
Member

Choose a reason for hiding this comment

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

Put the colon after the (issue, pr) text

Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
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.

Add aod and clearsky_index to glossary

4 participants