@@ -173,9 +173,6 @@ def get_nsrdb_psm4_aggregated(latitude, longitude, api_key, email,
173
173
latitude = ('%8.4f' % latitude ).strip ()
174
174
# TODO: make format_WKT(object_type, *args) in tools.py
175
175
176
- # convert to string to accomodate integer years being passed in
177
- year = str (year )
178
-
179
176
# convert pvlib names in parameters to PSM4 convention
180
177
parameters = [REQUEST_VARIABLE_MAP .get (a , a ) for a in parameters ]
181
178
@@ -450,9 +447,6 @@ def get_nsrdb_psm4_conus(latitude, longitude, api_key, email, year,
450
447
latitude = ('%8.4f' % latitude ).strip ()
451
448
# TODO: make format_WKT(object_type, *args) in tools.py
452
449
453
- # convert to string to accomodate integer years being passed in
454
- year = str (year )
455
-
456
450
# convert pvlib names in parameters to PSM4 convention
457
451
parameters = [REQUEST_VARIABLE_MAP .get (a , a ) for a in parameters ]
458
452
@@ -592,9 +586,6 @@ def get_nsrdb_psm4_full_disc(latitude, longitude, api_key, email,
592
586
latitude = ('%8.4f' % latitude ).strip ()
593
587
# TODO: make format_WKT(object_type, *args) in tools.py
594
588
595
- # convert to string to accomodate integer years being passed in
596
- year = str (year )
597
-
598
589
# convert pvlib names in parameters to PSM4 convention
599
590
parameters = [REQUEST_VARIABLE_MAP .get (a , a ) for a in parameters ]
600
591
0 commit comments