Joint GEOS-Chem and NCAR Modeling Workshop:

Slides:



Advertisements
Similar presentations
CESM Breckenridge Workshop June 20, 2013 CESM Breckenridge Workshop June 20, 2013 Cheryl Craig and Steve Goldhaber with Andrew Gettelman,Julio Bacmeister,
Advertisements

Update to COPC 4 – 5 November 2014 Dave McCarren, NUOPC DPM.
Software Connectors. Attach adapter to A Maintain multiple versions of A or B Make B multilingual Role and Challenge of Software Connectors Change A’s.
1 NGGPS Dynamic Core Requirements Workshop NCEP Future Global Model Requirements and Discussion Mark Iredell, Global Modeling and EMC August 4, 2014.
Coupling Climate and Hydrological Models Interoperability Through Web Services.
Chapter 7 Software Engineering Objectives Understand the software life cycle. Describe the development process models.. Understand the concept of modularity.
Metadata Creation with the Earth System Modeling Framework Ryan O’Kuinghttons – NESII/CIRES/NOAA Kathy Saint – NESII/CSG July 22, 2014.
An Introduction to Software Architecture
Understand Application Lifecycle Management
NE II NOAA Environmental Software Infrastructure and Interoperability Program Cecelia DeLuca Sylvia Murphy V. Balaji GO-ESSP August 13, 2009 Germany NE.
BTEC Unit 06 – Lesson 08 Principals of Software Design Mr C Johnston ICT Teacher
CSE 219 Computer Science III Program Design Principles.
1 NUOPC National Unified Operational Prediction Capability 1 Review Committee for Operational Processing Centers National Unified Operational Prediction.
CESM/ESMF Progress Report Mariana Vertenstein NCAR Earth System Laboratory CESM Software Engineering Group (CSEG) NCAR is sponsored by the National Science.
© 2004 Mercury Computer Systems, Inc. FPGAs & Software Components Graham Bardouleau & Jim Kulp Mercury Computer Systems, Inc. High Performance Embedded.
Earth System Modeling Framework Status Cecelia DeLuca NOAA Cooperative Institute for Research in Environmental Sciences University of Colorado, Boulder.
Regional Models in CCSM CCSM/POP/ROMS: Regional Nesting and Coupling Jon Wolfe (CSEG) Mariana Vertenstein (CSEG) Don Stark (ESMF)
Reviews and Inspections. Types of Evaluations Formal Design Reviews conducted by senior personnel or outside experts uncover potential problems Inspections.
AMWG Breakout, CCSM Workshop June 25, 2002 Overview of CAM status and simulations Bill Collins and Dave Randall National Center for Atmospheric Research.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
1 NEMS and NGGPS integration Presented By: Hendrik Tolman (NWS/NCEP/EMC) Contributors: EMC senior staff.
ESMF,WRF and ROMS. Purposes Not a tutorial Not a tutorial Educational and conceptual Educational and conceptual Relation to our work Relation to our work.
Emergence of a Common Modeling Architecture for Earth System Science American Geophysical Union December 13, 2010 Cecelia DeLuca NOAA/CIRES.
The NOAA Environmental Modeling System at NCEP Mark Iredell and the NEMS group NOAA/NWS/NCEP Environmental Modeling Center June 12, 2014.
A TIME-GCM CAM Multi-executable Coupled Model Using ESMF and InterComm Robert Oehmke, Michael Wiltberger, Alan Sussman, Wenbin Wang, and Norman Lo.
Python: Building Geoprocessing Tools David Wynne, Ghislain Prince.
More SQA Reviews and Inspections. Types of Evaluations  Verification Unit Test, Integration Test, Usability Test, etc  Formal Reviews  aka "formal.
Metadata Development in the Earth System Curator Spanning the Gap Between Models and Datasets Rocky Dunlap, Georgia Tech 5 th GO-ESSP Community Meeting.
United Nations Economic Commission for Europe Statistical Division CSPA: The Future of Statistical Production Steven Vale UNECE
A Quick Tour of the NOAA Environmental Software Infrastructure and Interoperability Group Cecelia DeLuca Dr. Robert Detrick visit March 28, 2012
Keith Kelley Presentation 2 Weather Forecasting with Parallel Computers.
4th Assessment of Progress Against the GEOSS 2015 Strategic Targets
Software Testing.
Chapter 1: Introduction to Systems Analysis and Design
GMAO Seasonal Forecast
Approaches to ---Testing Software
System Design Ashima Wadhwa.
System Design.
Building a Distributed Earth System Model Community
Hierarchical Architecture
Understand the Programming Process
Validation & conformity testing
Chemistry-Climate Working Group Update
Programmable Logic Controllers (PLCs) An Overview.
Software testing strategies 2
Standard Scripts Project 2
Component-Based Software Engineering
CS 425/625 Software Engineering Architectural Design
Thursday’s Lecture Chemistry Building Musspratt Lecture Theatre,
Update on CAM and the AMWG. Recent activities and near-term priorities. by the AMWG.
Mariana Vertenstein (CGD)
Chemistry Café and the Model Independent Chemistry Module (MICM)
WRF-GC: on-line two-way coupling of WRF and GEOS-Chem
Object oriented analysis and design
Mariana Vertenstein CCSM Software Engineering Group NCAR
An Introduction to Software Architecture
Understand the Programming Process
Object Networks—ATLAS' Future Control Framework For Offline?
Simulation Framework Subproject cern
Software Requirements Specification (SRS) Template.
Metadata Development in the Earth System Curator
Standard Scripts Project 2
Overview of Workflows: Why Use Them?
Standard Scripts Project 2
Chapter 1: Introduction to Systems Analysis and Design
A brief introduction to NEMS
Standard Scripts Project 2
Chapter 2: Building a System
UML Design for an Automated Registration System
Chapter 13 Logical Architecture.
Presentation transcript:

