Skip to content

Commit 0ae3558

Browse files
jason-curtisclaude
andcommitted
Fix reference formatting in irradiance.py and pvsystem.py
- Remove non-standard double URL in AM1.5 spectra reference - Remove "Pre-print:" prefix from Marion 2008 reference URL Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1ebb8d6 commit 0ae3558

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pvlib/pvsystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ def retrieve_sam(name=None, path=None):
20842084
Notes
20852085
-----
20862086
Files available at
2087-
https://github.com/NREL/SAM/tree/develop/deploy/libraries
2087+
https://github.com/NatLabRockies/SAM/tree/develop/deploy/libraries
20882088
20892089
Examples
20902090
--------
@@ -2963,7 +2963,7 @@ def pvwatts_dc(effective_irradiance, temp_cell, pdc0, gamma_pdc, temp_ref=25.,
29632963
Module Performance," In Proc. 33rd IEEE Photovoltaic Specialists
29642964
Conference (PVSC), San Diego, CA, USA, 2008, pp. 1-6,
29652965
:doi:`10.1109/PVSC.2008.4922586`.
2966-
Pre-print: https://docs.nlr.gov/docs/fy08osti/42511.pdf
2966+
https://docs.nlr.gov/docs/fy08osti/42511.pdf
29672967
""" # noqa: E501
29682968

29692969
pdc = (effective_irradiance * 0.001 * pdc0 *

pvlib/spectrum/irradiance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def get_reference_spectra(wavelengths=None, standard="ASTM G173-03"):
7878
----------
7979
.. [1] ASTM "G173-03 Standard Tables for Reference Solar Spectral
8080
Irradiances: Direct Normal and Hemispherical on 37° Tilted Surface."
81-
.. [2] “Reference Air Mass 1.5 Spectra,” www.nlr.gov.
81+
.. [2] “Reference Air Mass 1.5 Spectra.” NLR.
8282
https://www.nlr.gov/grid/solar-resource/spectra-am1.5.html
8383
""" # Contributed by Echedey Luis, inspired by Anton Driesse (get_am15g)
8484
SPECTRA_FILES = {

0 commit comments

Comments
 (0)