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

extend diag_mediator to handle many diagnostic variations/aliases #171

Closed
nichannah opened this issue May 5, 2015 · 0 comments
Closed

Comments

@nichannah
Copy link
Collaborator

Presently the diag_mediator interface can be used to save a CMOR alias of a diagnostic as well as the primary/native diagnostic. Instead of requiring separate calls to diag_register() and post_data() for CMOR the diag_mediator takes care of this implicitly. If a diagnostic has a CMOR alias it will be registered+posted at the same time as the primary diagnostic.

In preparation for #62 we'd like to generalise this approach so that a diagnostic can not only have an alias/variation for CMOR but also for vertical coordinates. So, for example a call to post_data may result in many 'variations' of a diagnostic being written out. There will be the primary diagnostic, the CMOR diag, and the another with a remapped vertical coordinate. Other variations could also be accommodated, for example a decimated variation.

ashao pushed a commit to ashao/MOM6 that referenced this issue Jan 14, 2021
Added a counter-based PRNG to MOM_random
marshallward pushed a commit to marshallward/MOM6 that referenced this issue Jul 27, 2022
* Add a variable to shorten some statements

- suggested by @Hallberg-NOAA in the discussion for mom-ocean#164

* Fix to small i/j error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant