mikeio
mikeio copied to clipboard
Add new method Dataset.from_xarray
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.