Repository navigation
Closed
Labels
Milestone
Description
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.
Reacted by Kevin Anderson
Activity
Fix broken user guide references
Fix all broken documentation links from linkchecker
Update GitHub usernames to current handles
Remove invalid johnMoseleyArray GitHub username
Fix broken links throughout codebase
Improve documentation links with DOIs and updated URLs
Fix reference formatting to comply with IEEE style guide
aman-coder03 commentedon Nov 28, 2025
Can I work on this?
12 remaining items
echedey-ls commentedon Jul 8, 2026
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.
dgowdaan-cmyk commentedon Jul 9, 2026
Ran
make linkcheckon 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):
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.
dgowdaan-cmyk commentedon Jul 9, 2026
Update: started tracking down replacement URLs for the dead links. Confirmed so far:
pvlib.clearsky.bird: NREL restructured their URLs (and fixed the oldnlr.govdomain typo).www.nlr.gov/grid/solar-resource/clearsky.html→ New:https://www.nrel.gov/grid/solar-resource/clear-sky.../clearsky-error-reports.htmlpage 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.xlsasset 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.5Still 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.
dgowdaan-cmyk commentedon Jul 9, 2026
Progress update - fixed and tested locally so far:
pvlib.clearsky.bird: updated to current NREL clear-sky pagepvlib.spectrum.get_reference_spectra: fixed NREL domain typo + updated ASTM G173 linkpvlib.iotools.parse_epw: EnergyPlus docs moved to readthedocs, updated both referencespvlib.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 fileStill 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).
MrMeeseeksPiano commentedon Oct 22, 2026
Not sure if this is the right place to post, but I'm having trouble with the accessing this api [https://re.jrc.ec.europa.eu/api/tmy] to get irradiance data. It keeps returning "This url is blocked. Please contact the website admin.". Anyone else having this issue?
williamhobbs commentedon Oct 22, 2026
@MrMeeseeksPiano, it seems to be working ok for me. See screenshot below. I'm just guessing, but that "blocked" message sounds like something that might be happening on your side - maybe a corporate or university firewall/web filter issue? I would start by trying on another network (e.g., at home, connect your computer to a phone mobile hotspot, etc.) and/or contact your IT department.
I also think you should be able to test the network, without needing python/pvlib, by simply trying the url in a web browser:
MrMeeseeksPiano commentedon Oct 22, 2026
@williamhobbs This thing must be playing a prank on me. It started working again 5 minutes after I posted that comment. It had been down for over 12 hours. I even asked a couple of friends from different cities to see if they were getting the same error and they were. Not sure what happened and coulnd't really find any official reports about it either (is there even an official channel for that kind of thing?).
echedey-ls commentedon Oct 22, 2026
I'm closing this issue as resolved due to outdated reports.
@MrMeeseeksPiano sometimes the Internet is a hostile place, I didn't find anything notably relevant in the changelog. Last commit was done three days ago, maybe they were updating and maintaining their server (purely speculating). Feel free to open another issue or contact us through the mailing list pvlib-python@googlegroups.com.