Skip to content

Commit

Permalink
Remove print statement and update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
gutzbenj committed Jun 25, 2020
1 parent a2998ba commit 59d1876
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 1 addition & 5 deletions python_dwd/download/download.py
Expand Up @@ -7,11 +7,9 @@
from io import BytesIO
from multiprocessing import Pool
import pandas as pd
import requests

from python_dwd.constants.metadata import STATIONDATA_MATCHSTRINGS
from python_dwd.download.download_services import build_climate_observations_path, \
download_file_from_climate_observations
from python_dwd.download.download_services import download_file_from_climate_observations
from python_dwd.additionals.functions import find_all_matchstrings_in_string
from python_dwd.enumerations.column_names_enumeration import DWDMetaColumns
from python_dwd.exceptions.failed_download_exception import FailedDownload
Expand Down Expand Up @@ -50,8 +48,6 @@ def _download_dwd_data(remote_file: Union[str, Path]) -> BytesIO:
stores data on local file system
"""
# file_server = build_climate_observations_path(remote_file)

try:
zip_file = download_file_from_climate_observations(remote_file)
except urllib.error.URLError as e:
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Expand Up @@ -14,4 +14,6 @@ fire==0.3.1
docopt==0.6.2
munch==2.5.0
dateparser==0.7.4
fire==0.3.1
fire==0.3.1
requests
beautifulsoup4
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -32,7 +32,7 @@
"dateparser",
"fire",
"requests",
"bs4"
"beautifulsoup4"
],
entry_points={
'console_scripts': [
Expand Down

0 comments on commit 59d1876

Please sign in to comment.