Joint GEOS-Chem and NCAR Modeling Workshop: 2018-07-30 CONFIDENTIAL CPD Joint GEOS-Chem and NCAR Modeling Workshop: 2018-07-30 A Community Physics Framework for CAM Cheryl Craig, Steve Goldhaber, Mariana Vertenstein Francis Vitt (CGD) Michael Duda, Dave Gill (MMM) Talk is a bit CAM centric partially because that is the model with which I am most familiar but also because CAM has more complex requirements for physics suites. Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

Outline Outline Brief overview of CAM6 infrastructure changes CONFIDENTIAL Outline Outline Brief overview of CAM6 infrastructure changes Some challenges ahead for CAM and atmospheric modeling Introduction to the Community Physics Framework Community physics at NCAR and beyond Why is chemistry challenging? Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

CAM6 CAM6 Architecture Overview CESM Driver / Mediator CAM Driver Hardcoded logic leads to duplicated code CESM Driver / Mediator Surface Coupling Run Parameters CAM Driver CAM Physics CAM4 CAM5 CAM6 Simple Models Chemistry Suites Dynamics ⟺ Physics Coupling CAM Dynamics FV SE Eulerian State Tendencies Code is not interoperable  high cost to import new physics parameterizations. Initial Data (input) and Diagnostics (output) Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

Requirements for CAM Physics -- after CAM6 CONFIDENTIAL CPF Requirements for CAM Physics -- after CAM6 Support for new physics suites (packages) while maintaining ability to run older suites Interoperable development of new unified physics suites Ability to continue to run mainline CAM physics suites Interoperability between NCAR atmosphere models (WRF, MPAS, CAM) For example, run WRF physics inside CAM without any changes to parameterizations or suite definition Ability to run chemistry and/or physics on different grid from dynamics Ability to run interoperable physics or chemistry suites from other institutions. Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

What is wrong with what we have? CONFIDENTIAL CPF What is wrong with what we have? CAM physics parameterizations depend on several CAM-specific data structures (physics_state, physics_tend, surface fields in, surface fields out, PBUF). Other models have very different state data structures. This inhibits portability between models. physpkg (tphysbc, tphysac) logic has combined implementation of CAM3, CAM4, CAM5 & CAM6 including several options for CAM5 and CAM6 Increases difficulty in experimenting with new physics parameterizations and suites. Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

