JMMP-Group / nordic-seas-validation

MIT License
0 stars 1 forks source link

FutureWarning: iteritems when using ho2000 #27

Closed atb299 closed 2 years ago

atb299 commented 2 years ago

Flagging this as it came up when I started using nsv last week:

ho2000 /home/users/atb299/miniconda3/envs/nordic-seas-validation/lib/python3.10/site-packages/xarray/core/merge.py:490: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead. obj = dict(obj.iteritems())

It doesn't affect any of the other sections.

malmans2 commented 2 years ago

The warning is triggered by xarray and I think it has been fixed: https://github.com/pydata/xarray/pull/6986 xarray v2022.09.0 has been released a couple of days ago, so it should be enough to update your environment.

oceandie commented 2 years ago

The warning is triggered by xarray and I think it has been fixed: pydata/xarray#6986 xarray v2022.09.0 has been released a couple of days ago, so it should be enough to update your environment.

Yes, I have updated xarray lately and I don't get this error ... thanks @malmans2 !!