Skip to content

Add aod and clearsky_index to glossary #2564

Closed

Description

@RDaxini

Test output is the cleanest it's been in a while. Docs build is also clean except for a few missing glossary items (ping @RDaxini):

sphinx/source/user_guide/modeling_topics/spectrum.rst:55: WARNING: term not in glossary: 'aod'
sphinx/source/user_guide/modeling_topics/spectrum.rst:63: WARNING: term not in glossary: 'clearsky_index'
sphinx/source/user_guide/modeling_topics/spectrum.rst:67: WARNING: term not in glossary: 'clearsky_index'

Of course those should be fixed, but not a blocker for the release IMHO.
I'll try out a pre-release to ensure that the new Trusted Publishing arrangement (#2549) works. If all goes well then I'll make the real release.

Originally posted by @kandersolar in #2554 (comment)

Those warnings were fixed by removing the :term: sphinx role, but let's go back and add these terms to the glossary (and link any relevant instances of them in the docs)

Opening an issue before a PR to check people's opinions on definitions. Tentative suggestion to start:

aod: 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. [unitless]

(modified from source)
Optionally, we could add a comment relating more directly to performance modeling, e.g. helps quantify atmospheric extinction / insight into spectral mismatch owing to selective scattering/absorption.

clearsky_index: clearsky index. Ratio of actual global irradiance to modeled clearsky global irradiance

Again, optional extra to add a comment explicitly relating the performance modeling implications.
(modified from source)

Activity

  1. added this to the v0.13.2 milestone on Oct 2, 2025
  2. aman-coder03 commented on Dec 7, 2025

    @aman-coder03
    Contributor

    @RDaxini can i take this issue?

  3. Rahi-padwal commented on Dec 29, 2025

    @Rahi-padwal

    Hello @RDaxini !
    Is this issue still open, or is someone already working on it? If it’s available, I’d be happy to help.

  4. kandersolar commented on Jan 13, 2026

    @kandersolar
    Member

    @aman-coder03 @Rahi-padwal this issue is better handled by someone with solar PV experience. Suitable definitions for the two terms need to be determined before a PR can be opened.

  5. modified the milestones: v0.13.2, v0.14.1 on Jan 16, 2026
  6. kumaradityaapril commented on Jan 20, 2026

    @kumaradityaapril

    I appreciate the explanation.

    I understand that appropriate glossary definitions should reflect pvlib’s
    irradiance and performance modeling context. Before opening a PR, I’d like
    to propose the following draft definitions for review:

    aod
    Aerosol optical depth. A dimensionless measure of the attenuation of
    solar radiation by aerosols such as dust, smoke, and pollution in a
    vertical column of the atmosphere from the surface to the top of the
    atmosphere.

    In pvlib, aod influences atmospheric extinction and spectral effects,
    impacting modeled irradiance and photovoltaic performance.
    

    clearsky_index
    Clearsky index. The ratio of measured global horizontal irradiance (GHI)
    to modeled clear-sky global horizontal irradiance.

    The clearsky index is used to assess cloudiness and to normalize
    irradiance data relative to an ideal clear-sky model.
    

    I’m happy to revise the wording based on feedback before submitting a PR.

  7. RDaxini commented on Jan 20, 2026

    @RDaxini
    MemberAuthor

    @kumaradityaapril is there any specific reason for the wording you have suggested as opposed to the wording I suggested originally in the issue text, which I was proposing to implement in a PR?
    I am also not sure if you are suggesting both the text formatted as text in your comment and the text formatted as code, or just one or the other.

  8. kumaradityaapril commented on Jan 21, 2026

    @kumaradityaapril

    @RDaxini There’s no strong reason for the wording differences -- my intent was not
    add a meaning to your original proposal, but to slightly rephrase and say,
    format it according to the style of the pvlib glossary entries, and connect the
    terms to irradiance and performance modeling context.

    For the record, I am only proposing one set of definitions (the "Defined Terms" referred to below) because I believe it
    coded format (codeformatted version), and I am very glad to revert to or directly adopt
    the phrasing you originally proposed under the issue question if you feel that is preferable.

    My purpose in this instance will be to make alignment rather than introducing alternative terms, so I’m happy to follow your guidance on the preferred wording before opening a PR.

  9. RDaxini commented on Jan 21, 2026

    @RDaxini
    MemberAuthor

    IMO I think the original suggestion is clearer, so with two thumbs up and no objections I have gone ahead and opened #2663 from the branch I already had on my fork with the changes that I was suggesting. Feel free to review if you have any other suggestions.

  10. modified the milestones: v0.14.1, v0.15.1 on Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions