Skip to content

Commit

Permalink
Merge pull request #63 from ajdawson/fix-xarray-components
Browse files Browse the repository at this point in the history
Correct wind component error in xarray interface.
  • Loading branch information
ajdawson committed Mar 1, 2016
2 parents eacc98e + 9f8c065 commit 9305672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/windspharm/xarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def u(self):
u = w.u()
"""
u = self._metadata(u, 'u',
u = self._metadata(self._api.u, 'u',
units='m s**-1',
standard_name='eastward_wind',
long_name='eastward_component_of_wind')
Expand All @@ -132,7 +132,7 @@ def v(self):
v = w.v()
"""
v = self._metadata(v, 'v',
v = self._metadata(self._api.v, 'v',
units='m s**-1',
standard_name='northward_wind',
long_name='northward_component_of_wind')
Expand Down

0 comments on commit 9305672

Please sign in to comment.