Design of coupled Earth System models
David Lawrence
CESM Chief Scientist
with lots of input from Mariana Vertenstein
This material is based upon work supported by the National Center for Atmospheric Research, which is a major facility sponsored by the National Science Foundation under Cooperative Agreement No. 1852977.
Global Earth System Models
Structure of a fully coupled Earth System Model
Atmosphere
Ocean
Coupler
Sea Ice
Land
Chemistry
Biogeochemistry
Land Ice
River
Transfer of information between components: energy, water, carbon, etc
Structure of a fully coupled Earth System Model
Atmosphere
Ocean
Coupler
Sea Ice
Land
Chemistry
Biogeochemistry
Land Ice
River
Forcings:
Community Earth System Model (CESM3)
Atmosphere
(CAM7)
Ocean
(MOM6)
Coupler
(CIME2)
Sea Ice
(CICE6)
Land
(CTSM6
BGC-Crop, FATES)
Chemistry
(CAM7-Chem)
Biogeochemistry
(MARBL)
Land Ice
(CISM3)
High-Top Atm
(WACCM7)
Surface Waves
(WaveWatch3)
Rivers
(MOSART, mizuRoute)
Pulling it all together
Community Earth System Model (CESM3)
Atmosphere
(CAM7)
Ocean
(MOM6)
Coupler
(CIME2)
Sea Ice
(CICE6)
Land
(CTSM6
BGC-Crop, FATES)
Chemistry
(CAM7-Chem)
Biogeochemistry
(MARBL)
Land Ice
(CISM3)
High-Top Atm
(WACCM7)
Surface Waves
(WaveWatch3)
Rivers
(MOSART, mizuRoute)
Aiming to release
CESM3 towards the end of the year or early next year
Different research questions require a flexible modeling framework
Different research questions require a flexible modeling framework
Internal vs Forced
Winter Precipitation Trend (2010-2060)
Ens. avg.
Wettest
Driest
Large ensembles
climate change uncertainty
+CO2
Different research questions require a flexible modeling framework
Global
km-scale
Regionally- refined
High resolution modeling
Accurate simulation weather phenomena and extremes
Different research questions require a flexible modeling framework
Complexity
CESM flexibly supports a range of Earth System research through a single model code base
Atmosphere
(CAM6)
Ocean
(POP2)
Coupler
(CIME)
Sea Ice
(CICE5)
Land
(CLM5
BGC-Crop)
Chemistry
(CAM6-Chem)
Biogeochemistry
(MARBL)
Land Ice
(CISM2)
High-Top Atm
(WACCM6)
Surface Waves
(WaveWatch2)
Rivers
(MOSART)
CESM flexibly supports a range of Earth System research through a single model code base
Data Atmosphere
Ocean
(POP2)
Coupler
(CIME)
Sea Ice
(CICE5)
For example, you can turn on and turn off different components and replace them with a Data model
T, P, Solar Radiation, Longwave Radiation, Humidity, Wind, CO2, etc. from observations (reanalysis)
CESM flexibly supports a range of Earth System research through a single model code base
Data Atmosphere
Ocean
(POP2)
Coupler
(CIME)
Sea Ice
(CICE5)
Biogeochemistry
(MARBL)
For example, you can turn on and turn off different components and replace them with a Data model
T, P, Solar Radiation, Longwave Radiation, Humidity, Wind, CO2, etc. from observations (reanalysis)
CESM flexibly supports a range of Earth System research through a single model code base
Data Atmosphere
Coupler
(CIME)
Land
(CLM5
BGC-Crop)
Rivers
(MOSART)
For example, you can turn on and turn off different components and replace them with a Data model
CESM flexibly supports a range of Earth System research through a single model code base
Data Atmosphere
Coupler
(CIME)
Land
(CLM5
BGC-Crop)
And, within each component model, there are many choices you can make about parameterizations, complexity levels, resolution, etc
CESM flexibly supports a range of Earth System research through a single model code base
Atmosphere
(CAM6)
Ocean
(POP2)
Coupler
(CIME)
Sea Ice
(CICE5)
Land
(CLM5
BGC-Crop)
Chemistry
(CAM6-Chem)
Biogeochemistry
(MARBL)
Land Ice
(CISM2)
High-Top Atm
(WACCM6)
Surface Waves
(WaveWatch2)
Rivers
(MOSART)
Coupling infrastructure should provide ability to
Coupler
(CIME
ESMF/NUOPC, CMEPS, CDEPS)
Coupling infrastructure should provide ability to
Coupler
(CIME
ESMF/NUOPC, CMEPS, CDEPS)
The Common Infrastructure for Modeling the Earth (CIME) is a python-based framework that is shared between CESM and other modeling centers to ensure efficient coordination of model development
What is ESMF/NUOPC?
The Earth System Model Framework (ESMF) is software for building coupled Earth System Models from interoperable model components
Within ESMF is the National Unified Operational Prediction Capability (NUOPC) Layer, which simplifies the interoperability of ESMF components:
NUOPC
21
���Community Mediator for Earth Predictive Systems
(CMEPS)���
CMEPS is a NUOPC-compliant mediator for use in CESM and other modeling systems which uses ESMF to couple earth grid components in a hub and spoke system
Coupling between component models�
CESM Architecture
NUOPC
CMEPS
River Component
NUOPC Cap
Land Ice Component
NUOPC Cap
Sea Ice component
NUOPC Cap
Ocean Component
NUOPC Cap
WAVE Component
NUOPC Cap
NUOPC Cap
Atmosphere component
Land Component
NUOPC CAP
Connectors generated automatically
ESMF/NUOPC Provides Advanced Coupling Capabilities
NUOPC Driver:
NUOPC Mediator:
NUOPC Connectors:
Driver
Model:
ATM
Mediator
Model:
SEA ICE
Model:
OCN
Model:
LAND
Model:
LAND ICE
Model:
RIVER
Model:
WAVE
atm/lnd, atm/ice and atm/ocn fluxes
CTSM
Computes atm/lnd fluxes
CICE
Computes atm/ice fluxes
MOM6
Sends SST
Receives atm/ocn fluxes
CMEPS
Maps
Computes
atm/ocn fluxes
Merges
atm/lnd, atm/ice and atm/ocn fluxes before sending to atm
CAM
Receives merged fluxes
Benefits of CMEPS – Introducing new Grids
Benefits of ESMF – Introducing new Grids (cont)
Benefits of CMEPS – New Land-Ice Capabilities
Benefits of CMEPS – exchange of 3d fields between components
29
Benefits of CMEPS – Greater Computational Efficiency
30
Community Data Models for Earth Prediction Systems (CDEPS)
Data Atmosphere
Ocean
(POP2)
Coupler
(CIME, CDEPS)
Sea Ice
(CICE5)
Biogeochemistry
(MARBL)
T, P, Solar Radiation, Longwave Radiation, Humidity, Wind, CO2, etc. from observations (reanalysis)
CDEPS
Introduction
CDEPS DATM
Introduction
CDEPS within CESM provides many different forcing options out of the box
Mediator CMEPS
DATM
BLOM
CICE
CTSM
Driver
Data atmosphere CESM forcings
MOM6/CICE/WW3 forcings
CTSM forcings
Spinup forcings
CDEPS Share Code
CDEPS DOCN
Introduction
Mediator
CMEPS
CAM
DOCN
SST => CAM
Temp3d, Salinity3d => CISM
SST
CISM
Greenland and/or Antarctica
Temp3d, Salinity3d
Towards a machine learning enhanced version of CESM (CESM3-MLe)
Learning the Earth with Artificial intelligence and Physics
NSF Science and Technology Center
Harness new ML + data to
transform CESM
LEAP forward in the reliability, utility, and reach of climate projections through synergistic innovations in data science and climate science
More Accurate Projections
New ML-based Parameterizations
Next-Generation CESM
Observations
High-Fidelity Models
New ML Algorithms
M2LInES
Schmidt Futures
ML-enabled Parameter Optimization
Towards a machine learning enhanced version of CESM (CESM3-MLe)
Learning the Earth with Artificial intelligence and Physics
NSF Science and Technology Center
M2LInES
Schmidt Futures
Robust and flexible Implementation of ML-based parameterizations requires Fortran-Python bridge
FTorch
ML-parameterization
Thank you!
This material is based upon work supported by the National Center for Atmospheric Research, which is a major facility sponsored by the National Science Foundation under Cooperative Agreement No. 1852977.
Workflow
This material is based upon work supported by the National Center for Atmospheric Research, which is a major facility sponsored by the National Science Foundation under Cooperative Agreement No. 1852977.
CMIP7 Forcings
CMIP7 Forcings
Quality Control
In-line diagnostics that read history files and output a handful of ‘first-look’ diagnostics (e.g., GHG, solar, RESTOM).
Q: CUPiD cntl at specific RESUBMIT time. Store pngs on git or local?
Status: WIP (TBD)
Create_newcase
Create_newcase creates a local gitrepo. (CASE_GIT_REPOSITORY: Flag to set remote repo). Documents the run. Provenance, changes, etc.
Status: Done
Job Control
Opt 1: bash scripting → Nan/Jim/Cecile
Opt 2: ECFlow → Jim Edwards
Status: Decision (Jim/Nan/Cecile)
Do bash scripting for each step. Then put all these scripts together into ECflow directive for power users.
Decisions: Will we handle Large Ensembles differently?
CMIP7 Service acct, run on $SCRATCH, not CS
Production
CMIP7 Workflow (Input/forcing data, MIP prep, Production, Post-process, CMORization, Publication)