Skip to content

Commit e3a97b1

Browse files
Merge pull request #68 from xarray-contrib/xarray_2022.6.0
Compatibility with xarray v2022.6.0
2 parents 4a71816 + b0759ce commit e3a97b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Loading

xarray_leaflet/transform.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import warnings
22
import numpy as np
3-
import xarray as xr
3+
import xarray.core.rolling
44

55

66
def passthrough(array, *args, **kwargs):
@@ -14,7 +14,7 @@ def normalize(array, *args, **kwargs):
1414
return array
1515

1616

17-
def coarsen(agg_func=xr.core.rolling.DataArrayCoarsen.mean):
17+
def coarsen(agg_func=xarray.core.rolling.DataArrayCoarsen.mean):
1818
def _(array, *args, **kwargs):
1919
tile_width = kwargs['tile_width']
2020
tile_height = kwargs['tile_height']

0 commit comments

Comments
 (0)