Plotting across the prime meredian #2648
Replies: 4 comments 12 replies
-
This should be handled by the preprocessor. Could you provide the recipe that you are using so we can check how the preprocessor is used and what it does? I see that you mention the branch, but it would be easier to find things if you also add the name of the recipe that you are using. If you already have a PR, that would be equally good; if not, perhaps consider opening a draft PR for this branch. |
Beta Was this translation helpful? Give feedback.
-
Does anyone have thoughts on this please? |
Beta Was this translation helpful? Give feedback.
-
Thanks for keeping looking at this. |
Beta Was this translation helpful? Give feedback.
-
I've had this issue in the past but just when plotting with pcolormesh(). I believe contourf() works fine. My guess is that the jump from longitude~40º to longitude~355º messes things up with the pcolormesh function. The way I dealt with it was to interpolate the data to longitudes going from -180 to 180 in my diagnostic. Here is the example |
Beta Was this translation helpful? Give feedback.
-
Hi all
I'll trying to make a diagnostic that plots data crossing the prime meridian (0 degrees east/west).
However I get plots looking like the attached, where to the east of zero degrees, something isnt right.
I can't find if this is an issue with iris plotting, or if the preprocessor which extracts a region from my datasets is causing the issue.
This problem is the same if I try to extract, say longitude -10 to +10 or 350 to 370 degrees,
I can see my obs data has longitude -180 to +180, and the CMIP6 model data I'm using has longitude 0-360. Is this a problem? If so I assume I need to re-run my obs data cmorizer with some code to correct the obs to 0-360 degrees?
My cmorizer, recipe and diagnostic are on the branch cmug_wp4_10
Beta Was this translation helpful? Give feedback.
All reactions