Skip to content

Commit

Permalink
Meteostat 1.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
clampr committed Jun 19, 2021
1 parent 246b321 commit e52b28c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/normals/point.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Get normals
data = Normals(vancouver, 1961, 1990)
data = data.fetch()
data = data.normalize().fetch()

# Plot chart
data.plot(y=['tavg', 'tmin', 'tmax'])
Expand Down
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.4.3'
__version__ = '1.4.4'

from .interface.stations import Stations
from .interface.point import Point
Expand Down
2 changes: 2 additions & 0 deletions meteostat/interface/normals.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ def _resolve_point(
# Set placeholder station ID
self._data['station'] = 'XXXXX'
self._data = self._data.set_index('station', append=True)
self._data = self._data.reorder_levels(
['station', 'start', 'end', 'month'])
self._stations = pd.Index(['XXXXX'])

def __init__(
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.4.3',
version='1.4.4',
author='Meteostat',
author_email='[email protected]',
description='Access and analyze historical weather and climate data with Python.',
Expand Down

0 comments on commit e52b28c

Please sign in to comment.