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

Age tracer reset in each IAF cycle #235

Open
aekiss opened this issue Apr 22, 2021 · 2 comments
Open

Age tracer reset in each IAF cycle #235

aekiss opened this issue Apr 22, 2021 · 2 comments

Comments

@aekiss
Copy link
Contributor

aekiss commented Apr 22, 2021

The IAF cycles are run as an ensemble, restarting each cycle using the initial condition from the end of the previous cycle (to avoid leap year issues - see #149).

Unfortunately this resets the age tracer to zero at the start of each cycle, e.g.

import cosima_cookbook as cc
session = cc.database.create_session()
ageiaf = cc.querying.getvar('01deg_jra55v140_iaf_cycle2', 'age_global', session, decode_coords=False, n=-1)
ageiaf.max().load()

returns 60.5968 even though it's 120 years into the run.

This age resetting issue does not affect the RYF runs, e.g.

import cosima_cookbook as cc
session = cc.database.create_session()
ageryf = cc.querying.getvar('01deg_jra55v13_ryf9091', 'age_global', session, decode_coords=False, n=-1)
ageryf.max().load()

returns 270.7675, consistent with being 271 years into the run.

@rmholmes
Copy link
Collaborator

Just a note: This affects the 1-degree and 1/4-degree OMIP-2 simulations to be submitted to the ESGF as well.

@aekiss
Copy link
Contributor Author

aekiss commented Nov 24, 2021

The solution is to use something like

&ocean_tracer_nml
     age_tracer_max_init = 61.0
     limit_age_tracer  = .true.

where age_tracer_max_init is the total length of the run at the start of a new cycle (so it will need to be updated at the start of each cycle).
See mom-ocean/MOM5#339 (comment)

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

2 participants