NCEP s WRF POST PROCESSOR. Hui-Ya Chuang

Similar documents
NCEP s UNIFIED POST PROCESSOR (UPP) 2018 HWRF Tutorial

Hui-Ya Chuang. Presented by Matthew Pyle

WRF Modeling System Overview

WRF Modeling System Overview

WRF Modeling System Overview

WRF Modeling System Overview

WRF Modeling System Overview

The Developmental Testbed Center (DTC) Steve Koch, NOAA/FSL

User's Guide for the NMM Core of the Weather Research and Forecast (WRF) Modeling System Version 3. Chapter 4: WRF-NMM Initialization

Introduction to NCEP's time lagged North American Rapid Refresh Ensemble Forecast System (NARRE-TL)

Output Module (last updated 8/27/2015)

AOS 452 Lab 5 Handout GEMPAK Part II Gridded Data Programs

Comparison of the NCEP and DTC Verification Software Packages

GSI DATA ASSIMILATION SYSTEM: COMMUNITY SUPPORT AND PRELIMINARY TESTING RESULTS

GSI Radar Data Interface for DTC community GSI release version 3.2

Weather Research and Forecasting Model. Melissa Goering Glen Sampson ATMO 595E November 18, 2004

Incorporation of 3D Shortwave Radiative Effects within the Weather Research and Forecasting Model

Creating Meteorology for CMAQ

Description of. Jimy Dudhia Dave Gill. Bill Skamarock. WPS d1 output. WPS d2 output Real and WRF. real.exe General Functions.

THE DEVELOPMENTAL TESTBED CENTER WINTER FORECASTING EXPERIMENT

DSJRA-55 Product Users Handbook. Climate Prediction Division Global Environment and Marine Department Japan Meteorological Agency July 2017

Land Surface Processes and Their Impact in Weather Forecasting

Jacobians of transformation 115, 343 calculation of 199. Klemp and Wilhelmson open boundary condition 159 Kuo scheme 190

Satellite Imagery and Virtual Global Cloud Layer Simulation from NWP Model Fields

5. General Circulation Models

Convection-Resolving NWP with WRF. Section coordinator Ming Xue University of Oklahoma

Wind Flow Modeling The Basis for Resource Assessment and Wind Power Forecasting

MCIPv3: Using WRF-EM Output with CMAQ

Dynamics of the Atmosphere GEMPAK Lab 3. 3) In-class exercise about geostrophic balance in the real atmosphere.

JRA-55 Product Users Handbook

Developments towards multi-model based forecast product generation

Methodology for the creation of meteorological datasets for Local Air Quality modelling at airports

JRA-55 Product Users' Handbook

The Fifth-Generation NCAR / Penn State Mesoscale Model (MM5) Mark Decker Feiqin Xie ATMO 595E November 23, 2004 Department of Atmospheric Science

The WRF Microphysics and a Snow Event in Chicago

J th Conference on Aviation, Range, and Aerospace Meteorology, 90th AMS Annual Meeting, Atlanta, GA, Jan, 2010

A Study of Convective Initiation Failure on 22 Oct 2004

MxVision WeatherSentry Web Services Content Guide

P1M.4 COUPLED ATMOSPHERE, LAND-SURFACE, HYDROLOGY, OCEAN-WAVE, AND OCEAN-CURRENT MODELS FOR MESOSCALE WATER AND ENERGY CIRCULATIONS

Mesoscale meteorological models. Claire L. Vincent, Caroline Draxl and Joakim R. Nielsen

Thunderstorm-Scale EnKF Analyses Verified with Dual-Polarization, Dual-Doppler Radar Data

ABSTRACT 3 RADIAL VELOCITY ASSIMILATION IN BJRUC 3.1 ASSIMILATION STRATEGY OF RADIAL

Use of the GFDL Vortex Tracker

NCEP s "NAM" (North American Mesoscale) model WRF-NMM. NCEP =National Centers for Environmental Prediction

Real case simulations using spectral bin cloud microphysics: Remarks on precedence research and future activity

Weather Forecasting. March 26, 2009

