umr-lops / grdwindinversion

python library to compute wind speed from GRD SAR images
https://cerweb.ifremer.fr/datarmor/doc_sphinx/grdwindinversion/index.html
MIT License
6 stars 1 forks source link

warnings xarray coords #20

Closed agrouaze closed 12 months ago

agrouaze commented 12 months ago

Some warnings that we should remove:

grdwindinversion/grdwindinversion/inversion.py:351: UserWarning: rename 'line' to 'owiAzSize' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.
  dataset_1000m = dataset_1000m.rename({"line": "owiAzSize", "sample": "owiRaSize"})
grdwindinversion/grdwindinversion/inversion.py:351: UserWarning: rename 'sample' to 'owiRaSize' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.