ESMF Regridding Update Robert Oehmke, Peggy Li, Ryan O’Kuinghttons, Mat Rothstein, Joseph Jacob NOAA Cooperative Institute for Research in Environmental.

Slides:



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

Earth System Curator Spanning the Gap Between Models and Datasets.
The Model Output Interoperability Experiment in the Gulf of Maine: A Success Story Made Possible By CF, NcML, NetCDF-Java and THREDDS Rich Signell (USGS,
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.
1 Earth System Modeling Framework ESMF and the Transformation of Earth System Modeling Sylvia Murphy
Integrated Frameworks for Earth and Space Weather Simulation Timothy Killeen and Cecelia DeLuca National Center for Atmospheric Research, Boulder, Colorado.
Installing and Running CISM _ DX and Overview of OpenDX The CISM Knowledge Transfer Short Course AFWA Omaha, November 2-3, 2005 Bob Weigel The CISM Knowledge.
Mesoscale & Microscale Meteorological Division / NCAR ESMF and the Weather Research and Forecast Model John Michalakes, Thomas Henderson Mesoscale and.
1 NGGPS Dynamic Core Requirements Workshop NCEP Future Global Model Requirements and Discussion Mark Iredell, Global Modeling and EMC August 4, 2014.
CLIMATE SCIENTISTS’ BIG CHALLENGE: REPRODUCIBILITY USING BIG DATA Kyo Lee, Chris Mattmann, and RCMES team Jet Propulsion Laboratory (JPL), Caltech.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
A Quick Tour of the NOAA Environmental Software Infrastructure and Interoperability Group Cecelia DeLuca and the ESMF team ESRL Directorate Seminar June.
Session 2: ESMF Distributed Data Classes
NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT | U MICH First Field Tests of ESMF GMAO Seasonal Forecast NCAR/LANL CCSM NCEP.
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.
ESMF Town Hall Meeting AGU Fall Meeting 2010 San Francisco Gerhard Theurich, Fei Liu, Peggy Li, Cecelia DeLuca NOAA/CIRES December 15, 2010
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.
GMT: The Generic Mapping Tools Paul Wessel, Walter H.F. Smith and the GMT team.
Initial Results from the Integration of Earth and Space Frameworks Cecelia DeLuca/NCAR, Alan Sussman/University of Maryland, Gabor Toth/University of Michigan.
1 CW 2015, Manchester, 04/ Coupling technology benchmarking in IS-ENES2 Coupling technology benchmarking in IS-ENES2 IS-ENES2 WP10-T3 Evaluation.
Global models with 1 km resolution possible in near future Followed in Projects outside COSMO: ICON; NCAR- NOAA-Fort Collins; Earth simulator quasi regular.
The use of modeling frameworks to facilitate interoperability Cecelia DeLuca/NCAR (ESMF) Bill Putman/NASA GSFC (MAPL) David Neckels/NCAR.
The netCDF-4 data model and format Russ Rew, UCAR Unidata NetCDF Workshop 25 October 2012.
Digital Image Processing Lecture 6: Image Geometry
CESM/ESMF Progress Report Mariana Vertenstein NCAR Earth System Laboratory CESM Software Engineering Group (CSEG) NCAR is sponsored by the National Science.
Data Types Entities and fields can be transformed to the other type Vectors compared to rasters.
Earth System Modeling Framework Status Cecelia DeLuca NOAA Cooperative Institute for Research in Environmental Sciences University of Colorado, Boulder.
_______________________________________________________________CMAQ Libraries and Utilities ___________________________________________________Community.
3 rd Annual WRF Users Workshop Promote closer ties between research and operations Develop an advanced mesoscale forecast and assimilation system   Design.
ESMF Status and Future Plans Cecelia DeLuca BEI Technical Review Boulder, CO March 13-14, 2007 Climate Data Assimilaton Weather.
A radiologist analyzes an X-ray image, and writes his observations on papers  Image Tagging improves the quality, consistency.  Usefulness of the data.
Earth System Modeling Framework Python Interface (ESMP) October 2011 Ryan O’Kuinghttons Robert Oehmke Cecelia DeLuca.
VAPoR: A Discovery Environment for Terascale Scientific Data Sets Alan Norton & John Clyne National Center for Atmospheric Research Scientific Computing.
Strategic Plan Implementation Cecelia DeLuca/NCAR (ESMF) December 17, 2008 ESMF Board/Interagency Meeting.
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 Strategic Discussion Cecelia DeLuca NOAA ESRL/University of Colorado ESMF Executive Board/Interagency Meeting June 12, 2014.
Exporting WaterML from the Earth System Modeling Framework Xinqi Wang Louisiana State University NCAR SIParCS Program August 4, 2009.
ESMF Regridding Update Robert Oehmke Ryan O’Kuinghttons Amik St. Cyr.
Earth System Curator and Model Metadata Discovery and Display for CMIP5 Sylvia Murphy and Cecelia Deluca (NOAA/CIRES) Hannah Wilcox (NCAR/CISL) Metafor.
WRF Software Development and Performance John Michalakes, NCAR NCAR: W. Skamarock, J. Dudhia, D. Gill, A. Bourgeois, W. Wang, C. Deluca, R. Loft NOAA/NCEP:
The Earth System Modeling Framework Robert Oehmke, Gerhard Theurich, Cecelia DeLuca NOAA Cooperative Institute for Research in Environmental Sciences University.
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.
Chapter 8 Engineering Geometry
Trials and Tribulations of a Small Archive Presented at the THIC Conference, NCAR, Boulder CO June 30, 2004 Presented at the THIC Meeting at the National.
Robust Watermarking of 3D Mesh Models. Introduction in this paper, it proposes an algorithm that extracts 2D image from the 3D model and embed watermark.
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,
Enhancements for Hydrological Modeling in ESMF Cecelia DeLuca/NCAR (ESMF) December 19, 2008 AGU Fall Meeting.
ESMF Change Review Board Robert Ferraro ESMF Board Meeting Dec 17, 2008 Climate Data Assimilation Weather.
ESMF and the future of end-to-end modeling Sylvia Murphy National Center for Atmospheric Research
Mesoscale Modeling Jon Schrage Summer WRF-“Weather Research and Forecasting” Developed by: – National Center for Atmospheric Research (NCAR) – the.
A TIME-GCM CAM Multi-executable Coupled Model Using ESMF and InterComm Robert Oehmke, Michael Wiltberger, Alan Sussman, Wenbin Wang, and Norman Lo.
Lidar Radar Open Software Environment LROSE Mike Dixon Earth Observing Laboratory (EOL) National Center for Atmospheric Research (NCAR) Boulder, Colorado.
C. Bruce Entwistle Science and Operations Officer Aviation Weather Center Kansas City, MO C. Bruce Entwistle Science and Operations.
Lidar Radar Open Software Environment Mike Dixon, Wen-Chau Lee Mike Daniels, Charlie Martin Steve Cohn, Bill Brown Earth Observing Laboratory (EOL) National.
A Quick Tour of the NOAA Environmental Software Infrastructure and Interoperability Group Cecelia DeLuca Dr. Robert Detrick visit March 28, 2012
ESMPy and OpenClimateGIS: Python Interfaces for High Performance Grid Remapping and Geospatial Dataset Manipulation Ryan O’Kuinghttons, Ben Koziol, Robert.
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.
N. Capp, E. Krome, I. Obeid and J. Picone
ESMF Regridding Update
Spatial interpolation
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, Peggy Li, Ryan O’Kuinghttons, Mat Rothstein, Joseph Jacob NOAA Cooperative Institute for Research in Environmental Sciences University of Colorado, Boulder 3 rd Workshop on Coupling Technologies for Earth System Models April 21, 2015

Context The Earth System Modeling Framework (ESMF) is software for building and coupling weather, climate, and related models. This talk is about the regridding part of ESMF The work presented here is finished and we expect it to come out in ESMF due late spring/early summer Also available before that as a development snapshot

ESMF Regridding Regridding (or remapping or interpolation) is the process of moving data from one grid to another while preserving qualities of the original data. ESMF regridding is: Flexible: – Computes weights between a wide range of grids: structured and unstructured, global and regional, 2D and 3D, spherical and Cartesian – Options for interpolation method, pole treatment, masked points, … Well Tested and Portable: – >200 regridding cases tested every night – >40 different OS/Compiler/MPI combinations tested every night Parallel and Fast: – Able to compute weights in minutes which before took hours – Able to compute weights between very large grids Community developed: – Supported by NASA, NOAA, DOD and NSF funding – Well established (since 2005) community processes for prioritization, support and review. – Development priorities set by users through quarterly Change Review Board (CRB) meetings

Interfaces Complete F95 API: – use ESMF – Derived types and methods – Investigating moving to Fortran 2003 Limited C API: – #include “ESMC.h” – Structs and methods Limited Python API: – Import ESMPy – Classes with methods Applications: – File-based interpolation weight generation: mpirun –np ESMF_RegridWeightGen –s …. – (NEW!) File-based weight generation AND application of weights: mpirun –np ESMF_Regrid –s… ! Create Grids srcGrid=ESMF_GridCreate(…) dstGrid=ESMF_GridCreate(…) ! Create Fields srcField=ESMF_FieldCreate(srcGrid,…) dstField=ESMF_FieldCreate(dstGrid,…) ! Calc regrid sparse matrix (routeHandle) ESMF_FieldRegridStore(srcField, dstField, routeHandle,…) do i=1,… ! Compute new srcField …. ! Apply regrid sparse matrix (routeHandle) ESMF_FieldRegrid(srcField, dstField, routeHandle) enddo

Supported Geometry Types Grid: – Structured representation of a region – A logically rectangular tile Mesh: – Unstructured representation of a region – In 2D: polygons with any number of sides including concave – In 3D: tetrahedrons & hexahedrons LocStream (Location Stream): – NEW! – Set of disconnected points E.g. locations of observations – Very flexible and efficient – Can’t be used with every regrid method

Supported Grid File Formats SCRIP: – Format used by SCRIP regridding tool – 2D Spherical – Logically rectangular Grids or unstructured Meshes ESMF unstructured: – Custom ESMF format – 2D or 3D / Spherical or Cartesian – Unstructured Meshes UGRID: – Proposed CF convention – 2D or 3D / Spherical or Cartesian – Unstructured Meshes GRIDSPEC: – CF convention – ESMF currently supports: 2D spherical single tile Grids

Regrid Methods Bilinear: – Destination is a linear combination of source cell corners – Weights based distance from corners – LocStreams can be destination Higher order patch recovery: – Multiple polynomial patches represent region around source cell – Destination is linear combination of patch values – Yields better derivatives/smoother results than bilinear – Based on “patch recovery” used in finite element modeling [1][2] – LocStreams can be destination Nearest neighbor: – Destination is equal to closest source point (or vise versa) – LocStreams can be source or destination First order conservative: – Destination is combination of intersecting source cell areas – Preserves integral of data across interpolation

Other Options (NEW!) Path between points in bilinear on a sphere: – Straight line – Great circle Options for extrapolating across pole region: – Full circle average – N-point average – Teeth – No pole Others: – Masking – (New!) Normalization options for conservative: destination area or fraction – User area – Ignore unmapped, Ignore degenerate Full circle avg. N-point avg Teeth No Pole

Spherical Regrid Support Regrid works with spherical (lon, lat, radius) coordinates All regrid methods supported between any pair of: – 2D Global or 2D regional logically rectangular Grids – 2D Unstructured Meshes composed of polygons with any number of sides – 2D Multi-patch grids (e.g. cubed spheres) currently supported via Meshes (NEW! More Accurate!) Bilinear supported between any pair of: – 3D Meshes composed of hexahedrons – 3D Global or regional logically rectangular Grids LocStreams supported for above depending on regrid method FIM Unstructured Grid Regional Grid 3D Global Spherical Grid

Cartesian Regrid Support Regrid works with Cartesian (x,y,z) coordinates All regrid methods between any pair of: – 2D Meshes composed of polygons with any number of sides – 2D logically rectangular Grids Bilinear, conservative, or nearest neighbor between any pair of: – 3D Meshes composed of hexahedrons – 3D logically rectangular Grids LocStreams supported for above depending on regrid method 2D Unstructured Mesh From 3D Grid 3D Unstructured Mesh

Regrid Weight Calculation Performance Platform: IBM IDataPlex cluster ( Yellowstone at NCAR) Grid size: ~30 million cells and ~4 millions cells

Other Tools Using ESMF Regrid Ultrascale Visualization Climate Data Analysis Tool (UV-CDAT): – Package designed for analyzing large climate data sets – Uses ESMF regridding via ESMPy – Recently won Federal Laboratory Consortium technology transfer award Cf-python: – Python package for manipulating cf data and files – Uses ESMF regridding via ESMPy NCAR Command Language (NCL): – Language for scientific data analysis and visualization – Uses ESMF regridding via ESMF_RegridWeightGen application

Selected Users NOAA Environmental Modeling System (NEMS): – Under development – Aimed to be the backbone of next generation forecast systems – ESMF regridding used to transfer data between models Community Earth System Model (CESM): – Has used ESMF regridding for 5+ years – Currently uses ESMF_RegridWeightGen, but are working towards online regridding Met Office: – Multiple users of ESMF regridding there – Have been adding functionality for them (e.g. concave, great circle,…) NOAA Space Weather Prediction Center (SWPC): – Working towards coupled 3D ionosphere model using ESMF – New 3D spherical bilinear reduces error by 40x over Cartesian

Scheduled for Upcoming Releases Higher-order conservative regridding (7.1.0) Breaking up grid files to increase maximum grid size possible for interpolation weight generation (7.1.0) Extrapolation of points that lie outside the source grid (7.1.0) Dynamic masking during sparse matrix multiply (7.1.0) Additional weight file formats for ESMF_RegridWeightGen (7.1.0) – Other SCRIP format – Slim version Representation of higher-order elements (7.2.0)

References Patch interpolation: 1.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), If you have questions or requests, come talk to me, or