Пример #1
0
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)
Пример #2
0
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)
Пример #3
0
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)
Пример #4
0
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)