@@ -173,9 +173,6 @@ def get_nsrdb_psm4_aggregated(latitude, longitude, api_key, email,
173173 latitude = ('%8.4f' % latitude ).strip ()
174174 # TODO: make format_WKT(object_type, *args) in tools.py
175175
176- # convert to string to accomodate integer years being passed in
177- year = str (year )
178-
179176 # convert pvlib names in parameters to PSM4 convention
180177 parameters = [REQUEST_VARIABLE_MAP .get (a , a ) for a in parameters ]
181178
@@ -450,9 +447,6 @@ def get_nsrdb_psm4_conus(latitude, longitude, api_key, email, year,
450447 latitude = ('%8.4f' % latitude ).strip ()
451448 # TODO: make format_WKT(object_type, *args) in tools.py
452449
453- # convert to string to accomodate integer years being passed in
454- year = str (year )
455-
456450 # convert pvlib names in parameters to PSM4 convention
457451 parameters = [REQUEST_VARIABLE_MAP .get (a , a ) for a in parameters ]
458452
@@ -592,9 +586,6 @@ def get_nsrdb_psm4_full_disc(latitude, longitude, api_key, email,
592586 latitude = ('%8.4f' % latitude ).strip ()
593587 # TODO: make format_WKT(object_type, *args) in tools.py
594588
595- # convert to string to accomodate integer years being passed in
596- year = str (year )
597-
598589 # convert pvlib names in parameters to PSM4 convention
599590 parameters = [REQUEST_VARIABLE_MAP .get (a , a ) for a in parameters ]
600591
0 commit comments