Skip to content

Commit

Permalink
0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Jan 24, 2021
1 parent e656ad1 commit dcee2c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion climetlab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

# import logging

__version__ = "0.1.8"
__version__ = "0.1.9"


# if ipython_active:
Expand Down
3 changes: 2 additions & 1 deletion climetlab/helpers/xarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def plot_map(self, driver):
driver.plot_xarray(self.data, self.name, dimension_settings)

def field_metadata(self):
result = dict(shape=self.var.shape)
shape = self.var.shape
result = dict(shape=(shape[-2], shape[-1]))
result.update(self.var.attrs)
result.update(
dict(
Expand Down

0 comments on commit dcee2c2

Please sign in to comment.