Skip to content

Commit e52b28c

Browse files
committed
Meteostat 1.4.4
1 parent 246b321 commit e52b28c

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

examples/normals/point.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# Get normals
1818
data = Normals(vancouver, 1961, 1990)
19-
data = data.fetch()
19+
data = data.normalize().fetch()
2020

2121
# Plot chart
2222
data.plot(y=['tavg', 'tmin', 'tmax'])

meteostat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"""
1313

1414
__appname__ = 'meteostat'
15-
__version__ = '1.4.3'
15+
__version__ = '1.4.4'
1616

1717
from .interface.stations import Stations
1818
from .interface.point import Point

meteostat/interface/normals.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ def _resolve_point(
205205
# Set placeholder station ID
206206
self._data['station'] = 'XXXXX'
207207
self._data = self._data.set_index('station', append=True)
208+
self._data = self._data.reorder_levels(
209+
['station', 'start', 'end', 'month'])
208210
self._stations = pd.Index(['XXXXX'])
209211

210212
def __init__(

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# Setup
1616
setup(
1717
name='meteostat',
18-
version='1.4.3',
18+
version='1.4.4',
1919
author='Meteostat',
2020
author_email='[email protected]',
2121
description='Access and analyze historical weather and climate data with Python.',

0 commit comments

Comments
 (0)