Establishing the Weather Research and Forecast (WRF) Model at NWS Miami and Incorporating Local Data sets into Initial and Boundary Conditions

Polar WRF. Polar Meteorology Group Byrd Polar and Climate Research Center The Ohio State University Columbus Ohio

ERA report series. 1 The ERA-Interim archive. ERA-Interim ERA-40. Version 1.0 ERA-15

The Impacts of GPSRO Data Assimilation and Four Ices Microphysics Scheme on Simulation of heavy rainfall Events over Taiwan during June 2012

Assignment #5: Cumulus Parameterization Sensitivity Due: 14 November 2017

GMAO Analyses and Forecasts for YOTC

10A.1 The Model Evaluation Tool

Impact of GPS RO Data on the Prediction of Tropical Cyclones

Richard M. Yablonsky University of Rhode Island. WRF for Hurricanes Tutorial Boulder, CO 25 February 2010

KENYA. At the Kenya MeteorologÎcal Department, there are a number of PCs that are networked

Di Wu, Xiquan Dong, Baike Xi, Zhe Feng, Aaron Kennedy, and Gretchen Mullendore. University of North Dakota

THE ATMOSPHERIC MODEL EVALUATION TOOL: METEOROLOGY MODULE

National Scientific Library at Tbilisi State University

Open Source ENKI: Dynamic Environmental Model Framework. A possible pre-processor for WRF-Hydro?

Report on EN6 DTC Ensemble Task 2014: Preliminary Configuration of North American Rapid Refresh Ensemble (NARRE)

CloudSat ECMWF-AUX Auxillary Data Product Process Description and Interface Control Document

Advanced Hurricane WRF (AHW) Physics

Jordan G. Powers Kevin W. Manning. Mesoscale and Microscale Meteorology Laboratory National Center for Atmospheric Research Boulder, Colorado, USA

GSI Data Assimilation System Support and Testing Activities: 2013 Annual Update

Canadian Meteorological and Oceanographic Society and American Meteorological Society 21 st Conference on Numerical Weather Prediction 31 May 2012

WRF Model Simulated Proxy Datasets Used for GOES-R Research Activities

JRA-55 Product Users Handbook

MODEL TYPE (Adapted from COMET online NWP modules) 1. Introduction

Testing and Evaluation of GSI Hybrid Data Assimilation for Basin-scale HWRF: Lessons We Learned

The Developmental Testbed Center: Update on Data Assimilation System Testing and Community Support

NCEP Short Range Ensemble Forecast (SREF) System: what we have and what we need? Jun Du. NOAA/NWS/NCEP Environmental Modeling Center

Jordan G. Powers Kevin W. Manning. Mesoscale and Microscale Meteorology Laboratory National Center for Atmospheric Research Boulder, CO

The HIGHTSI ice model and plans in SURFEX

Status of Atmospheric Winds in Relation to Infrasound. Douglas P. Drob Space Science Division Naval Research Laboratory Washington, DC 20375

Study of the impacts of grid spacing and physical parameterizations on WRF simulations of convective system rainfall and morphology

Background Error, Observation Error, and GSI Hybrid Analysis

Using the EartH2Observe data portal to analyse drought indicators. Lesson 4: Using Python Notebook to access and process data

COSMO / CLM Training Course

FPAW October Pat Murphy & David Bright NWS Aviation Weather Center

Accomplishments and Deliverables

Forecast for 6/28-7/31. Forecaster: Matthew Brewer Forecast made at: 12z 6/27/2017

NWP Equations (Adapted from UCAR/COMET Online Modules)

USING PROGRAM HURRICANE. Download all the files, including the (empty) output subdirectory into a new folder on your machine.

WeatherHawk Weather Station Protocol

CSU RAMS. Standard Input Formats for Pressure Coordinate and Observational Data (Data Prep Stage)

The EMC Mission.. In response to operational requirements:

A Description and Example Output of the WRF-NMM land surface and radiation packages used at NCEP

YOPP archive: needs of the verification community

WRF Pre-Processing (WPS)

