Handle Curvilinear Discontiguities / Overlaps? #195
Replies: 8 comments 3 replies
-
thanks for looking into this |
Beta Was this translation helpful? Give feedback.
-
The ORCA grids (which form a whole family) are massively simpler than for example the Voronoi grid employed by FESOM or the adaptively refined meshes. As such I strongly suggest to try and work this out with the normal curvilinear approach. As for discontinuities and overlaps, I think we can deal with the overlaps by cropping appropriate margins. This is the approach that Nemo itself has adopted starting from the most recent version 4.2, see its migration guide. For existing data from CMIP5 and CMIP6, the situation is unfortunately a bit more complicated. Several ESMs/GCMs use Nemo as their ocean component, but some crop the output to remove the overlap, some mask it, and some keep the duplication. I think only one model, IPSL in CMIP5 (not in CMIP6!), has adopted the approach of cutting out parts of the domain and interleaving the output. I suggest assuming and checking for output with no overlap and no weird interleaving. Does this still leave some discontinuities? |
Beta Was this translation helpful? Give feedback.
-
I've done a little experimenting with ORCA grid files and it looks like they are in fact contiguous by Iris standards but with overlaps which seem to correspond with masked data. I think there's a good chance things should "just work" with a couple tweaks. I did uncover a bug in my experiments which caused failures when the target grid was curvilinear and the data was lazy, though I think this can be worked around by realising the data before regridding while I work on a fix. |
Beta Was this translation helpful? Give feedback.
-
@SciTools/peloton @stephenworsley is this still something we are interested in? If so should this be converted to an issue? |
Beta Was this translation helpful? Give feedback.
-
Has this been solved by the below? |
Beta Was this translation helpful? Give feedback.
-
@scitools/peloton we're investigating need for this internally. |
Beta Was this translation helpful? Give feedback.
-
I think there is a need to do area weighted regrid of orca data produced by the Met Office. |
Beta Was this translation helpful? Give feedback.
-
[like] Jamie Kettleborough reacted to your message:
…________________________________
From: stephenworsley ***@***.***>
Sent: Thursday, May 16, 2024 3:18:10 PM
To: SciTools-incubator/iris-esmf-regrid ***@***.***>
Cc: Jamie Kettleborough ***@***.***>; Mention ***@***.***>
Subject: Re: [SciTools-incubator/iris-esmf-regrid] Handle Curvilinear Discontiguities / Overlaps? (Discussion #195)
This email was received from an external source. Always check sender details, links & attachments.
We use the peleton tag when we are answering on behalf of the peleton. We tend to have a different person leading the peleton each week so the idea is that this helps clarify the thread of conversation across peleton sessions.
Discussing this at a surgery sounds perfect.
—
Reply to this email directly, view it on GitHub<#195 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABCNCX2IGQXLI55HTL5DAQTZCTE3FAVCNFSM52WTVA32U5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TSNBVHE2TSMQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@jkettleb has asked about the long-term possibility of using iris-esmf-regrid on ORCA grids (example).
Since these can be loaded as Iris cubes with 2D coordinates, it seems likely that iris-esmf-regrid can already attempt to process these grids via its curvilinear support, however the presence of discontiguities/overlaps could mean an invalid result being calculated. Such 'aberrations' are at least limited to terrestrial areas, so problems with the output might not actually matter, depending how they manifest. @stephenworsley is planning a cursory investigation.
If the output does prove unusable, there are two possible ways forward:
Presumably will be complex work. We don't have full flexibility in this area given the use of ESMF as
the engine.
This has already been demonstrated for other layouts (see docs page), and would allow us to develop more efficiently. But we'd need to understand more about whether or not this would fit into user workflows.
Beta Was this translation helpful? Give feedback.
All reactions