-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use dataarray if its a variable of a dataset #1984
Comments
I can confirm the issue but need some time to see why it doesn't work. |
Okay great, thanks for looking into it 😄 |
The issue is related to #524. |
Here is another example to reproduce the issue after PR #2009 is merged:
|
Some discussions at pydata/xarray#3205 and pydata/xarray#3268. |
Great, thanks! I look forward to using it in v0.9 :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the problem
If a dataarray has been converted to a DataSet with
xarray.DataArray.to_dataset()
, calling the dataarray in PyGMT modules fails. See below that output ofgrid
anddataset.height
are equivalent.Full code that generated the error
Full error message
Output of running
grid
Output of running
dataset.height
System information
Please paste the output of
python -c "import pygmt; pygmt.show_versions()"
:The text was updated successfully, but these errors were encountered: