Note

This page is rendered from the Jupyter notebook notebooks/Tutorial1_CMORisation_ENSO_Recipes.ipynb in the ACCESS-MOPPy repository. The outputs below were stored the last time the notebook was run; cells are not re-executed when the documentation is built. Open the notebook on GitHub to run it yourself.

CMORising ACCESS-ESM1.6 Spin-Up for ACCESS-ENSO-Recipes#

The ACCESS CMIP7 consortium is actively developing the ACCESS-ESM1.6 model for submission to the CMIP7 Fasttrack initiative. As part of this effort, a spin-up run is being conducted on the NCI Gadi supercomputer, with output data progressively becoming available. However, this data cannot yet be easily evaluated using established evaluation frameworks such as ESMValTool or ILAMB.

This notebook demonstrates how to process the variables required by the ACCESS-ENSO-Recipe, developed by ACCESS-NRI and leveraging ESMValTool, to enable robust evaluation of ACCESS-ESM1.6 spin-up runs. This workflow provides a pathway for the scientific assessment and validation of the new model output.

Variables Required for ACCESS-NRI ENSO Recipes#

To run the ACCESS-NRI ENSO Recipes on the current ACCESS-ESM1.6 spin-up (CMIP7 FastTrack), the following variables are needed:

  • pr: Precipitation

  • tos: Sea surface temperature (can be interchanged with ts)

  • tauu: Zonal wind stress

  • ts: Surface air temperature (can be interchanged with tos)

  • zos: Sea surface height

  • nhf: Net heat flux, calculated as nhf = (-hfds - hfss + rlds - rlus + rsds - rsus)

Notes:

  • hfds is missing.

  • The mapping for rlus and rsus is currently unknown.

  • ts and tos can be used interchangeably.

This list is based on the requirements for the ENSO diagnostics and workflow as described in the ACCESS-NRI ENSO Recipes documentation.

To run the CMORIsation we advice using an X-Large or XX-Large session on ARE.

Note:
ARE (Analysis Research Environment) is the interactive computing system provided by NCI (National Computational Infrastructure). Using a larger session (X-Large or XX-Large) ensures sufficient memory and CPU resources for efficient processing of large climate datasets.
[1]:
from access_moppy import ACCESS_ESM_CMORiser

Loaded Configuration:
Creator Name: Romain Beucher
Organisation: ACCESS-NRI
Creator Email: romain.beucher@anu.edu.au
Creator URL: https://orcid.org/0000-0003-3891-5444
[2]:
import dask.distributed as dask

