xarray-spatial icon indicating copy to clipboard operation
xarray-spatial copied to clipboard

Add xr.Dataset as input type for appropriate modules

Open brendancol opened this issue 4 years ago • 2 comments

zonal.stats should run for each layer in xr.Dataset and return a pd.DataFrame with columns named {dataset_layer_name}_{stat_name}

@chase-dwelle hey what do you think about the API for accepting xr.Datasets as inputs in the focal / convolution modules?

brendancol avatar Oct 12 '20 01:10 brendancol

@brendancol for the focal module, you mean accepting an xr.Dataset as input and returning an xr.Dataset of the same size with the focal kernel applied to each layer, correct? If so, happy to do that in a new PR.

chase-dwelle avatar Oct 13 '20 01:10 chase-dwelle

@brendancol, will this issue be worked on?

giancastro avatar May 05 '21 14:05 giancastro