Skip to content
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 better regridding methods #37

Open
aekiss opened this issue Jun 20, 2023 · 2 comments
Open

Use better regridding methods #37

aekiss opened this issue Jun 20, 2023 · 2 comments
Labels
mediator Related to the CMEPS mediator priority:med

Comments

@aekiss
Copy link
Contributor

aekiss commented Jun 20, 2023

datm.streams.xml and drof.streams.xml in the ACCESS-OM3 configurations currently use <mapalgo>bilinear</mapalgo> but there are better options - see here and here. Probably best to use conserve for fluxes and patch for everything else - this is what we did in ACCESS-OM2.

See https://github.com/COSIMA/access-om3/wiki/Configurations for details.

@aekiss
Copy link
Contributor Author

aekiss commented Jun 20, 2023

Also see remapMethod in nuopc.runseq; options are redist, bilinear (the default), patch, nearest_stod, nearest_dtos, conserve. For strict bit-for-bit reproducibility srcTermProcessing=1 and termOrder=srcseq are also required. See details here and here.

@kieranricardo
Copy link
Collaborator

kieranricardo commented Jun 21, 2023

As far as I can tell, at the moment the field exchange modules in cmeps (e.g. here) assume that redist is used. This way all fields arrive at the mediator on their native grids and CMEPS handles the re-gridding itself.

The regridding options are set by the field exchange modules and we'll need to create our own ACCESS field exchange module so this gives us a bit of flexibility. The existing field exchange modules enable remapping fields to be specified, if these aren't specified the remapping type falls back to a hard coded default and the weights are calculated at initialisation. We could follow this approach or do something else (e.g. allow uses to specify a remapping type).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mediator Related to the CMEPS mediator priority:med
Projects
None yet
Development

No branches or pull requests

4 participants