client = dask.Client(threads_per_worker=1)
client
/g/data/tm70/rb5533/miniforge3/envs/esmvaltool_dev/lib/python3.11/site-packages/distributed/node.py:182: UserWarning: Port 8787 is already in use.
Perhaps you already have a cluster running?
Hosting the HTTP server on port 45257 instead
  warnings.warn(
[2]:

Client

Client-a32aab1d-6cfd-11f0-bca1-000003d0fe80

Connection method: Cluster object Cluster type: distributed.LocalCluster
Dashboard: /proxy/45257/status

Cluster Info

We are currently using the June Spin Up dataset located at:

/g/data/p73/archive/CMIP7/ACCESS-ESM1-6/spinup/JuneSpinUp-JuneSpinUp-bfaa9c5b/

This folder contains the output files from the ACCESS-ESM1.6 spin-up experiment, which are used throughout this notebook for CMORisation and evaluation.

[ ]:
ROOT_FOLDER = (
    "/g/data/p73/archive/CMIP7/ACCESS-ESM1-6/spinup/JuneSpinUp-JuneSpinUp-bfaa9c5b/"
)
[ ]:
OUTPUT_FOLDER = "/scratch/tm70/rb5533"
[8]:
import glob

FILES = glob.glob(ROOT_FOLDER + "output[0-4][0-9][0-9]/atmosphere/netCDF/*mon.nc")
[10]:
len(FILES)
[10]:
5805
[11]:
parent_experiment_config = {
    "parent_experiment_id": "piControl",
    "parent_activity_id": "CMIP",
    "parent_source_id": "ACCESS-ESM1-5",
    "parent_variant_label": "r1i1p1f1",
    "parent_time_units": "days since 0001-01-01 00:00:00",
    "parent_mip_era": "CMIP6",
    "branch_time_in_child": 0.0,
    "branch_time_in_parent": 54786.0,
    "branch_method": "standard",
}

Amon.pr#

[ ]:
FILES = glob.glob(ROOT_FOLDER + "output[0-4][0-9][0-9]/atmosphere/netCDF/*mon.nc")
len(FILES)
[ ]:
cmoriser = ACCESS_ESM_CMORiser(
    input_data=FILES,
    compound_name="Amon.pr",
    experiment_id="piControl",
    source_id="ACCESS-ESM1-5",
    variant_label="r1i1p1f1",
    grid_label="gn",
    activity_id="CMIP",
    parent_info=parent_experiment_config,  # <-- This is optional, can be skipped if not needed
)
[17]:
cmoriser.run()
[ ]:
cmoriser.write()

Omon.tos#

[ ]:
FILES = glob.glob(
    ROOT_FOLDER + "output[0-4][0-9][0-9]/ocean/ocean-2d-surface_temp-1monthly-mean*.nc"
)
len(FILES)
[ ]:
cmoriser = ACCESS_ESM_CMORiser(
    input_data=FILES,
    compound_name="Omon.tos",
    experiment_id="piControl",
    source_id="ACCESS-ESM1-5",
    variant_label="r1i1p1f1",
    grid_label="gn",
    activity_id="CMIP",
    parent_info=parent_experiment_config,  # <-- This is optional, can be skipped if not needed
)
[ ]:
cmoriser.run()
[ ]:
cmoriser.write()

Amon.tauu#

[ ]:
FILES = glob.glob(ROOT_FOLDER + "output[0-4][0-9][0-9]/atmosphere/netCDF/*mon.nc")
len(FILES)
[ ]:
cmoriser = ACCESS_ESM_CMORiser(
    input_data=FILES,
    compound_name="Amon.tauu",
    experiment_id="piControl",
    source_id="ACCESS-ESM1-5",
    variant_label="r1i1p1f1",
    grid_label="gn",
    activity_id="CMIP",
    parent_info=parent_experiment_config,  # <-- This is optional, can be skipped if not needed
)
[ ]:
cmoriser.run()
[ ]:
cmoriser.write()

Amon.ts#

[ ]:
FILES = glob.glob(ROOT_FOLDER + "output[0-4][0-9][0-9]/atmosphere/netCDF/*mon.nc")
len(FILES)
[ ]:
cmoriser = ACCESS_ESM_CMORiser(
    input_data=FILES,
    compound_name="Amon.ts",
    experiment_id="piControl",
    source_id="ACCESS-ESM1-5",
    variant_label="r1i1p1f1",
    grid_label="gn",
    activity_id="CMIP",
    parent_info=parent_experiment_config,  # <-- This is optional, can be skipped if not needed
)
[ ]:
cmoriser.run()
[ ]:
cmoriser.write()

Omon.zos#

[ ]:
FILES = glob.glob(
    ROOT_FOLDER + "output[0-4][0-9][0-9]/ocean/ocean-2d-sea_level-1monthly-mean*.nc"
)
len(FILES)
[ ]:
cmoriser = ACCESS_ESM_CMORiser(
    input_data=FILES,
    compound_name="Omon.zos",
    experiment_id="piControl",
    source_id="ACCESS-ESM1-5",
    variant_label="r1i1p1f1",
    grid_label="gn",
    activity_id="CMIP",
    parent_info=parent_experiment_config,  # <-- This is optional, can be skipped if not needed
)
[ ]:
cmoriser.run()
[ ]:
cmoriser.write()

Amon.hfss#

[ ]:
FILES = glob.glob(ROOT_FOLDER + "output[0-4][0-9][0-9]/atmosphere/netCDF/*mon.nc")
len(FILES)
[ ]:
cmoriser = ACCESS_ESM_CMORiser(
    input_data=FILES,
    compound_name="Amon.hfss",
    experiment_id="piControl",
    source_id="ACCESS-ESM1-5",
    variant_label="r1i1p1f1",
    grid_label="gn",
    activity_id="CMIP",
    parent_info=parent_experiment_config,  # <-- This is optional, can be skipped if not needed
)
[ ]:
cmoriser.run()
[ ]:
cmoriser.write()

Amon.rlds#

[ ]:
FILES = glob.glob(ROOT_FOLDER + "output[0-4][0-9][0-9]/atmosphere/netCDF/*mon.nc")
len(FILES)
[ ]:
cmoriser = ACCESS_ESM_CMORiser(
    input_data=FILES,
    compound_name="Amon.rlds",
    experiment_id="piControl",
    source_id="ACCESS-ESM1-5",
    variant_label="r1i1p1f1",
    grid_label="gn",
    activity_id="CMIP",
    parent_info=parent_experiment_config,  # <-- This is optional, can be skipped if not needed
)
[ ]:
cmoriser.run()
[ ]:
cmoriser.write()

Amon.rlus#

[ ]:
FILES = glob.glob(ROOT_FOLDER + "output[0-4][0-9][0-9]/atmosphere/netCDF/*mon.nc")
len(FILES)
[ ]:
cmoriser = ACCESS_ESM_CMORiser(
    input_data=FILES,
    compound_name="Amon.rlus",
    experiment_id="piControl",
    source_id="ACCESS-ESM1-5",
    variant_label="r1i1p1f1",
    grid_label="gn",
    activity_id="CMIP",
    parent_info=parent_experiment_config,  # <-- This is optional, can be skipped if not needed
)
[ ]:
cmoriser.run()
[ ]:
cmoriser.write()

Amon.rsds#

[ ]:
FILES = glob.glob(ROOT_FOLDER + "output[0-4][0-9][0-9]/atmosphere/netCDF/*mon.nc")
len(FILES)
[ ]:
cmoriser = ACCESS_ESM_CMORiser(
    input_data=FILES,
    compound_name="Amon.rsds",
    experiment_id="piControl",
    source_id="ACCESS-ESM1-5",
    variant_label="r1i1p1f1",
    grid_label="gn",
    activity_id="CMIP",
    parent_info=parent_experiment_config,  # <-- This is optional, can be skipped if not needed
)
[ ]:
cmoriser.run()
[ ]:
cmoriser.write()

Amon.rsus#

[ ]:
FILES = glob.glob(ROOT_FOLDER + "output[0-4][0-9][0-9]/atmosphere/netCDF/*mon.nc")
len(FILES)
[ ]:
cmoriser = ACCESS_ESM_CMORiser(
    input_data=FILES,
    compound_name="Amon.rsus",
    experiment_id="piControl",
    source_id="ACCESS-ESM1-5",
    variant_label="r1i1p1f1",
    grid_label="gn",
    activity_id="CMIP",
    parent_info=parent_experiment_config,  # <-- This is optional, can be skipped if not needed
)
[ ]:
cmoriser.run()
[ ]:
cmoriser.write()