Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def load_isd_data_eeweather(self, station, start, end):
return eeweather.load_isd_hourly_temp_data(
station, start, end)
def _get_temperature_data_eeweather(usaf_id, start,
end, normalized, use_cz2010):
if normalized:
if use_cz2010:
tempC = eeweather.load_cz2010_hourly_temp_data(usaf_id, start, end)
else:
tempC = eeweather.load_tmy3_hourly_temp_data(usaf_id, start, end)
else:
tempC = eeweather.load_isd_hourly_temp_data(usaf_id, start, end)
return tempC