Expanding Regridding Capabilities of the Earth System Modeling Framework Andrew Scholbrock University of Colorado – Boulder Robert Oehmke NOAA/CIRES 1.

Slides:



Advertisements
Similar presentations
CHAPTER 1: COMPUTATIONAL MODELLING
Advertisements

System Development MIS Chapter 6 Jack G. Zheng May 28 th 2008.
Credit hours: 4 Contact hours: 50 (30 Theory, 20 Lab) Prerequisite: TB143 Introduction to Personal Computers.
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
0 - 0.
1 9 Moving to Design Lecture Analysis Objectives to Design Objectives Figure 9-2.
Making the System Operational
GR2 Advanced Computer Graphics AGR
Weather Research & Forecasting: A General Overview
Configuration management
Software change management
INTRODUCTION TO SIMULATION WITH OMNET++ José Daniel García Sánchez ARCOS Group – University Carlos III of Madrid.
Describing Complex Products as Configurations using APL Arrays.
25 July, 2014 Martijn v/d Horst, TU/e Computer Science, System Architecture and Networking 1 Martijn v/d Horst
1© DATOS Computer AG – The Framework for higher Efficiency Tool Catalogs Documents + Planning Assembly + Logistics Storage Systems Job.
Executional Architecture
A Draft Standard for the CF Metadata Conventions Cheryl Craig and Russ Rew UCAR.
Continued Investment in ATML
Addition 1’s to 20.
Test B, 100 Subtraction Facts
Chapter 10: The Traditional Approach to Design
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 11 Component-Level Design
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 14: Protection.
NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT | U MICH Arlindo da Silva, NASA/GSFC/GMAO The Earth System Modeling Framework.
NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT | U MICH Emergence of the Earth System Modeling Framework NSIPP Seasonal Forecast.
Earth System Curator Spanning the Gap Between Models and Datasets.
Modeling Main issues: What do we want to build How do we write this down.
ESMPy: The Python Interface to the Earth System Modeling Framework Ryan O’Kuinghttons, Robert Oehmke Cecelia DeLuca, Gerhard Theurich Peggy Li, Joseph.
Integrated Frameworks for Earth and Space Weather Simulation Timothy Killeen and Cecelia DeLuca National Center for Atmospheric Research, Boulder, Colorado.
System Design/Implementation and Support for Build 2 PDS Management Council Face-to-Face Mountain View, CA Nov 30 - Dec 1, 2011 Sean Hardman.
Status of netCDF-3, netCDF-4, and CF Conventions Russ Rew Community Standards for Unstructured Grids Workshop, Boulder
Coupling Climate and Hydrological Models Interoperability Through Web Services.
Developing a NetCDF-4 Interface to HDF5 Data
Metadata Creation with the Earth System Modeling Framework Ryan O’Kuinghttons – NESII/CIRES/NOAA Kathy Saint – NESII/CSG July 22, 2014.
Fast Parallel Grid Remapping for Unstructured and Structured Grids Robert Oehmke NOAA Cooperative Institute for Research in Environmental Sciences University.
Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.
NE II NOAA Environmental Software Infrastructure and Interoperability Program Cecelia DeLuca Sylvia Murphy V. Balaji GO-ESSP August 13, 2009 Germany NE.
Cecelia DeLuca, Don Stark, Chris Hill Arctic System Model Workshop May 20, 2008 Earth System Modeling Framework.
ESMF Development Status and Plans ESMF 4 th Community Meeting Cecelia DeLuca July 21, 2005 Climate Data Assimilation Weather.
Update on ESMF, Earth System Curator, and Earth System CoG Cecelia DeLuca and the ESMF team CCSM Software Engineering Working Group June 23, 2011.
Computational Design of the CCSM Next Generation Coupler Tom Bettge Tony Craig Brian Kauffman National Center for Atmospheric Research Boulder, Colorado.
Initial Results from the Integration of Earth and Space Frameworks Cecelia DeLuca/NCAR, Alan Sussman/University of Maryland, Gabor Toth/University of Michigan.
ESMF Code Generation Rocky Dunlap Spencer Rugaber Leo Mark Georgia Tech College of Computing.
Mid-Course Review: NetCDF in the Current Proposal Period Russ Rew
The use of modeling frameworks to facilitate interoperability Cecelia DeLuca/NCAR (ESMF) Bill Putman/NASA GSFC (MAPL) David Neckels/NCAR.
CESM/ESMF Progress Report Mariana Vertenstein NCAR Earth System Laboratory CESM Software Engineering Group (CSEG) NCAR is sponsored by the National Science.
Earth System Modeling Framework Status Cecelia DeLuca NOAA Cooperative Institute for Research in Environmental Sciences University of Colorado, Boulder.
Page 1© Crown copyright 2004 FLUME Metadata Steve Mullerworth 3 rd -4 th October May 2006.
Earth System Modeling Framework Python Interface (ESMP) October 2011 Ryan O’Kuinghttons Robert Oehmke Cecelia DeLuca.
Strategic Plan Implementation Cecelia DeLuca/NCAR (ESMF) December 17, 2008 ESMF Board/Interagency Meeting.
ESMF Code Generation with Cupid Update and Demo October 2009 Rocky Dunlap Spencer Rugaber Leo Mark Georgia Tech College of Computing.
Coupling protocols – software strategy Question 1. Is it useful to create a coupling standard? YES, but … Question 2. Is the best approach to make a single.
ESMF Regridding Update Robert Oehmke, Peggy Li, Ryan O’Kuinghttons, Mat Rothstein, Joseph Jacob NOAA Cooperative Institute for Research in Environmental.
ESMF Regridding Update Robert Oehmke Ryan O’Kuinghttons Amik St. Cyr.
Page 1© Crown copyright 2004 FLUME Marco Christoforou, Rupert Ford, Steve Mullerworth, Graham Riley, Allyn Treshansky, et. al. 19 October 2007.
The Earth System Modeling Framework Robert Oehmke, Gerhard Theurich, Cecelia DeLuca NOAA Cooperative Institute for Research in Environmental Sciences University.
Curator: Gap Analysis (from a schema perspective) Rocky Dunlap Spencer Rugaber Georgia Tech.
Using ESMF Regridding Tools as an Observation Operator Presenter: Mathew V. Rothstein Software Engineer, NOAA/CNT Training at NRL Monterey August 5-6,
ESMF and the future of end-to-end modeling Sylvia Murphy National Center for Atmospheric Research
Climate-SDM (1) Climate analysis use case –Described by: Marcia Branstetter Use case description –Data obtained from ESG –Using a sequence steps in analysis,
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.
Update on Unidata Technologies for Data Access Russ Rew
A Quick Tour of the NOAA Environmental Software Infrastructure and Interoperability Group Cecelia DeLuca Dr. Robert Detrick visit March 28, 2012
GMAO Seasonal Forecast
A Quick Tour of the NOAA Environmental Software Infrastructure and Interoperability Group Cecelia DeLuca and the ESMF team ESRL Directorate Seminar June.
ESMF Regridding Update
Status for Endeavor 6: Improved Scientific Data Access Infrastructure
OpenClimateGIS: A Python Library for Geospatial Manipulations of CF Climate Datasets Ben Koziol1, Ryan O’Kuinghttons1, Robert Oehmke1, Richard Rood2, Cecelia.
Presentation transcript:

