Closed Ensase closed 2 years ago
Thank you for the report! I just tested it quickly and it looks like the problem only occurs with the latest version of xarray (0.19.0). Can you confirm you are using that version?
It looks like it should be easy to fix but in the meantime you can downgrade xarray, e.g. pip install xarray==0.18.2
Thank you for quick answer! Yes, it was xarray 0.19, error fixed by downgrade to 0.18.2
Hello everyone! I have a problem with 05b1_Solar-Wind-to-Ground.ipynb on step Ground observatory data. Run fetch_ground_obs return error on line![output](https://user-images.githubusercontent.com/5512148/134814886-0232e04a-6150-44bd-8d22-dc840979609a.png)
ds = data.as_xarray(reshape=True)
:TypeError: Using a DataArray object to construct a variable is ambiguous, please extract the data using the .data property. ...
Changing to ds = data.as_xarray() in the function fetch_ground_obs solve the problem, but "IAGA_code" field not become a new axis.