def ocean_data(source, my_loc): WeatherInfo = NoaaParser() all_locations = WeatherInfo.parse_results(source) my_sources = WeatherInfo.get_locations(my_loc, all_locations) return WeatherInfo.weather_get(my_sources)
def ocean_data_clean(source, my_loc, time_zone): WeatherInfo = NoaaParser() all_locations = WeatherInfo.parse_results(source) my_sources = WeatherInfo.get_locations(my_loc, all_locations) return WeatherInfo.weather_info_dict(my_sources, time_zone)