Expanding Regridding Capabilities of the Earth System Modeling Framework Andrew Scholbrock University of Colorado – Boulder Robert Oehmke NOAA/CIRES 1

Outline Introduction Background Information Incorporating LibCF Regridding into ESMF Current Status Future Work 2

Introduction This project aims to allow regridding software that follows a proposed metadata standard (Gridspec) to be used within the Earth System Modeling Framework (ESMF) As new regridding capabilities are developed they will be automatically available through ESMF 3

ESMF Framework developed by a multi-agency consortium [1] Provides standard interfaces for model components Provides standard structure for transferring data between model components Provides a range of utilities to ease coupling – Data regridding – Data redistribution – Time management – Error handling 4

Gridspec Metadata convention developed at NOAA GFDL [2] Proposed for inclusion in the Climate and Forecast (CF) [3] conventions Gridspec represents grids as mosaics and tiles – Mosaic files contain a list of tile files and how they are connected – Tile files contain actual grid coordinate information 5 stdse2.html#x

LibCF Utility library developed at Unidata Built on top of NetCDF [4] Climate and Forecast (CF) conventions LibCF [3] includes the capability to: – Manipulate Gridspec metadata on a NetCDF file – Create Gridspec files – Regrid between different Gridspec files LibCF is still in alpha release mode 6

Regridding Overview Climate and other models require coupling of modeling components (e.g. atmosphere, ocean) Different modeling components may require different grids – e.g. different shapes or different resolutions Regridding needs to be performed to move data between components on different grids Steps involved in regridding: – Generate interpolation weights – Apply weights to interpolate field using a sparse matrix multiply 7