Atmospheric Processes

RAL Advances in Land Surface Modeling Part I. Andrea Hahmann

STUDY UNIT SEVENTEEN GRAPHICAL AIRMAN S METEOROLOGICAL ADVISORY (G-AIRMET)

1 5 th RAIDEG PUMA 2010 Upgrade - EUM/OPS/VWG/14/ September 2014 PUMA-2010 UPGRADE

Development and Validation of Polar WRF

2010 CAPS Spring Forecast Experiment Program Plan (A Brief Version)

Some Applications of WRF/DART

User's Guide for the NMM Core of the Weather Research and Forecast (WRF) Modeling System Version 3. Chapter 7: Post Processing Utilities

THE WEATHER RESEARCH AND FORECAST MODEL VERSION 2.0

Benchmarking Polar WRF in the Antarctic *

Transcription:

NCEP s WRF POST PROCESSOR Hui-Ya Chuang

Outline Overview Sample fields generated by WRF post package Derivation of commonly used fields Break Installation Controlling what to output Visualization

Introduction I NCEP s WRF post processor can post process model output from WRF NMM and WRF ARW. NCEP uses WRF post processor as the common post processor so that forecasts from different models can be compared and verified fairly.

Introduction II - IO WRF post reads in model output in either binary or netcdf format using WRF IO API. Users are encouraged to use netcdf format. NCEP uses binary output for speed. Output is on NCEP standard or user-defined grids in NWS & WMO standard GRIB format, which can be read by NCEP s de-gribber, GEMPAK, or GrADS.

Introduction III Platform portability WRF post has been developed and run on NCEP s IBM with MPI. WRF post was also ported to run on linux thanks to Bob Rozumalski, Ligia Bernardet, Dusan Jovic and Meral Demirtas.

Introduction IV Different components of WRF post package Two components of WRF post package: 1) wrfpost: a) perform vertical interpolations onto pressure and other levels (parallized for 3D computation) ; b) horizontally interpolate velocity onto mass points for ARW only; c) compute diagnostic fields. 2) copygb: performs horizontal interpolations and de-staggering. Note that most graphics packages can not handle staggered grids.

Introduction IV Different components of WRF post package - Continued Computational domain of WRF NMM is on Arakawa-E rotated lat/lon, so copygb utility is needed to convert model output onto nonstaggered grid. Computational domain of WRF ARW is on Arakawa-C grid. However, because wrfpost interpolates all velocity fields onto mass points for ARW and hence convert model output onto an A grid, no further horizontal interpolations are needed (i.e., no need to run copygb).

Fields generated by WRF post package WRF post package currently outputs 288 fields. Complete list can be found in Table 1 of your user guide (p7-8) or online: http://wwwt.emc.ncep.noaa.gov/mmb/papers/chuang/2/wrfpost.txt Sample fields generated by WRF post package: 1) Temperature, height, humidity, 3D wind, turbulent kinetic energy, exchange coefficients, cloud water, cloud ice, rain, and snow on 47 isobaric levels (8 levels above 75 mb and then from 75 to 1000 mb every 25 mb); 2) Shelter level temperature, humidity, and wind fields;

Fields generated by WRF post package - Continued 3) Accumulated and instantaneous precipitation: total, convective, and grid scale; 4) Radar reflectivity, visibility, and precip types; 5) Vorticity and geostrophic stream function; 6) PBL height; 6 layers of PBL AGL 30 mb layeraveraged temperature, humidity, and wind; 7) Surface wind stress, drag coefficient, roughness length, friction velocity; 8) SLP (two types);

Fields generated by WRF post package - Continued 9) Instantaneous and time-averaged surface fluxes: sensible, latent, ground, downward and upward shortwave and longwave; 10) Soil temperature, moisture, and types; 11) Cloud fraction as well as cloud top/bottom pressure, height, and temperature for total, convective, and grid-scale; 12) Aviation products including in-flight icing and ceiling; 13) Brightness temperature.

