CH-Earth / meshflow

Workflow to set up MESH models
GNU General Public License v3.0
1 stars 4 forks source link

FutureWarning in `MESHFlow` #17

Open kasra-keshavarz opened 6 months ago

kasra-keshavarz commented 6 months ago

After hitting .run() on the MESHWorkFlow class, one gets the following warning:

path/to/meshflow/src/meshflow/utility/forcing_prep.py:116: 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`.
  var = [i for i in ds.dims.keys() if i != 'time']