File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,8 @@ def _parse_pvgis_hourly_csv(src, map_variables):
264
264
# Elevation (m): 1389.0\r\n
265
265
metadata ['inputs' ]['elevation' ] = float (src .readline ().split (':' )[1 ])
266
266
# 'Radiation database: \tPVGIS-SARAH\r\n'
267
- metadata ['inputs' ]['radiation_database' ] = src .readline ().split (':' )[1 ].strip ()
267
+ metadata ['inputs' ]['radiation_database' ] = \
268
+ src .readline ().split (':' )[1 ].strip ()
268
269
# Parse through the remaining metadata section (the number of lines for
269
270
# this section depends on the requested parameters)
270
271
while True :
@@ -300,7 +301,8 @@ def _parse_pvgis_hourly_csv(src, map_variables):
300
301
metadata ['descriptions' ] = {}
301
302
for line in src .readlines ():
302
303
if ':' in line :
303
- metadata ['descriptions' ][line .split (':' )[0 ]] = line .split (':' )[1 ].strip ()
304
+ metadata ['descriptions' ][line .split (':' )[0 ]] = \
305
+ line .split (':' )[1 ].strip ()
304
306
return data , metadata
305
307
306
308
You can’t perform that action at this time.
0 commit comments