Skip to content

Commit

Permalink
Fix URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
clampr committed Apr 12, 2021
1 parent 425bf7a commit 3e12719
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion meteostat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"""

__appname__ = 'meteostat'
__version__ = '1.2.0'
__version__ = '1.2.1'

from .core import Core
from .stations import Stations
Expand Down
5 changes: 2 additions & 3 deletions meteostat/daily.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,8 @@ def _load(
"""

# File name
file = 'stations' + os.sep + 'daily' + os.sep + \
('full' if self.model else 'observation') + \
os.sep + station + '.csv.gz'
file = 'daily/' + ('full' if self.model else 'obs') + \
'/' + station + '.csv.gz'

# Get local file path
path = self._get_file_path(self.cache_subdir, file)
Expand Down
3 changes: 1 addition & 2 deletions meteostat/hourly.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ def _load(
"""

# File name
file = 'stations' + os.sep + 'hourly' + os.sep + \
('full' if self.model else 'observation') + os.sep + \
file = 'hourly/' + ('full' if self.model else 'obs') + '/' + \
(year + os.sep if year else '') + station + '.csv.gz'

# Get local file path
Expand Down
2 changes: 1 addition & 1 deletion meteostat/stations.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _load(self) -> None:
"""

# File name
file = 'stations' + os.sep + 'meta' + os.sep + 'lib.csv.gz'
file = 'stations/lib.csv.gz'

# Get local file path
path = self._get_file_path(self.cache_subdir, file)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Setup
setup(
name='meteostat',
version='1.2.0',
version='1.2.1',
author='Meteostat',
author_email='[email protected]',
description='Access and analyze historical weather and climate data with Python.',
Expand Down

0 comments on commit 3e12719

Please sign in to comment.