spedas / pyspedas

Python-based Space Physics Environment Data Analysis Software
https://pyspedas.readthedocs.io/
MIT License
149 stars 58 forks source link

'dims' argument in tdotp is deprecated #823

Closed jameswilburlewis closed 2 months ago

jameswilburlewis commented 5 months ago

2024-04-11T04:54:44.8346344Z 11-Apr-24 04:54:44: /opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/pytplot/tplot_math/tdotp.py:54: PendingDeprecationWarning: Thedimsargument has been renamed todim, and will be removed in the future. This renaming is taking place throughout xarray over the next few releases.

jameswilburlewis commented 5 months ago

This is a fairly new development (introduced in the Dec 8, 2023 version of xarray). We probably don't want to force users to update xarray just yet (and it's only a PendingDeprecationWarning), so this can probably wait until the dims->dim change is fully rolled out in a future xarray release.