Skip to content

Commit 9927aeb

Browse files
linter v2
1 parent 1cbb2ae commit 9927aeb

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

pvlib/iotools/surfrad.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,8 @@ def get_surfrad(station, start, end, map_variables=True,
191191
"""
192192
Request data from NOAA SURFRAD and read it into a DataFrame.
193193
194-
The SURFRAD network is described in [1]_.
195-
See README files located in the station directories in the SURFRAD
196-
data archives [2]_ for details on SURFRAD daily data files. In addition to
194+
The SURFRAD network is described in [1]_. The README files are located in
195+
the station directories in the SURFRAD data archives [2]_. In addition to
197196
the FTP server, the SURFRAD files are also available via HTTP access [3]_.
198197
199198
Data is returned for complete days, including ``start`` and ``end``.
@@ -250,7 +249,7 @@ def get_surfrad(station, start, end, map_variables=True,
250249
station = station.lower()
251250

252251
filenames = [
253-
f"{station}/{d.year}/{station}{d.strftime('%y')}{d.dayofyear:03}.dat"
252+
f"{station}/{d.year}/{station}{d.strftime('%y')}{d.dayofyear: 03}.dat"
254253
for d in dates
255254
]
256255

0 commit comments

Comments
 (0)