ESMF Regridding Update Robert Oehmke Ryan O’Kuinghttons Amik St. Cyr.

Slides:



Advertisements
Similar presentations
Weather Research & Forecasting: A General Overview
Advertisements

Expanding Regridding Capabilities of the Earth System Modeling Framework Andrew Scholbrock University of Colorado – Boulder Robert Oehmke NOAA/CIRES 1.
Discretizing the Sphere for Multi-Scale Air Quality Simulations using Variable-Resolution Finite-Volume Techniques Martin J. Otte U.S. EPA Robert Walko.
ESMPy: The Python Interface to the Earth System Modeling Framework Ryan O’Kuinghttons, Robert Oehmke Cecelia DeLuca, Gerhard Theurich Peggy Li, Joseph.
ESMPy and OpenClimateGIS: Python Interfaces for High Performance Grid Remapping and Geospatial Dataset Manipulation Ryan O’Kuinghttons, Ben Koziol, Robert.
Morphing & Warping 2D Morphing Involves 2 steps 1.Image warping “get features to line up” 2.Cross-dissolve “mix colors” (fade-in/fadeout transition)
1 THE ACCURACY OF FEA. 2 REALITY MATHEMATICAL MODEL FEA MODEL RESULTS Discretization error Modeling error Solution error Discretization error is controlled.
Data Dictionary What does “Backordered item” mean? What does “New Customer info.” contain? How does the “account receivable report” look like?
Section 4: Implementation of Finite Element Analysis – Other Elements
Post-processing J.Cugnoni, LMAF/EPFL, Finite element « outputs » Essential variables:  Displacement u, temperature T find u such that : K u = f.
Mesh Simplification Global and Local Methods:
Isoparametric Elements Element Stiffness Matrices
CSE351/ IT351 Modeling And Simulation Choosing a Mesh Model Dr. Jim Holten.
Introduction to Volume Visualization Mengxia Zhu Fall 2007.
OPeNDAP CODAR Combining Server Provide CODAR surface current vectors in response to request for data within a user-specified region and time range. Will.
The Calibration Process
1 Computer Graphics Week13 –Shading Models. Shading Models Flat Shading Model: In this technique, each surface is assumed to have one normal vector (usually.
Image Registration January 2001 Gaia3D Inc. Sanghee Gaia3D Seminar Material.
Session 2: ESMF Distributed Data Classes
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
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.
CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering HW 5 Repeat the HW associated with the FD LBI except that you will now use.
ESMF Town Hall Meeting AGU Fall Meeting 2010 San Francisco Gerhard Theurich, Fei Liu, Peggy Li, Cecelia DeLuca NOAA/CIRES December 15, 2010
1 Data Structures for Scientific Computing Orion Sky Lawlor charm.cs.uiuc.edu 2003/12/17.
Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.
ESMF Development Status and Plans ESMF 4 th Community Meeting Cecelia DeLuca July 21, 2005 Climate Data Assimilation Weather.
Hans De Sterck Department of Applied Mathematics University of Colorado at Boulder Ulrike Meier Yang Center for Applied Scientific Computing Lawrence Livermore.
The use of modeling frameworks to facilitate interoperability Cecelia DeLuca/NCAR (ESMF) Bill Putman/NASA GSFC (MAPL) David Neckels/NCAR.
June 19, 2007 GRIDDED MOS STARTS WITH POINT (STATION) MOS STARTS WITH POINT (STATION) MOS –Essentially the same MOS that is in text bulletins –Number and.
Model Construction: interpolation techniques 1392.
Digital Image Processing Lecture 6: Image Geometry
The Hong Kong Polytechnic University Industrial Centre 1 MatLAB Lesson 4 : Polynomial Edward Cheung Room W311g 2008.
CESM/ESMF Progress Report Mariana Vertenstein NCAR Earth System Laboratory CESM Software Engineering Group (CSEG) NCAR is sponsored by the National Science.
GEOSTATISICAL ANALYSIS Course: Special Topics in Remote Sensing & GIS Mirza Muhammad Waqar Contact: EXT:2257.
Discontinuous Galerkin Methods for Solving Euler Equations Andrey Andreyev Advisor: James Baeder Mid.
Earth System Modeling Framework Status Cecelia DeLuca NOAA Cooperative Institute for Research in Environmental Sciences University of Colorado, Boulder.
Parametric Surfaces Define points on the surface in terms of two parameters Simplest case: bilinear interpolation s t s x(s,t)x(s,t) P 0,0 P 1,0 P 1,1.
Earth System Modeling Framework Python Interface (ESMP) October 2011 Ryan O’Kuinghttons Robert Oehmke Cecelia DeLuca.
Adaptive Meshing Control to Improve Petascale Compass Simulations Xiao-Juan Luo and Mark S Shephard Scientific Computation Research Center (SCOREC) Interoperable.
2D Routines in 3D. Outline Announcements –HW II--due Friday. 5PM HW1 & Cookie Grids & Meshes Representing f(x,y) Lines & Surfaces in 3D Survey.
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.
ESMF Regridding Update Robert Oehmke, Peggy Li, Ryan O’Kuinghttons, Mat Rothstein, Joseph Jacob NOAA Cooperative Institute for Research in Environmental.
Statistical Surfaces Any geographic entity that can be thought of as containing a Z value for each X,Y location –topographic elevation being the most obvious.
Lecture 6: Point Interpolation
Mohiuddin Ahmad SUNG-BONG JANG Interpolation II (8.4 SPLINE INTERPOLATION) (8.5 MATLAB’s INTERPOLATION Functions)
04/18/02(c) 2002 University of Wisconsin Last Time Hermite Curves Bezier Curves.
The Earth System Modeling Framework Robert Oehmke, Gerhard Theurich, Cecelia DeLuca NOAA Cooperative Institute for Research in Environmental Sciences University.
11/26/02(C) University of Wisconsin Last Time BSplines.
Report on POP & CICE of RACM components Jaromir Jakacki, IO PAS.
Report on POP & CICE of RACM components Jaromir Jakacki, IO PAS Boulder, CO, 2010.
1 Data Structures for Scientific Computing Orion Sky Lawlor /04/14.
1 Rocket Science using Charm++ at CSAR Orion Sky Lawlor 2003/10/21.
Using ESMF Regridding Tools as an Observation Operator Presenter: Mathew V. Rothstein Software Engineer, NOAA/CNT Training at NRL Monterey August 5-6,
Optimizing Parallel Programming with MPI Michael Chen TJHSST Computer Systems Lab Abstract: With more and more computationally- intense problems.
ESMF and the future of end-to-end modeling Sylvia Murphy National Center for Atmospheric Research
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 4 Chapter 17 and 18 Interpolation.
A TIME-GCM CAM Multi-executable Coupled Model Using ESMF and InterComm Robert Oehmke, Michael Wiltberger, Alan Sussman, Wenbin Wang, and Norman Lo.
1 Spherical manifolds for hierarchical surface modeling Cindy Grimm.
ESMPy and OpenClimateGIS: Python Interfaces for High Performance Grid Remapping and Geospatial Dataset Manipulation Ryan O’Kuinghttons, Ben Koziol, Robert.
Constructing Objects in Computer Graphics
Writing a File Format Reader for VisIt
Interpolating the INO magnetic field map
The Calibration Process
Constructing Objects in Computer Graphics By Andries van Dam©
4th NARCCAP Users Workshop
ESMF Regridding Update
OpenClimateGIS: A Python Library for Geospatial Manipulations of CF Climate Datasets Ben Koziol1, Ryan O’Kuinghttons1, Robert Oehmke1, Richard Rood2, Cecelia.
Presentation transcript:

ESMF Regridding Update Robert Oehmke Ryan O’Kuinghttons Amik St. Cyr

ESMF Regridding This overview describes ESMF 4.0.0r which came out in October Methods of accessing regridding: – Online Subroutine calls which calculate weights during run Can get weights or feed directly into ESMF Sparse Mat. Mult. Requires LAPACK if higher order interpolation is used – Offline Application which generates a netCDF weight file from two netCDF grid files Requires pnetCDF and LAPACK Computation of weights: – Parallel Have tested scaling up to 2048 procs. Requires MPI library – Serial – New faster tree-based search (order of magnitude faster than old search)

Online Regridding Supports Regridding between any combination of: – 2D Meshes composed of triangles and quadrilaterals – 2D logically rectangular Grids composed of a single patch Regridding between any combination of: – 3D Meshes composed of hexahedrons – 3D logically rectangular Grids composed of a single patch Regridding between a pair of 2D Grids mapped to a sphere – One pole option: pole value is average of all source points around pole Interpolation Types: – Bilinear – Higher order (patch recovery, a finite element method, described later) Masking: – Source – Destination – Options for unmapped destination points: return error or ignore unmapped

Online Regridding Testing Regression testing – Mostly sanity tests Source Field set to simple linear function (e.g. x+y+20) After interpolation check that dest. Field is point wise close to function (e.g. within.0001) – Bilinear interpolation between these cases regression tested Pair of 2D Grids mapped to sphere Pair of 3D structured Grids Pair of 2D Grids with destination masks Pair of 2D Grids with source masks (Also higher order interpolation) Pair of 2D Grids mapped to sphere with source masks (Also higher order interpolation) 2D Mesh (triangles and quadrilaterals) to Grid 2D Grid to Mesh (triangles and quadrilaterals) Pair of 2D Mesh (triangles and quadrilaterals) 3D Mesh (triangles and quadrilaterals) to Grid Manual testing – More in depth tests Source Field set to range of functions (e.g. (1-xy)sin(3πx)cos(2πy)+2 ) After interpolation check L1, L2 and max error of dest. Field and derivative of dest. Field – Bilinear and higher order interpolation between these cases tested Pair of 2D structured Grids Pair of 2D structured Grids mapped to sphere

Offline Regridding Offline application can be automatically built as part of ESMF Regridding between a pair of 2D Grids mapped to a sphere Pole options (for spherical grids): – Full circle average: artificial pole is average of all source points next to pole – N-point average: artificial pole is average of n top source neighbors of dest point – No pole: error if destination point lies above top row of source points Interpolation Types: – Higher order (patch recovery, a finite element method, described later) Masking: – Destination

Offline Regridding Testing Interior regridding functionality is tested along with online regridding Offline testing is testing higher order interpolation Manual testing – Performed using the SCRIP weight testing application Application scrip_test which comes packaged with SCRIP weight generation application See Section 2.3 in the SCRIP user’s guide for more information – Mostly using source field set to 2+cos 2  cos(2  ) (Field option 2 in scrip_test) – Mostly focused on a few cases provided by CCSM T62 CAM grid to a 1-degree POP ocean grid Fv1.9x2.5 grid to a 1-degree POP ocean grid – Single and multiple processor cases – Average and max error checked to ensure they haven’t degraded after changes

Higher Order Interpolation Based on “patch recovery” used in finite element modeling Typically results in better approx. to values and derivatives than bilinear interpolation A patch is a 2nd order n-D polynomial representing source data Patches generated for each corner of source cell Each patch created by least-square fit through source data in cells surrounding corner Destination value is weighted average of patch values Longer description in ESMF v4.0.0r Reference Manual References at end of talk

Future work Coming soon (within a couple of months): – Extrapolation: generating values for points outside unmasked source region – More regression testing – More regridding options Regional Grid with Grid mapped to a sphere Tetrahedral unstructured Meshes – Unifying capabilities of offline and online Mostly just a matter of interfaces, internal functionality is available – Conservative interpolation: parallel, no derivatives needed Longer term: – Shortcuts for additional grids: Tripole Multi-tile (e.g. Cube sphere) Note: both can be done now via unstructured grids

References Patch Interpolation: –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?