-
Notifications
You must be signed in to change notification settings - Fork 61
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
Error while using solver.eofs with eofs.xarray #127
Comments
1. Error while using
|
@Pearl-Ayem - possible duplicate of #123? The fix posted was to change line
to the following:
|
@Pearl-Ayem are you able to check if your issue is resolved in the latest master branch? |
@ajdawson. I had the same I cloned the master branch and imported that instead, and it works now. Thanks for the fix. |
In my problems, i change all the related in the '..lib\site-packages\eofs\xarray.py' file then, the errors are resoved |
I am confused by this error as this code was working perfectly fine until last week.
biweekly_data
is an Xarray Dataset and when I type the following:I get this error:
TypeError: the input must be an xarray DataArray
So I tried:
And then get this:
TypeError: Using a DataArray object to construct a variable is ambiguous, please extract the data using the .data property
So one more time I tried:
And get:
TypeError: the input must be an xarray DataArray
It just baffled me because I've used the code as shown in the very top block before to create maps like these:
Note:
The solver works if I use
eofs.standard
when I usesolver = Eof(biweekly_data.snowmelt.data, weights=wgts)
The text was updated successfully, but these errors were encountered: