To eliminate FutureWarnings by the call of xr.Dataset.dims in xwrf it is replaced by xr.Dataset.sizes according to the warning:
FutureWarning: The return type of `Dataset.dims` will 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`.
Related issue number
No issue opened
Checklist
[ ] Unit tests for the changes exist
[ ] Tests pass on CI
[ ] Documentation reflects the changes where applicable
Please add any other relevant info below:
No additional test were implemented so far. I am open for suggestions if these are required for a change of this scope.
Change Summary
To eliminate
FutureWarnings
by the call ofxr.Dataset.dims
inxwrf
it is replaced byxr.Dataset.sizes
according to the warning:Related issue number
No issue opened
Checklist
Please add any other relevant info below: