File tree Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Original file line number Diff line number Diff line change 1111 get_method
1212"""
1313
14- from . import arrays
15- from . import cleansing
16- from . import conversion
17- from . import dimension
18- from . import fft
19- from . import images
20- from . import interpolate
21- from . import reprojection
22- from . import spectral
23- from . import tapering
24- from . import transformation
14+ import xarray as xr
15+
16+ from . import (
17+ arrays ,
18+ cleansing ,
19+ conversion ,
20+ dimension ,
21+ fft ,
22+ images ,
23+ interpolate ,
24+ reprojection ,
25+ spectral ,
26+ tapering ,
27+ transformation ,
28+ )
2529
2630
2731def get_method (name , ** kwargs ):
@@ -163,8 +167,8 @@ def get_method(name, **kwargs):
163167
164168 name = name .lower ()
165169
166- def donothing (R , metadata = None , * args , ** kwargs ):
167- return R . copy (), {} if metadata is None else metadata . copy ()
170+ def donothing (dataset : xr . Dataset , * args , ** kwargs ):
171+ return dataset
168172
169173 methods_objects = dict ()
170174 methods_objects ["none" ] = donothing
You can’t perform that action at this time.
0 commit comments