-
Notifications
You must be signed in to change notification settings - Fork 35
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
Use regrided data using xESMF to be plot with Matplotlib and Cartopy #262
Comments
Is it only showing the half between 0 and 180 of longitude ? Could you maybe show us the plotting code with an image as example ? I'm making the hypothesis that ESMF works in the -180-180 longitude system, not the 0-360 as you are using. Suggestion: replace your first line with:
It does the same thing, is simpler and uses the -180-180 system. |
@nuvolet Is this resolved ? |
Hi @aulemahal and @huard I still cannot have a complete plot with data re-griided using xesmf.
Where nudge_Aqua is the difference from 2 datasets I previously re-gridded using xe.Regridder. The plot I get looks like this: |
The only thing I can think of is that your input data has nans. |
Did someone manage to solve this problem? I have a similar issue. Here is the code.
|
Hi Luiz, Could you post a link to a sample of the data so I can try to reproduce the problem on my end ? |
Greetings,
I am trying to figure out why I cannot have a complete plot of from a data array I regrided to another resolution.
The original data array looks like that:
While after using the libraries xESMF:
I got that:
Then, when I plot the new data (Orig_new_reg ) using Matplotlib and Cartopy only shows my half of the data. Is this due to the new data says it is "Dimensions without coordinates: y, x"?. How I can solve that?
Thanks in advance
The text was updated successfully, but these errors were encountered: