Skip to content

Commit 160f151

Browse files
review
Co-authored-by: Kevin Anderson <[email protected]>
1 parent 2170d58 commit 160f151

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pvlib/pvsystem.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2062,7 +2062,8 @@ def retrieve_sam(name=None, path=None):
20622062
Name: AE_Solar_Energy__AE6_0__277V_, dtype: object
20632063
20642064
# using the latest CEC Inverter database, via URL
2065-
>>> inv_db = pvsystem.retrieve_sam(path="https://raw.githubusercontent.com/NREL/SAM/refs/heads/develop/deploy/libraries/CEC%20Inverters.csv")
2065+
>>> url = "https://raw.githubusercontent.com/NREL/SAM/refs/heads/develop/deploy/libraries/CEC%20Inverters.csv"
2066+
>>> inv_db = pvsystem.retrieve_sam(path=url)
20662067
>>> inv_db.keys()
20672068
Index(['ABB__PVI_3_0_OUTD_S_US_A__208V_', 'ABB__PVI_3_0_OUTD_S_US_A__240V_', ...],
20682069
dtype='object', length=...)

0 commit comments

Comments
 (0)