Computation of atmospheric isobaric fields Vertical interpolation of height, temperature, specific humidity, vertical velocity, horizontal winds, and turbulent kinetic energy from model level to pressure level fields is linear in ln(p). WRF NMM model does not output height fields, so the WRF post processor derives WRF NMM model level heights by integrating virtual temperature hydrostatically from bottom up.

Computation of underground isobaric fields Underground vertical and horizontal wind components are specified to be the same as those at the first atmospheric model layer above ground. Underground temperature is reduced by assuming constant virtual potential temperature from the temperature averaged over the second and the third model levels above the surface. Underground humidity fields are computed so as to maintain RH averaged over the second and third model levels from the ground.

Derivation of sea level pressure type I: standard NCEP SLP Ground and sea level temperatures are extrapolated from the temperature at the lowest atmospheric layer by assuming a constant lapse rate of 6.5 K/KM. Compute τ = R d T v / g at ground and sea level and then apply Shuell correction to both τs. The basic principal of Shuell correction is to make sure that τ at both sea level and ground do not exceed a critical value. Standard NCEP SLP is then derived as follows: 2 HSFC SLP = PSFC exp( ) τ ( SFC) +τ ( SLP)

Derivation of sea level pressure type II: membrane NCEP SLP Compute underground virtual temperatures by horizontally relaxing virtual temperatures on pressure levels: 2 T = 0. v The nine-point successive over-relaxation formula is used to solve the above Laplace s Eq. numerically. Once all underground virtual temperatures are generated, the hydrostatic equation is integrated downward to obtain sea level pressure.

Computation of simulated radar reflectivity Two algorithms are used to compute simulated radar reflectivity depending on the microphysics (MP) option used in the model run: 1) Ferrier MP scheme: derived by Ferrier to be consistent with assumptions made in Ferrier MP scheme. A maximum of 80 dbz and a minimum of -20 dbz are applied. More information can be found in Ferrier s 94 JAS publication; 2) Other MP schemes: adopted from RIP4. More information can be found online: http://www.mmm.ucar.edu/wrf/users/docs/ripug.htm

Derivation of visibility Warner-Stoelinga algorithm is used to compute visibility for all cores and physics packages. This algorithm first computes extinction coefficients (β) for each hydrometeor species: β = A C λ,where A and λ are empirical coefficients. All the βs are summed to yield a single β. The visibility is then calculated using the formulation: vis = min( 20km, lnε / β )

Shelter level fields and PBL height Shelter level fields and PBL height are direct output from WRF model, not interpolated or diagnosed in the WRF post. This ensures that these fields are derived within the model based on surface and PBL physics consistent with your model runs.

Computation of other fields Computation of many other fields can be found in ETA post documentation online: http://www.emc.ncep.noaa.gov/mmb/papers/chuang/1/of438.html Keep in mind that there are some differences between WRF and ETA post when looking through documentation. In addition to differences in vertical coordinate, they are mostly how to ingest model output and set up constants. One example is that WRF post no longer reads in namelist FCSTDATA. Eta post documentation will soon be updated to become WRF post documentation.

Download The tar file wrfpost_v2.0.tar containing all the source code, scripts, and libraries is available via DTC site: http://www.dtcenter.org/wrf-nmm/users/downloads Un-tarring the tar file creates 4 directories, a configure file, and two master makefiles for two supported platforms: 1) sorc/: source code; 2) scripts/: sample scripts for running post and graphics packages; 3) lib/: libraries used by wrfpost and copygb; 4) parm/: control files used by wrfpost; 5) configure: to set up proper makefiles based on user s platform and path names for IO libs; 6) makefile: to compile all the lib and sorc.

Installation I Compile source codes Configure your makefiles by executing the file configure. Users will be prompted to specify: 1) platform: enter 1 for LINUX or 2 for IBM; 2) path name of your netcdf utility; 3) path name of your WRF model source code. Compile all the libraries and source codes by executing the master makefile in the top directory.

