You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below code gives a FutureWarning with xarray 2023.12.0:
import xugrid as xu
import dfm_tools as dfmt
file_nc = dfmt.data.fm_curvedbend_map(return_filepath=True)
uds = xu.open_dataset(file_nc)
"[...]\site-packages\xarray\core\utils.py:494: FutureWarning: The return type of Dataset.dimswill be changed to return a set of dimension names in future, in order to be more consistent withDataArray.dims. To access a mapping from dimension names to lengths, please use Dataset.sizes."
The used netcdf file is also available on opendap.
Also happens in: C:\DATA\xugrid\xugrid\ugrid\partitioning.py:384: FutureWarning: The return type of Dataset.dimswill be changed to return a set of dimension names in future, in order to be more consistent withDataArray.dims. To access a mapping from dimension names to lengths, please use Dataset.sizes. chunks[dim] = (merged.dims[dim],)
The text was updated successfully, but these errors were encountered:
The below code gives a FutureWarning with xarray 2023.12.0:
"[...]\site-packages\xarray\core\utils.py:494: FutureWarning: The return type of
Dataset.dimswill be changed to return a set of dimension names in future, in order to be more consistent with
DataArray.dims. To access a mapping from dimension names to lengths, please use
Dataset.sizes."
The used netcdf file is also available on opendap.
Also happens in:
C:\DATA\xugrid\xugrid\ugrid\partitioning.py:384: FutureWarning: The return type of
Dataset.dimswill be changed to return a set of dimension names in future, in order to be more consistent with
DataArray.dims. To access a mapping from dimension names to lengths, please use
Dataset.sizes. chunks[dim] = (merged.dims[dim],)
The text was updated successfully, but these errors were encountered: