Skip to content

More broken links (internal and external) #2489

Open

Description

@echedey-ls

Describe the bug
#2488 is my source of inspiration. Grep'ed for user_guide pages, and these ones are the broken ones. Also, I've run linkchecker (output below). Feel free to provide other useful inputs for grep to check for broken links.

Broken user_guide references

README.md:77:https://pvlib-python.readthedocs.io/en/stable/user_guide/installation.html

docs/sphinx/source/conf.py:163:https://pydata-sphinx-theme.rtfd.io/en/latest/user_guide/configuring.html

Linkchecker output

(        whatsnew: line   97) broken    https://github.com/solphie-pelland - 404 Client Error: Not Found for url: https://github.com/solphie-pelland
(        whatsnew: line  215) broken    https://github.com/thunderfish24 - 404 Client Error: Not Found for url: https://github.com/thunderfish24
(contributing/style_guide: line   31) broken    https://help.github.com/articles/about-pull-request-merges/#squash-and-merge-your-pull-request-commits - Anchor 'squash-and-merge-your-pull-request-commits' not found
(reference/generated/pvlib.iotools.get_pvgis_hourly: line    1) broken    https://re.jrc.ec.europa.eu/api/v5_2/ - 404 Client Error: NOT FOUND for url: https://re.jrc.ec.europa.eu/api/v5_2/
(reference/generated/pvlib.clearsky.bird: line   57) broken    https://www.nrel.gov/docs/legosti/old/761.pdf - 404 Client Error: Not Found for url: https://www.nrel.gov/docs/legosti/old/761.pdf       
(reference/generated/pvlib.spectrum.get_reference_spectra: line   27) broken    https://www.nrel.gov/grid/solar-resource/assets/data/astmg173.xls - 404 Client Error: Not Found for url: https://www.nrel.gov/grid/solar-resource/assets/data/astmg173.xls
(reference/generated/pvlib.spectrum.spectral_factor_jrc: line   54) broken    https://www.researchgate.net/publication/256080247 - 403 Client Error: Forbidden for url: https://www.researchgate.net/publication/256080247
(reference/generated/pvlib.iotools.read_solaranywhere: line   23) broken    https://www.solaranywhere.com/support/historical-data/file-formats/ - 520 Server Error:  for url: https://www.solaranywhere.com/support/historical-data/file-formats/
(reference/generated/pvlib.iotools.get_solaranywhere: line   75) broken    https://www.solaranywhere.com/support/data-fields/definitions/ - 520 Server Error:  for url: https://www.solaranywhere.com/support/data-fields/definitions/
(reference/generated/pvlib.iotools.get_solaranywhere: line   69) broken    https://www.solaranywhere.com/support/using-solaranywhere/api/ - 520 Server Error:  for url: https://www.solaranywhere.com/support/using-solaranywhere/api/
(gallery/spectrum/average_photon_energy: line  220) broken    https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html#pandas.DataFrame - HTTPSConnectionPool(host='pandas.pydata.org', port=443): Max retries exceeded with url: /pandas-docs/stable/reference/api/pandas.DataFrame.html (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1006)')))   
(        whatsnew: line   83) broken    https://github.com/Sandia-Labs/PVLIB_Python - 404 Client Error: Not Found for url: https://github.com/Sandia-Labs/PVLIB_Python
(        whatsnew: line   99) broken    https://github.com/bhellis725 - 404 Client Error: Not Found 
for url: https://github.com/bhellis725
(        whatsnew: line   89) broken    https://github.com/johnMoseleyArray - 404 Client Error: Not 
Found for url: https://github.com/johnMoseleyArray
(        whatsnew: line   79) broken    https://github.com/kanderso-nrel - 404 Client Error: Not Found for url: https://github.com/kanderso-nrel
sleeping...
(contributing/introduction_to_contributing: line   54) broken    https://github.com/pvlib/pvlib-python/blob/main/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct - Anchor 'contributor-covenant-code-of-conduct' not found

To Reproduce
See this comment. In a nutshell, run the linkcheck Sphinx builder from the command line (working directory of Makefiles in the docs tree).

Expected behavior
N/A

Screenshots
N/A

Versions:

  • pvlib.__version__: latest in main at the time of writing

Additional context
Expected links to be updated are related to external documentation pages that complement pvlib's doc pages. Unrelevant links (like broken github users) can be ignored.