Installation II Run wrfpost wrfpost needs three input files: 1) itag: read in via unit 5 to provide information on a) model output file name in first line, b) format of model output in second line (netcdf or binary), c) forecast verifying time in WRF format in third line, d) model name in fourth line (NMM or NCAR); 2) wrf_cntrl.parm: control file to let users specify which fields to output; 3) eta_micro_lookup.dat: look-up table containing MP coefficients used by Ferrier scheme.

Installation III Run wrfpost Sample script run_wrfpost #!/bin/sh set -aeux export tmmark=tm00 cat > itag <<EOF wrfout_d01_2005-04-27_00:00:00 netcdf 2005-04-27_00:00:00 NMM EOF rm -f fort.* ln -sf../parm/wrf_cntrl.parm fort.14 ln -sf griddef.out fort.110 ln -sf../parm/eta_micro_lookup.dat.../exec/wrfpost.exe < itag > outpost_wrf creating file itag in the script file name of WRF history file format of WRF output validation time model name (NMM or NCAR) linking to control file linking to Ferrier s lookup table execute WRF post

Installation IV Description of wrfpost control file wrf_cntrl.parm specifying grid number KGTYPE******I5*******:(00255)********START OF THIS OUTPUT IMDLTY *I5* :(00089) DATSET *A6* :(WRFPRS) GRIB packing precision (PRESS ON MDL SFCS ) SCAL=( 3.0) L=(11000 00000 00000 00000 00000 00000 00000 00000 00000 (HEIGHT ON MDL SFCS ) SCAL=(-5.0) L=(11000 00000 00000 00000 00000 00000 00000 00000 00000 switch to specify which level of field to output with 1 being yes abbreviated name used in post source code for each field

Installation V Use wrfpost control file to output a field To output a desired field: 1) look through field names in Table 1 of WRF post user guide (p7-8) to see if WRF post produces this field; 2) If yes, note the corresponding abbreviated name in the 2 nd column of the Table 1 and look for it in wrf_cntrl.parm; 3) If it is already listed in wrf_cntrl.parm, make sure that the switch is turned onto 1 ; 4) If it is not listed in wrf_cntrl.parm, add this field to the control file. To add land/sea mask: (LAND SEA MASK ) SCAL=( 3.0) L=(10000 00000 00000 00000 00000 00000 00000 00000 00000

Installation VI Use wrfpost control file to output fields on multiple levels wrfpost outputs fields on many different types of vertical coordinates: 1) native model vertical levels; 2) 47 pressure levels: 2, 5, 7, 10, 20, 30, 50, 70 mb, then 75 to 1000 mb every 25 mb; 3) 7 flight levels above MSL in m: 914,1524,1829,2134, 2743, 3658, 6000; 4) 6 layers of 30 mb averaged PBL layers; 5) 2 AGL level: 1000 and 4000 m for radar reflectivity. Except for AGL and pressure levels, all the other vertical levels are counted from bottom to top in wrf_cntrl.parm.

Installation VI Use wrfpost control file to output fields on multiple levels - Cont To output temperature fields at 75 and 125 mb: (TEMP ON PRESS SFCS ) SCAL=( 3.0) L=(00000 00010 10000 00000 00000 00000 00000 00000 00000 To output 30 mb PBL mean U from 30 to 60 mb and then from 90 to 120 mb AGL: (U WIND IN BNDRY LYR ) SCAL=( 3.0) L=(01010 00000 00000 00000 00000 00000 00000 00000 00000

Installation VII Change the number or values of output pressure levels Modify specification of variable LSM in the file CTLBLK.comm to change the number of pressure levels: PARAMETER (LSM=47) Modify specification of SPL array in the subroutine POSTDATA.f to change the values of pressure levels: DATA SPL/200.,500.,700.,1000.,2000.,3000. &,5000.,7000.,7500.,10000.,12500.,15000.,17500.,20000.

Installation VIII run copygb To use copygb to perform horizontal interpolations: copygb xg ${grid} in.grb out.grb Two ways to specify ${grid} : 1) ${grid} = NCEP standard grid number: copygb xg212 in.grb out.grb 2) ${grid} = 255 INT(18), where INT(18) is an array containing user-defined grid navigation information: copygb xg 255 3 109 91 37748-77613 8-71000 10379 9900 0 64 42000 42000 in.grb out.grb