ESMF Regridding Methods of accessing regridding: – Online Subroutine calls which calculate weights during a model run Can get weights or feed directly into ESMF sparse matrix multiply – Offline Application which generates a netCDF interpolation weight file from two netCDF grid files Computation of weights can be done in parallel Supported grids: – 2D meshes composed of triangles or quadrilaterals – 3D meshes composed of hexahedra – 2D/3D logically rectangular grids – Cubed sphere Supported interpolation methods: – Bilinear – Higher order finite element patch recovery [5][6] – Conservative (beta version) Not all combinations of the above are supported 8

LibCF Regridding LibCF takes Gridspec files and field data files as input to generate weights and interpolate data – If just Gridspec files are specified then only interpolation weights are generated LibCF supports regridding between mosaics of logically rectangular grid tiles (e.g. cubed sphere, single tile logically rectangular) Currently first order conservative interpolation methods are supported, and some specific bilinear cases 9

Combining ESMF and LibCF LibCF was introduced into the ESMF online regridding software. This was somewhat awkward because LibCF requires Gridspec files as input, but ESMF online regridding holds grid descriptions in memory. As a result, ESMF must convert its grid descriptions to Gridspec files and then have LibCF read them in. This works, but more efficient connections could be made with regridding libraries that did not require file input. 10

Implementation Steps: Getting Interpolation Weights 1.Write ESMF grids to NetCDF files a)Take an existing ESMF grid and get the coordinate information out of it b)Write out the coordinate information to a NetCDF file Done using ESMF I/O functionality c)Create mosaic files from the NetCDF grid Done using LibCFs make_mosaic function 2.Get interpolation weights from LibCF a)Call LibCFs regridding function through ESMF calls b)Read in LibCFs interpolation weights into ESMF c)Convert interpolation data to a form that ESMFs sparse matrix multiply can use 11

Implementation Steps: Weight Application Apply LibCF interpolation weights to field data using the ESMF sparse matrix multiply call Future regrid calls to updated field data can bypass the LibCF interpolation weight generation step – This holds as long as the grids involved remain the same 12

LibCF/ESMF Regridding Flow Write Tile Source Grid Create Mosaic Source Tile Create Weights Read Weights Weight Matrix make_mosaicfregrid Source Mosaic Remap File Source Variable Data Destination Variable Data ESMF LibCF Destination Tile Destination Grid Destination Mosaic Regrid File I/O NetCDF File ESMF Data API Call Legend: 13

ESMF User Interface for Regridding with LibCF Actual interface that users employ contains two steps: 1.ESMF_FieldRegridStore(): Provide source/destination grids and receive interpolation weights 2.ESMF_FieldRegrid(): Provide interpolation weights and source field data to receive interpolated field data corresponding to the destination grid This is the same sequence of calls used for pure ESMF regridding 14

Current Status Can read interpolation weight information generated by LibCF into ESMF sparse matrix representation and perform a regrid. Can write ESMF grid structures to Gridspec files ESMF restriction: – Writing Gridpsec files from ESMF is serial and thus restricts the scaling of the final code Intersection of LibCF/ESMF capabilities: – Only supports single tile logically rectangular grids LibCF restriction: – Only supports first order conservative remapping for this geometry 15

Future Work Parallel I/O for writing Gridspec files Switch to non-file based interface if LibCF develops one Allow for regridding of more complicated grids including the cubed sphere 16

References 1.Hill, C., C. DeLuca, V. Balaji, M. Suarez, and A. da Silva (2004). Architecture of the Earth System Modeling Framework. Computing in Science and Engineering, Volume 6, Number 1, pp Balaji, V., Liang, Z. Gridspec: A Standard for the Description of Grids Used in Earth System Models. 3.The CF Library Users Guide. 4.Hartnett, E. and Rew, R., Experience with an enhanced netCDF data model and interface for scientific data access, 88th AMS Annual Meeting, 24 th Conference on IIPS, Khoei S.A., Gharehbaghi A. R. The superconvergent patch recovery technique and data transfer operators in 3d plasticity problems. Finite Elements in Analysis and Design, 43(8), Hung K.C, Gu H., Zong Z. A modified superconvergent patch recovery method and its application to large deformation problems. Finite Elements in Analysis and Design, 40(5- 6), Questions? 17