Activity

  1. added theissue type on Jun 20, 2025
  2. added this to the v0.13.1 milestone on Jun 20, 2025
  3. modified the milestones: v0.13.1, v0.13.2 on Sep 24, 2025
  4. aman-coder03 commented on Nov 28, 2025

    @aman-coder03
    Contributor

    Can I work on this?

  5. 7 remaining items

  6. modified the milestones: v0.15.1, v0.15.2 on Apr 20, 2026
  7. modified the milestones: v0.15.2, v0.15.3 on Jun 16, 2026
  8. dgowdaan-cmyk commented on Jul 8, 2026

    @dgowdaan-cmyk
    Contributor

    Hi @echedey-ls, I'd like to pick this up. I can see a few rounds of link fixes have already
    landed (#2594, #2610, #2622), so I'll run make linkcheck fresh from main to get the current
    list of broken links before touching anything, rather than assuming the original list in this
    issue is still accurate.

    I'll focus on the genuinely fixable external/internal doc links (dead NREL/vendor URLs, broken
    anchors, etc.) and skip low-value ones like unrelated dead GitHub profile links, per your note
    above. Will open a focused PR once I have the current linkcheck output.

  9. echedey-ls commented on Jul 8, 2026

    @echedey-ls
    MemberAuthor

    Please, go ahead @dgowdaan-cmyk . Take it easy and report which commands you've run so we can spot and verify what may be missing more easily.

  10. dgowdaan-cmyk commented on Jul 9, 2026

    @dgowdaan-cmyk
    Contributor

    Ran make linkcheck on main. Full run found 108 flagged links , but most are false positives -sites like Wiley, ASME, ResearchGate, JSTOR, and StackOverflow return 403 to bots but work fine for real users , so I'm leaving those alone.

    Genuinely dead links worth fixing (~15):

    • NREL clearsky model page + error reports (404),
    • ASTM G173 spectral data file on NREL (404)
    • EnergyPlus docs + weather pages (404, both moved)
    • climate.onebuilding.org (timeout- will double check this isn't transient)
    • prod.sandia.gov (2 PDFs)- domain no longer resolves at all,
    • PVGIS API-looks like a version bump (v5_2 → newer)
    • Solcast registration page (404)
    • DuraMAT datahub module-sr-library page (404)
    • git-scm.com/documentation → should be git-scm.com/doc (already used correctly elsewhere in the same file)
    • A malformed Wikipedia URL (missing closing paren) for ΔT/timekeeping
    • A GitHub docs anchor that's been renamed (squash-and-merge section).

    Skipping the old dead GitHub profile links in whatsnew.rst per your earlier note.

    I'll track down current URLs for each of these and open a PR. Flagging before I start in case any of these look like they should just be removed instead of replaced.

  11. dgowdaan-cmyk commented on Jul 9, 2026

    @dgowdaan-cmyk
    Contributor

    Update: started tracking down replacement URLs for the dead links. Confirmed so far:

    • pvlib.clearsky.bird: NREL restructured their URLs (and fixed the old nlr.gov domain typo).
      • Old: www.nlr.gov/grid/solar-resource/clearsky.html → New: https://www.nrel.gov/grid/solar-resource/clear-sky
      • The old .../clearsky-error-reports.html page no longer exists as a separate page — that content appears to have been folded into the main clear-sky page above, so I'll point both references there (or drop the second one if it doesn't make sense once merged).
    • pvlib.spectrum.get_reference_spectra: the direct .xls asset path (.../assets/data/astmg173.xls) has moved and I can't find its exact new location, but the stable landing page still works:
      → https://www.nrel.gov/grid/solar-resource/spectra-am1.5

    Still working through the rest (EnergyPlus, Sandia PDFs, PVGIS API version, Solcast, DuraMAT, git-scm anchor, the malformed Wikipedia URL, and the GitHub docs anchor). Will post the full list once I've verified replacements for all of them rather than trickle updates - should have it wrapped up soon.

  12. dgowdaan-cmyk commented on Jul 9, 2026

    @dgowdaan-cmyk
    Contributor

    Progress update - fixed and tested locally so far:

    • pvlib.clearsky.bird: updated to current NREL clear-sky page
    • pvlib.spectrum.get_reference_spectra: fixed NREL domain typo + updated ASTM G173 link
    • pvlib.iotools.parse_epw: EnergyPlus docs moved to readthedocs, updated both references
    • pvlib.solarposition.spa_c: fixed a malformed Wikipedia URL (unencoded trailing parenthesis was breaking the link)
    • installation.rst: fixed git-scm.com link to match the correct URL already used elsewhere in the same file

    Still working through: the two dead prod.sandia.gov PDFs, the PVGIS API version bump, Solcast's registration page, DuraMAT's datahub link, and a renamed GitHub docs anchor. Will open the PR once I've got replacements for all of these (or confirmed removal is the right call for any that don't have one).

  13. modified the milestones: v0.15.3, v0.16.0 on Aug 5, 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

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions