Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth...
-
Upload
marvin-parrish -
Category
Documents
-
view
216 -
download
0
Transcript of Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth...
![Page 1: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/1.jpg)
Metadata for the Coupled Ocean/Atmosphere Mesoscale
Prediction System (COAMPS)using the
Earth System Modeling Framework (ESMF)
Peter BoslerUniversity of MichiganNCAR SIParCS Program
August 4, 2009
![Page 2: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/2.jpg)
Outline
• SIParCS Project – Sylvia Murphy, NCAR ESMF– Tim Campbell, Navy Research Lab. Stennis Space Center MS
• COAMPS Overview• Why ESMF?
– NUOPC– Metadata
• Project Results and Applications– Using COAMPS Metadata (internal & external)
![Page 3: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/3.jpg)
SIParCS Project
• Describing Models– Add Metadata attributes to COAMPS
• Fields have Name, StdName, and Units attached• Components have Model Name, Version, Coding Language, Web URL,
etc.. attached• Export metadata in XML format for each component
• Automating Models– ESMF already has coupling functions like parallel regridding – My job: Build an ESMF Attribute-based unit converter
• Use attributes to decide if conversion is necessary• Perform the conversion using Unidata’s UDUnits• Update the attributes to reflect conversion
![Page 4: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/4.jpg)
COAMPS Basics• “Coupled Ocean/Atmosphere Mesoscale Prediction System”• Standard Navy model for “On-Demand” forecasting• Regional weather prediction out to 72 hours (operational)• High resolution, non-hydrostatic model
![Page 5: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/5.jpg)
Motivation
• Earth System Modeling Framework– Chosen as Common Model Architecture and model-to-model interface
standard by National Unified Operational Prediction Capability (NUOPC)
– Facilitates modularity and flexibility by providing user-defined methods to couple independent components
• Metadata – Formally structured information with a controlled vocabulary
embedded within the model itself, i.e., the ESMF Attribute class.– ESMF includes NUOPC recommended metadata capabilities– Metadata allows model components to be “self-describing”
![Page 6: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/6.jpg)
• Components– Gridded Components
• Atmosphere Component, Ocean Component, Wave Component • Run on separate PETs in distributed environment
– Coupler Components• Handle communication between Grid. Comps.
– COAMPS uses 5 ESMF Gridded Components
• States– Import/Export– Basic data structure for coupler communication
• Fields/Field Bundles– Data and Grid in one package– Field Bundles are collections of fields that share the same grid
ESMF Terminology
![Page 7: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/7.jpg)
ESMF Metadata
• ESMF “Attributes” implement standard ontologies such as the NetCDF Climate and Forecast Convention (CF)
• Attributes can be attached to most ESMF objects (i.e., Components, Field Bundles, Fields, etc.)
• Mechanism for fast search capability of both models and their datasets via online data portals (External Usage)
• Mechanism for component to component communication through an ESMF coupler (Internal Usage)
![Page 8: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/8.jpg)
SIParCS Project (Part 1)
• Built ESMF & COAMPS on Bluefire– ESMF 4.0 beta snapshot 6– COAMPS Version 4
• Modified COAMPS code to include ESMF Attributes– Fields & States– Components (Atmosphere, Ocean, Wave, Ocean Bkgd, Wave Bkgd)– Linked Components to associated States and Fields
• Export COAMPS metadata XML
![Page 9: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/9.jpg)
Sample XML Output
![Page 10: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/10.jpg)
Sample XML Output
![Page 11: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/11.jpg)
Internal Usage Example
Coupler
Ocean ExportAtmos. Import
During Initialize Phase, Coupler detects difference in attributes of the SST field between two components.
Attributes of SST Export are degrees Celsius
Attributes of SST import are degrees Kelvin
![Page 12: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/12.jpg)
Internal Usage Example
Coupler
Ocean ExportAtmos. Import
Run Phase : Coupler receives Ocean SST data from Ocean Comp. in Celsius
RunPhase:Export SST in °C
![Page 13: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/13.jpg)
Internal Usage Example
Coupler
Atmos. ImportOcean Export
Run Phase: Coupler performs unit conversion to Kelvin using UDUnits and updates Field Attribute
![Page 14: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/14.jpg)
Internal Usage Example
Coupler
Atmos. ImportOcean Export
Run Phase: Coupler sends converted SST Field to Atmos. Comp.
Atmos. Comp. receives SST field in °K
![Page 15: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/15.jpg)
ESMF Superstructure
ESMF Infrastructure
•COAMPS Atmos. Comp.
Atmos.
•COAMPS Ocean Comp.
Ocean
•Wave Watch 3Wave
Data Manipulation (Regridding, unit conversion, etc.)
Data Transfer (Import/Export States, Fields & Field Bundles, and Metadata)
SWAN
![Page 16: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/16.jpg)
SIParCS Project (Part 2)
• Get to know UDUnits– UDUnits 2.1.8– C library/API– XML database
• How to use UDUnits in ESMF?– Overlap with ESMF_Attributes– Error checking capability– Parallelization / numeric efficiency
• Write and test ESMF Physical Units module– In progress…
![Page 17: Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.](https://reader036.fdocuments.us/reader036/viewer/2022062518/56649e735503460f94b72687/html5/thumbnails/17.jpg)
Summary
• ESMF is becoming the technical basis for operational numerical weather prediction
• COAMPS is an example of “modular modeling” using ESMF through component interoperability
• ESMF:– http://www.esmf.ucar.edu/
• COAMPS:– http://www.nrlmry.navy.mil/coamps-web/web/home
• UDUnits:– http://www.unidata.ucar.edu/software/udunits/