ACCESS-CM2 pacemaker set ups

Hi all,

I am wanting to setup a pacemaker experiment in ACCESS-CM2, using a different restoring climatology for each model year.
I already know how to set up an experiment that restores to the same climatology for each model year over a region mask. This is done by adding the following to
/roses/u-exp/app/coupled/rose-app.conf

[file:$OCN_RUNDIR/INPUT/temp_sfc_restore.nc]
source=dir/to/restorevals.nc

[file:$OCN_RUNDIR/INPUT/restore_mask.nc]
source=dir/to/restoremask.nc

and changing lines in this file
/roses/u-exp/app/mom/rose-app.conf

read_restore_mask=.true.

temp_restore_tscale=x

However I want to change the file that is used to restore at each model year/cycle or use one restoring file that has 50 years of data instead of 12 months to restore

I am hoping someone will be able to assist in setting this up?

It would be similar to the pacemaker setup in this study but using SST restoring https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2021GL096887

Thanks in advance!
Sebastian

1 Like

Similar work has been done on ESM, however I forgot how to and need do dig it out. Meanwhile, to make it simple we can just copy Dave’s run (u-bx973):

u-bx973/app/coupled/rose-app.conf

[file:$ICE_RUNDIR/INPUT/HadSST_daily.nc]
source=/g/data/p66/dhb599/obs_data/HadSST/Daily/HadSST_360x300_Land0_daily_$THISYEAR.nc

[file:$ICE_RUNDIR/INPUT/HadSST_mask.nc]
source=/g/data/p66/dhb599/obs_data/HadSST/Mask_TA1.nc

However, need to be noted that Dave has modify the code:
so that you need to use his suit

u-bx973/suite.rc

cp -rf /home/599/dhb599/ACCESS-CM2/submodels/mom5_access2_TASST $CYLC_SUITE_SHARE_DIR/mom
rsync -r $CYLC_SUITE_SHARE_DIR/mom {{COMPUTE_HOST}}:$CYLC_SUITE_SHARE_DIR

If you can not access P66, I have copied to

/scratch/public/ars599/u-bx944d

Let me know if you need more info.

2 Likes

Thanks so much for this!
I’ll take a look and let you know how it goes in the next few days.

I am assuming that this means the restoring SST file needs to be labelled in this format where $THISYEAR is the model year? So if I change this the directory and file name to where I have my specific yearly climatology files as long as it has $THISYEAR it should work right?

My restoring files would be monthly, so I assume they would work, or do they need to be daily?

monthly should work.

Hi,
Thanks again
The bx973 suite looks like it is a branched historical experiment. My other pacemaker experiment is branched from a piControl experiment.

I am wondering if there is much I need to change, to ensure that runs are identical except for the SST restoring values? just turn off time varying gas mmr and change restart files/dates?

In other suites I have used, there is usually a warm restart directory, start date etc under Run Initialisation and cycling, but in this suite that I have copied it seems to be under jinja2 but this also has other options like things for ozone which I am not sure is the same as the other suite.

This is side by side view of the suites left is bx973 copy I am modifying and right is my first experiment that has run (cw323)

I am also wondering, what is the restoring timescale in this suite, or do you know how to check/change?

Let me know what if you can answer any of this, thanks!

Cheers,
Sebastian

Also, for the SST restoring file, what should the time dimension look like? I can’t check Daves files as I don’t have permission. This is what I have at the moment:

variables:
        double TIME(TIME) ;
                TIME:long_name = "time" ;
                TIME:units = "days since 0000-01-01 00:00:00" ;
                TIME:time_origin = "01-JAN-0000 00:00:00" ;
                TIME:modulo = 365.242492675781 ;
                TIME:axis = "T" ;
                TIME:calendar = "gregorian" ;

if based on piControl, your changes are shown as following:

suite.rc

cd $CYLC_SUITE_SHARE_DIR
if [ -d mom ] ; then
  rm -rf mom
fi
module load git
#dhb599: git clone -b CM2-0.1 https://github.com/mom-ocean/MOM5.git $CYLC_SUITE_SHARE_DIR/mom
#dhb599: use local code modified for the SST pacemaker exp
cp -rf /home/599/dhb599/ACCESS-CM2/submodels/mom5_access2_TASST $CYLC_SUITE_SHARE_DIR/mom
rsync -r $CYLC_SUITE_SHARE_DIR/mom {{COMPUTE_HOST}}:$CYLC_SUITE_SHARE_DIR

Dave modified the mom code directly.

app/coupled/rose-app.conf

[file:$ICE_RUNDIR/INPUT/HadSST_daily.nc]
source=/g/data/p66/dhb599/obs_data/HadSST/Daily/HadSST_360x300_Land0_daily_$THISYEAR.nc

[file:$ICE_RUNDIR/INPUT/HadSST_mask.nc]
source=/g/data/p66/dhb599/obs_data/HadSST/Mask_TA1.nc

The rest keep using the one from piControl. (follow yours no need to use Dave’t)

as for the starting year ( I guess, you can give a test. Getting old can’t remember everything sorry, but I hope this is the one)

rose-suite.conf

BASIS='18500101'

The modified code is in Dave’s home directory which isn’t necessarily accessible to everyone. It should be pushed to GitHub. Probably as a branch on a fork, but even better if it could be incorporated into MOM5 in a way that it could be “turned on” with a namelist option or compiler pre-processor flag.

NB: Arnold, I modified the suite changes to be in code blocks instead of block quotes. That way whitespace is preserved correctly, long lines are rendered better and it is simple to copy the code changes with the in-built copy to clipboard functionality of code blocks. Hope that is ok.

Many thanks, Aidan!!! Somehow code blocks are not working with my school email address but my personal one, many thanks for your help.

Dave’s code … mmmm I will have a separate email with you. But many years ago Arrian has done one without changing the code. I need to double-check with her. I forget how to do it.

1 Like