What is the Community Physics Driver / Framework? CPF What is the Community Physics Driver / Framework? Multi-model effort to build flexible physics-package driver with a common, model-independent interface Replaces hardcoded, complex logic with a data-driven schedule of parameterization calls Handles data flow to and from host model as well as between parameterization calls Recently funded for implementation by CGD (CAM), MMM (WRF & MPAS), ACOM (Chemistry package) Goal is to also be compatible with NOAA (NGGPS, CCPP) Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

CAM6+ CAM6 with Community Physics Driver CESM Driver / Mediator Surface Coupling Run Parameters CAM Driver Tendencies CPD Physics Suites (CAM6, WRF, etc.) Community Physics Driver Fields Dynamics ⟺ Physics Coupling CAM Dynamics SE MPAS FV Eulerian State Initial Data (input) and Diagnostics (output) Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

CAM6 ⟹ CPF CAM6 Physics vs. CPF Surface Fields Dynamics State Parameterization CPF Test Driver Host Model CAP CPF Diagnostics Parameterization Diagnostics PBUF Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

Parameterization CAM6 Physics vs. CPF Parameterization Parameterization portable layer (all I/O through Fortran arrays) Examples: microphysics, cloud physics, radiation Gather data from state, previous tendencies, & physics buffer Update state, tendencies, physics buffer & diagnostic output Parameterization Cap (Fortran code generated from Parameterization metadata) Parameterization portable layer (all I/O through Fortran arrays) Examples: microphysics, cloud physics, radiation Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

CPF Summary I Physics parameterizations and suites can be shared among models without modification. The Community Physics Framework creates a uniform data interface for parameterization inputs and outputs. Shared infrastructure lowers coding, testing, and maintenance costs. Well-documented interfaces makes it easier for the community to contribute usable parameterizations. Framework helps to manage model complexity. Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

CPF What will change What will not change Parameterizations will not have a custom interface (which is different for each host model). This will be replaced with a metadata header (written as a Fortran comment block) which describes the interface needs of the parameterization. Physics suites will not be written as hand-coded Fortran logic. This will be replaced with a dataflow description of the suite’s process ordering. What will not change The portable core of each parameterization will not have to change Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

CPF Summary II CPF will improve data provenance by requiring standard metadata for every field The interface code and driver loop will be generated, lowering redundant code and opportunities for error CPF can provide development / testing framework Code generation can be flexible to accommodate the needs of different models. Framework helps to manage model complexity Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

Interactions between chemistry and other physics Pop quiz: who handles wet deposition? Each parameterization (e.g., chemistry) may create an array for its constituent properties. Example properties: Advected Wet removed Dry deposited Used for radiative heating rates Array is processed by host model to ensure all constituents are handled appropriately. In progress – key to success of modularization Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

Subroutine or Component? NUOPC Subroutine or Component? Current CPF design will allow any compliant suite to be run in any compliant model (called as a subroutine) NUOPC CPF Parameterization Future plans to build NUOPC cap to allow compliant suite to be used as a NUOPC component We hope that the highly structured interfaces of the CPF will allow a single, generic NUOPC cap to be useful for all suites Parameterization Parameterization Parameterization Parameterization Parameterization Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

CPF CPF development plan CPF funded 2018-01-30 Plan is to demonstrate a single physics suite focused on future, unified physics research ideas Software team: Cheryl Craig, Michael Duda, Dave Gill, Steve Goldhaber, Mariana Vertenstein, Francis Vitt Requirements definition complete, working on implementation CPF demonstration in demo chem model CPF demonstrated in CAM, MPAS, and WRF by end of year Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

Questions? Questions Thank You Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018

Brief CPF history to date Early 2016: GMTB begins work on Common Community Physics Package (CCPP). May 2017: Jim Hurrell asks small software team for proposal on unified infrastructure for atmospheric modeling at NCAR. Whitepaper delivered at end of July. November 2017: CPD section of unified infrastructure submitted as proposal for reinvestment funds. Q1 2018: CCPP v1 released demonstrating GFS physics running in FV3 and in GMTB single column model. Steve Goldhaber Tel: 303.497.1770 | Email: goldy@ucar.edu 12/8/2018