Tara Jensen, John Halley Gotway, MinnaWin-Gildenmeister, Julie Prestopnik, Jim Frimmel, Geoge McCabe, Randy Bullock, Ivanka Stajner and Geoff Manikin Unifying Verification through a Python-wrapped Suite of Tools Support for MET is provided by NOAA, US Air Force, NSF and NCAR through the Developmental Testbed Center (DTC) Workshop on developing Python frameworks for earth system sciences ECMWF – Reading November 28-29
30
Embed
Unifying Verification through a Python-wrapped Suite of Tools · Online tutorial and in-person tutorials given yearly ... storm-scale) • Regridding within the tools and ability
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Tara Jensen, John Halley Gotway, MinnaWin-Gildenmeister, Julie Prestopnik, Jim Frimmel, Geoge McCabe, Randy Bullock, Ivanka
Stajner and Geoff Manikin
Unifying Verification through a
Python-wrapped Suite of Tools
Support for MET is provided by NOAA, US Air Force, NSF and NCAR
through the Developmental Testbed Center (DTC)
Workshop on developing Python frameworks for earth system sciences
ECMWF – Reading November 28-29
Why Unification
2
Comprehensive and unified verification tool - Make R2O
more efficient - Provide a consistent set of metrics
Allows Researchers
and Operational
Scientists to speak a
“common
verification”
language
User Support of
unified package
provides greater
opportunity to
train all on
verification best
practices
University and
National Lab ResearchersGovernment CentersForecasters
(January 2008)
A Bit of History - Over a Decade Ago
3
DTC was asked to replicate the EMC mesoscale verification package
(VSDB) in a platform independent and extensible format and
provide it to the community
Additional
tools beyond
EMC VSDB
MET Package - Today
MET is community code supported by DTC that is free to download (registration required)
A verification toolkit designed for flexible yet systematic evaluation
(supported to the community via the DTC)
Geographical Representation of ErrorsObject Based and Spatial Methods
• Over 70 traditional statistics using both
point and gridded datasets
• Multiple interpolation methods
• Computation of confidence intervals
• Able to read in GRIB1, GRIB2 and CF-
compliant NetCDF
• Applied to many spatial and temporal
scales (multi-decadal climate to 15-min
storm-scale)
• Regridding within the tools and ability
to apply complex masking
• 3400+ users, both US & Int’l
Bad forecast or
Good forecast
with displacement
error?
90th Percentile of difference between two models
5
METViewer components
EMC Vx
Output
Packages: Java, Apache/Tomcat, MySQL, R statistics
Database and Display analysis tool
PB2NC
ASCII2NC
GriddedNetCDF
GriddedForecastAnalysisObs
PrepBufrPoint
STATASCII
NetCDFPointObs
ASCIINetCDFPS
STATASCIINetCDF
Input Reformat Statistics
ASCIIPoint
WaveletStat
STATASCIINetCDFPS
Analysis
MODE
GridStat
EnsembleStat
PointStat
MODEAnalysis
StatAnalysis
PCPCombine
GenVxMask
STATASCIINetCDF
ASCII
MADIS2NCMADISPoint
SeriesAnalysis
TCDLAND
TCPAIRS
TCSTAT
WWMCARegrid
PlotPointObs
PlotDataPlane
MODISRegrid
MODISData
WWMCAData
PS
Plot
NetCDF
ATCFTrackData
LandDataFile
MET-TC
NetCDFDLand
TCST
ASCII
WWMCAPlot
PlotMODEField
PNG
MTDASCIINetCDF
GSITools
ASCIIGSIDiag
RegridDataPlane
STATASCII
ShiftDataPlane
LIDAR2NCLidarHDF
New tool in past 3 years
New output in past 3 years
METViewer
Database and
Display7
MET v6.0 overview
Example: Accumulated precipitation
WaveletStat
MODE
GridStat
EnsembleStat
PointStat
SeriesAnalysis
MODE-TD
PCPCombine
METViewer
Database and
Display
3-h accumulation QPE 12-h accumulation QPE
12-h accumulation QPF
2017 DTC SAB meeting, 28-29 September 2017
Multiple
runs over
time
8
Example: Accumulated precipitation
9
WaveletStat
MODE
GridStat
EnsembleStat
PointStat
SeriesAnalysis
MODE-TD
PCPCombine
METViewer
Database and
Display
3-h accumulation QPE 12-h accumulation QPE
12-h accumulation QPF
2017 DTC SAB meeting, 28-29 September 2017
MODE
Multiple
runs over
time
Python wrappers around
MET and METViewer:
• Simple to set-up and run
• Automated plotting of 2D
fields and statistics
• Communication between
MET & python algorithms
(Cython)
MET+
Initial system - Global
deterministic with plans to
generalize across scales when
possible to quickly spin-up
Ensembles, High Resolution
& Complete Earth System
__Model Components
MET+ Unified Package
METViewer
METASCII
NetCDF
Spatial
Plots
Stats
Plots
Python wrappers
GitHub Repository10
By January
Copyright 2017, University Corporation for Atmospheric Research, all rights reserved Copyright 2017, University Corporation for Atmospheric Research, all rights reserved
PB2NC
ASCII2NC
GriddedNetCDF
GriddedForecastAnalysisObs
PrepBufrPoint
STATASCII
NetCDFPointObs
ASCIINetCDFPS
STATASCIINetCDF
Input Reformat Statistics
ASCIIPoint
WaveletStat
STATASCIINetCDFPS
Analysis
MODE
GridStat
EnsembleStat
PointStat
MODEAnalysis
StatAnalysis
PCPCombine
GenVxMask
STATASCIINetCDF
ASCII
MADIS2NCMADISPoint
SeriesAnalysis
TCDLAND
TCPAIRS
TCSTAT
WWMCARegrid
PlotPointObs
PlotDataPlane
MODISRegrid
MODISData
WWMCAData
PS
Plot
NetCDF
ATCFTrackData
LandDataFile
MET-TC
NetCDFDLand
TCST
ASCII
WWMCAPlot
PlotMODEField
PNG
MTDASCIINetCDF
GSITools
ASCIIGSIDiag
RegridDataPlane
STATASCII
ShiftDataPlane
LIDAR2NCLidarHDF
TCPlot-MPR.R
PNG
What does wrapped by Python mean?
In MET
Configs:
Environment
variables
passed in
from MET+
Constants File
MET/Series_Analysis_Config
What does wrapped by Python mean?
METplus/parm/use_cases/feature_relative
feature_relative.conf
What does wrapped by Python mean?
METplus/parm/use_cases/feature_relative
feature_relative.conf
From .conf
to running MET
15
produtil
METplus
Launcher
conf
… Process
Script 1MET Tool
1
Output1
Input
Process
Script 2Output2
Process
Script 3MET Tool
2
Output3 …
metplus_final.conf
Command
Builder
master_metplus.py
Current package dependencies
16
MET+ Coding Standards
17
NCEP Coding Standards Python section of NCEP standards