mikeio icon indicating copy to clipboard operation
mikeio copied to clipboard

Add new method Dataset.from_xarray

Open ecomodeller opened this issue 3 years ago • 0 comments

Conveniently convert 2d gridded datasets from xarray to mikeio.

Note that this method assumes that all variables have the same dimensions, so first select relevant items before converting. This is easy to do with xarray, hence the method is from_xarray and not from_netcdf.

ecomodeller avatar Jun 20 '22 12:06 ecomodeller