Installation VIII run copygb - Continued To find a NCEP standard grid that matches your output domain, look up the grid specs for all NCEP grids online: http://www.nco.ncep.noaa.gov/pmb/docs/on388/tableb.html Details on how to specify INT(18) for a user-defined grid can be found in the subroutine w3fi63 in your lib/w3lib. Examples on how to use copygb to interpolate onto a user-defined grid is shown in the sample scripts run_wrfpostandgempak and run_wrfpostandgrads. The instructions on how to run copygb can be found in the file copygb.doc that comes with the copygb source code.

GRIB file visualization with GEMPAK GEMPAK has an utility named nagrib that reads GRIB files on any non-staggered grids and then generates GEMPAK-binary files that are readable by all GEMPAK programs GEMPAK can plot horizontal contours, cross-sections, meteograms, and sounding profiles. Package download and user guide are available online: http://my.unidata.ucar.edu/content/software/gempak/index.html A sample script named run_wrfpostandgempak is included in scripts/ that can be used to run wrfpost, copygb, and then plot various fields using GEMPAK.

Sample script run_wrfpostandgempak nagrib<< EOF GBFILE=wrfnmm${fhr}.tm00 GDOUTF=wrfnmm${fhr}.grd MAXGRD=3000 CPYFIL=gds OUTPUT=t run exit EOF gdplot<< EOF GDFILE = wrfnmm${fhr}.grd GDATTIM = LAST GLEVEL = 0 GVCORD = none GFUNC = p06m CTYPE = f DEVICE = GIF Sfcmap${fhr}.gif converting GRIB to GEMPAK binary plot 6hr precipitation save the plot to GIF file

WRF NMM forecast plotted with GEMPAK : Precipitation and derived Radar reflectivity

GRIB file visualization with GrADS GrADS also has utilities to read GRIB files on any nonstaggered grids and then generates GrADS control files. The utilities grib2ctl and gribmap are available via Wesley Ebisuzaki s web site: http://www.cpc.ncep.noaa.gov/products/wesley/grib2ctl.html Package download and user guide for GrADS are available online: http://grads.iges.org/grads/gadoc/ A sample script named run_wrfpostandgrads is included in scripts/ that can be used to run post, copygb, and then plot various fields using GrADS.

Sample script run_wrfpostandgrads grib2ctl.pl -verf wrfnmm${fhr}.tm00 > wrfnmm${fhr}.ctl gribmap -i wrfnmm${fhr}.ctl create ctrl file create index file cat > plotgrads << EOF 'open wrfnmm${fhr}.ctl' 'set gxout shaded' 'd APCPsfc' 'cbar 'printim Sfcmap${fhr}_GrADS.gif gif plot precipitation save plot to gif xgrads -blc "run plotgrads"

WRF NMM forecast plotted with GrADS: Precipitation and derived Radar reflectivity

WRF NMM and ARW fields ingested by WRF post A list of fields (as named in Registry file) that are read in by WRF post for both WRF NMM and WRF ARW can be found in tables 2 (p7-15) and 3 (p7-16) in your user guide or online: http://wwwt.emc.ncep.noaa.gov/mmb/papers/chuang/2/wrfpost.txt It is important to make sure that users have all these fields in the model output so that WRF post can compute and output each field properly. To have these fields in your model output, users will need to modify Registry file and then re-compile WRF model source code. John will talk about how to modify Registry file.

Some tips and suggestions To reduce the size of the GRIB file, users can modify the control file wrf_cntrl.parm as mentioned earlier to only output desired fields. If a field in your GRIB file does not have physical values, it is likely that you don t have required fields in your model output. For example, if your vorticity fields look unreasonable, you may not have velocity or grid resolution fields in your model output.

Future plan WRF post processor is constantly updated to add more fields and to make bug fixes. NCEP and DTC will work together to distribute the new version to users ASAP. WRF post will soon be modified to post process GFS output to achieve the goal of having a common post processor at EMC.

Observed and simulated brightness temperature