Initialization for Real Data Cases Dave Gill

Slides:



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

Add a Physics Scheme into WRF Model
ATMO5332 WRF-ARW Tutorial 0.01”.
WRF Modeling System V2.0 Overview
Running CAMx. 1. Emissions Acquire appropriate information to get emissions inputs that are:  Representing the mobile, area, and biogenic emissions 
RAMS/BRAMS Basic equations and some numerical issues.
Nesting. Eta Model Hybrid and Eta Coordinates ground MSL ground Pressure domain Sigma domain  = 0  = 1  = 1 Ptop  = 0.
© Crown copyright Met Office SRNWP Interoperability Workshop, ECMWF, January 2008 SRNWP Interoperability Terry Davies Met Office.
This is the footer WRF Basics Weather Research and Forecasting.
This is the footer Running WRF on HECToR Ralph Burton, NCAS (Leeds) Alan Gadian, NCAS (Leeds) With thanks to Paul Connolly, Hector.
How to set up and run WRF model. Outline n How to download and compile the WRF code? n Namelist n Input and output files.
WRF-VIC: The Flux Coupling Approach L. Ruby Leung Pacific Northwest National Laboratory BioEarth Project Kickoff Meeting April 11-12, 2011 Pullman, WA.
Mesoscale & Microscale Meteorological Division / NCAR How to Set Up and Run WRF (real.exe & wrf.exe)? Wei Wang June 29, 2004.
1 WRF PreProcessing System (WPS) A Brief Overview WMO, Training Course, September 2011 Alanya, Turkey Dr Meral Demirtaş Turkish State Meteorological.
Guidelines for the CMM coding project 5 October 2006 (or, “How to make your life easier in the long run”)
Introduction to the WRF Modeling System Wei Wang NCAR/MMM.
Introduction to Running the WRF in LES Mode Jeff Massey April 1, 2014 University of Utah WRF Users Group.
Development of WRF-CMAQ Interface Processor (WCIP)
– Equations / variables – Vertical coordinate – Terrain representation – Grid staggering – Time integration scheme – Advection scheme – Boundary conditions.
Earth Science Division National Aeronautics and Space Administration 18 January 2007 Paper 5A.4: Slide 1 American Meteorological Society 21 st Conference.
Setting Up and Running the WRF Standard Initialization Brent Shaw NOAA / Forecast Systems Laboratory.
– Equations / variables – Vertical coordinate – Terrain representation – Grid staggering – Time integration scheme – Advection scheme – Boundary conditions.
Lesson 2 How To Create a MOHID Project 19 Março 2013
Understanding the USEPA’s AERMOD Modeling System for Environmental Managers Ashok Kumar Abhilash Vijayan Kanwar Siddharth Bhardwaj University of Toledo.
Scientific Computing Division A tutorial Introduction to Fortran Siddhartha Ghosh Consulting Services Group.
How to set up and run WRF model. Outline n How to download and compile the WRF code? n Namelist n Input and output files.
Integrated Grid workflow for mesoscale weather modeling and visualization Zhizhin, M., A. Polyakov, D. Medvedev, A. Poyda, S. Berezin Space Research Institute.
Improving the Mars Thermal 1D Model E. Millour, A Colaitis, F. Forget EXM-AMSA PM6, 7th July 2011.
The WRF Preprocessing System Michael Duda 2006 WRF-ARW Summer Tutorial.
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
Introduction to Mfix M. Syamlal, Fluent, Inc. National Energy Technology Lab Morgantown, WV
WRF Four-Dimensional Data Assimilation (FDDA) Jimy Dudhia.
The WRF Preprocessing System: Description of General Functions
Overview of the tracer code in RegCM Tracers Aerosols ( droplets, smoke particles, dust, pollens, flying cats …) Gazeous phase, chemical species Evolution.
The 4th East Asia WRF Tutorial, 7-10 April 2010 The WRF Preprocessing System: Description of General Functions Michael Duda.
Unified Noah LSM Code at NCAR Kevin W. Manning Fei Chen National Center for Atmospheric Research Boulder, CO.
Input and Output I: ASCII and Binary files. Data formats ASCII Binary netCDF HDF.
NCEP ESMF GFS Global Spectral Forecast Model Weiyu Yang, Mike Young and Joe Sela ESMF Community Meeting MIT, Cambridge, MA July 21, 2005.
Current and Future Initialization of WRF Land States at NCEP Ken Mitchell NCEP/EMC WRF Land Working Group Workshop 18 June 2003.
How to set up and run WRF model
July, 2009 WRF-Var Tutorial Syed RH Rizvi 0 WRFDA Background Error Estimation Syed RH Rizvi National Center For Atmospheric Research NCAR/ESSL/MMM, Boulder,
Introduction to the WRF Modeling System
NCAS Computational Modelling Service (CMS) Group providing services to the UK academic modelling community Output of UM Diagnostics Directly in CF NetCDF;
___________________________________________________________________________WRF-SI ___________________________________________________Community Modeling.
___________________________________________________________________________CMAQ Basics ___________________________________________________Community Modeling.
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
Module 6 MM5: Overview William J. Gutowski, Jr. Iowa State University.
Lecture 3: Designing Parallel Programs. Methodological Design Designing and Building Parallel Programs by Ian Foster www-unix.mcs.anl.gov/dbpp.
The WRF Preprocessing System
Test Cases for the WRF Height Coordinate Model
Initialization for Idealized Cases
Agreements on... Interim ELDAS Data coordination meeting Time schedule for soil moisture production –Submission of results for two month period –Preparation,
November 21 st 2002 Summer 2009 WRFDA Tutorial WRF-Var System Overview Xin Zhang, Yong-Run Guo, Syed R-H Rizvi, and Michael Duda.
Test Cases for the WRF Mass Coordinate Model 2D flow over a bell-shaped mountain WRFV1/test/em_hill2d_x 2D squall line (x, z ; y, z) WRFV1/test/em_squall2d_x.
Model Task 1: Setting up the base state ATM 562 Fall 2015 Fovell (see course notes, Chapter 9) 1.
Send Environmental Data To the ORPG Design Review Wednesday, Nov. 16, 2005 Joanne Edwards Tom Kent.
Real-data WRF: Setup and run ATM 419 Spring 2016 Fovell 1.
Running the WRF Preprocessing System
Introduction to the New WRF Preprocessing System
User-Written Functions
Loops BIS1523 – Lecture 10.
WRF Four-Dimensional Data Assimilation (FDDA)
Status of the COSMO-Software and Documentation
CMAQ Programs and Options
“Storm of the Century”: grid nudging and stochastic perturbatons
Changing WRF input files (met_em…) with MATLAB
gWRF Workflow and Input Data Requirements
Practice for Real Cases
Vertical Coordinates and Nesting
Status of the Regional OSSE for Space-Based LIDAR Winds – Feb01
Presentation transcript:

Initialization for Real Data Cases Dave Gill

Pandas Pandas Ingest only bamboo shoots Lethargic, indifferent mating habits real.exe Ingests only SI data Doesn’t screw you very often

WRF real-data init NECESSARY – the minimum changes: NECESSARY – the minimum changes: How to run real data initialization 1)Fix namelist 2)Put SI data in right place 3)Run real.exe Rest of things to take up time slot Rest of things to take up time slot Files you see before and after Necessary fields Balancing List of gotcha’s Program flow

Running real-data init Real.exe controlled by namelist file (same one as WRF). Located in./WRFV1/test/em_real directory Real.exe controlled by namelist file (same one as WRF). Located in./WRFV1/test/em_real directory Modify times to process: Modify times to process:time_step_max Domain size (maximal dimensions for C-grid) Domain size (maximal dimensions for C-grid) s_we, e_we s_sn, e_sn s_vert, e_vert

Running real-data init Domain grid configuration: Domain grid configuration: dx, dy dt, ztop Times to process: Times to process: start_year, start_month, start_day, start_hour end_year, end_month, end_day, end_hour interval_seconds

Running real-data init Get SI-output data in place – Get SI-output data in place – # cd./WRFV1/test/em_real # ln –s ${SI_LOC}/data/siprd/real_input_em.*. Expect to have a single file for each time period to be processed + the metadata file Run the executable in this directory Run the executable in this directory #./real.exe #./real.exe Single processor only

Data Files before and after Before: Before: Foreach time period - real_input_em_d _18:00:00 Only once - real_input_em.global.metadata From SI system, final output from vinterp From SI system, final output from vinterp

Data Files before and after After: After: wrfinput, wrfbdy Currently, in netCDF format, view with ncdump utility Currently, in netCDF format, view with ncdump utility

Necessary Fields SI provides 3d, 2d, 1d, and constants SI provides 3d, 2d, 1d, and constants 3d: u, v, mixing ratio, potential temperature 2d: map factors, Coriolis, lat/lon, map rotations, ground temp, skin temp, dry surface pressure, land use categories, terrain 1d: eta (vertical coordinate) Already on correct vertical coordinate, each variable is in its correct staggering location, all maximally dimensioned (i,j,k) ordering Already on correct vertical coordinate, each variable is in its correct staggering location, all maximally dimensioned (i,j,k) ordering Generic reader routine Generic reader routine Generic reader routine Generic reader routine

Balancing - base 1. Define base state surface pressure, function of elevation 2. pb = znu(psurf-ptop) + ptop 3. tb = (t00 + A ln(pb/p00) * (p00/pb)^(R/Cp) 4. alb = (R/p1000)*tb*(pb/p1000)^cvpm 5. mub = psurf – ptop; mu = pdsurf - psurf 6. phb = phb k-1 – 1/znu * mub * alb The code code

Balancing Top level: Top level: p = -0.5 (mu + q * mub * 1/znu) qv = q alt = (R/p1000)*t*qv((p+pb)/p1000)^cvpm al = alt – alb The code code

Balancing Integrate down: Integrate down: p, moisture, inverse density ph = ph k-1 – dnw * ( mub + mu*alt ) u,v as input; w=0 u,v as input; w=0 No other moisture initialized than mixing ratio No other moisture initialized than mixing ratio

List of Gotcha’s LSM: num_soil_layers = 4, must re- run real.exe if swapping bl_surface_physics LSM: num_soil_layers = 4, must re- run real.exe if swapping bl_surface_physics Dates must match SI output files, SI files must be in working directory Dates must match SI output files, SI files must be in working directory Domain size and various grid configurations are compared to the namelist values – don’t share the global metadata file Domain size and various grid configurations are compared to the namelist values – don’t share the global metadata file Single processor only Single processor only mm52wrf only works for eh mm52wrf only works for eh

Program Flow All main programs are in./WRFV1/main All main programs are in./WRFV1/main Do-it-once items: namelist, allocate space Time loop initialize domain for current time if time=0, output IC couple u,v,t,ph,q for lateral BC compute tendencies, output if time > 0 End Time loop

Program Flow Inside each time loop Inside each time loop Read SI input file (flat, binary, Fortran) Assign 2d arrays – be careful of array sizes Logic to determine which fields to use based on which fields you have and physics options selected Soil data initialization and adjustment, % categorical Base state computations Diagnose balanced fields for input to WRF