WRF Application in COAWST

Slides:



Advertisements
Similar presentations
ATMO5332 WRF-ARW Tutorial 0.01”.
Advertisements

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.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Deployment Management The following screens demonstrate how to: 1. Access and view deployments 2. Create a new local deployment 3. Create and modify a.
CprE 288 – Quick intro for compiling C in Linux
Installing WPS and WRF Michael Duda1 and Wei Wang1
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.
New Class Name Here EFRT 308 EFRT 460 EFRT 461 WordPress.
L. Bernardet NOAA ESRL Global Systems Division, Boulder CO University of Colorado CIRES, Boulder CO Developmental Testbed Center, Boulder, CO Sara Michelson.
Introduction to the WRF Modeling System Wei Wang NCAR/MMM.
John Warner US Geological Survey, Woods Hole, MA
1 Documenting Your Project. 2 Documenting your Project Insert Banner Comments in your code Comment - coding statement used by humans not the compiler.
WRF Portal (A GUI Front End For WRF) WRF Domain Wizard (A GUI Front End For WPS) Presented by Jeff Smith January 18, 2007.
WRF Domain Wizard A tool for the WRF Preprocessing System Jeff Smith Paula McCaslin July 17, 2008.
If you use Macromedia Flash Player 8 & your course folder not in the ‘Trusted Location’ list of Macromedia you have to follow the following steps to run.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM.
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
GDT Development Tutorial. GDT Development Tutorial Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas,
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
A Public Release of WRF Portal Jeff Smith and Mark Govett June 24, 2008.
WRF Domain Wizard The WRF Preprocessing System GUI Jeff S Smith Paula McCaslin and Mark Govett AMS 2008 Presentation.
The WRF Preprocessing System Michael Duda 2006 WRF-ARW Summer Tutorial.
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
L. Bernardet NOAA ESRL Global Systems Division, Boulder CO University of Colorado CIRES, Boulder CO Developmental Testbed Center, Boulder, CO Sara Michelson.
Basic Unix Commands CGS 3460, Lecture 6 Jan 23, 2006 Zhen Yang.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) 15 January, 2014 Building the HWRF Components.
WRFV3chemT Student: Shou-Hung Chien Supervisor : Yu-Heng Tseng Danie Liang Shu-Chih Yang.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 25 I’m Suffering from Information Overload.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
Introduction to the WRF Modeling System
© 2012 LogiGear Corporation. All Rights Reserved FitNesseFitNesse Authors: Nghia Pham 1.
WRF Modelling Aim:  18 th -19 th April Cyclone taking dust SW as opposed to SE  15 th – 16 th North Scotland hit  Cyclone has moved north dragging.
NOAA's Earth System Research Lab in Boulder, CO WRF Domain Wizard A GUI for the WRF Preprocessing System WRF Portal A GUI for running WRF Presented by.
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
The WRF Preprocessing System
Hernán García CeCalcULA Universidad de los Andes.
Real-data WRF: Setup and run ATM 419 Spring 2016 Fovell 1.
SEE-GRID-SCI WRF-ARW model: Grid usage The SEE-GRID-SCI initiative is co-funded by the European Commission under the FP7 Research Infrastructures.
Installation and environment variables. Simple Installation 1 The latest sources can always be obtained from the CDAT website:
Running the WRF Preprocessing System
Introduction to the New WRF Preprocessing System
CS1010: Intro Workshop.
Chapter 11 Command-Line Master Class
National Scientific Library at Tbilisi State University
Submit BOSS Jobs on Distributed Computing System
SWAN model applications
Changing WRF input files (met_em…) with MATLAB
How to Add Currency Converter in WordPress Have you ever wanted to know how to add currency converter to WordPress? dont worry! Keep reading this guide.
Practice for WPS Master’s student at UC Davis
Introduction to javadoc
gWRF Workflow and Input Data Requirements
Operation System Program 4
Guide To UNIX Using Linux Third Edition
Practice for Real Cases
JavaTeaching and Importing a github repository
© copyright Janson Industries 2011
COAWST Applications: WRF only
Run Java file with Window cmd
Microsoft PowerPoint 2007 – Unit 2
Introduction to javadoc
Overview of Contract Association Batch Upload
Periodic Processes Chapter 9.
Polar WRF (Ohio State Modifications)
Lab 2: Terminal Basics.
A drag and drop exercise can be created using Word quite easily using tables, text boxes and ensuring the document is saved properly.
SWAN model applications
Presentation transcript:

WRF Application in COAWST Hurricane Sandy – Static Nest Oct 2012 Domain 01 Domain 02

We use H Sandy application as an example for Chapter 8. COAWST User Manual We use H Sandy application as an example for Chapter 8.

WRF Application: Hurricane Sandy Main Steps: Build WRF Build WPS Geogrid Ungrib Metgrid Real.exe Run wrf.exe [coawst.exe] Visualize Output

1) Build WRF - sandy.h comments commands - Determine an application name, let's use SANDY - Therefore, the header file needs to be named: sandy.h - Create a file called sandy.h and add #define WRF_MODEL. - save the file in a folder, let's use Projects/Sandy

1) Build WRF - coawst.bash very complicated to allow flexibility, but just need to change a few key things. App name root dir to base other names on where are your project files where is the source code

1) Build WRF - coawst.bash very complicated to allow flexibility, but just need to change a few key things. where is the *.h file where *exe is placed Build dir

1) Build WRF – command prompt cd to where the coawst.bash file is located. at the command prompt type: ./coawst.bash follow the WRF prompts…. 3 – pick what is on your system ! When coupled: Always use dmpar (=distributed mem parallel). Do not use smpar (= shared mem parallel). 1 – basic nesting

1) Build WRF – coawstM = wrf.exe finished compiling WRF ls -ltr shows coawstM points to wrf.exe

2) Build WPS cd to WPS ./configure Select your compiler option https://github.com/wrf-model/WPS The Grib Edition 2 compression requires three libraries external to the WPS source code: zlib, png, and jasper. It is recommended that users request support from their system administrators when installing these packages. Users can compile the code without these libraries by selecting the "NO GRIB2" options in the build. Select your compiler option

And see geogrid.exe, ungrib.exe, and metgrid.exe 2) Build WPS ./compile When done, do an ls –ltr And see geogrid.exe, ungrib.exe, and metgrid.exe

3) Geogrid create a grid WPS/namelist.wps Set the &share and &geogrid options

3) Geogrid create a grid Get the geogrid data from this page: http://www2.mmm.ucar.edu/wrf/users/download/get_sources_wps_geog.html We chose the geog_high_res_mandatory.tar.gz. Copy this file to a directory and untar the file tar -xvf geog_high_res_mandatory.tar.gz Set the geog_data_path in the namelist.wps file to this directory.

3) Geogrid create a grid Link the Geogrid Table. > ls –ltr WPS/geogrid/*.TBL should return > geogrid/GEOGRID.TBL -> GEOGRID.TBL.ARW   3d) run geogrid >WPS ./geogrid.exe and get back a complete successful information. Geogrid Table

3) Geogrid create a grid Run geogrid >WPS ./geogrid.exe and get back a complete successful information.   ls –ltr should show geo_em.d01.nc and geo_em.d02.nc files. Use ncview or some other viewer to check it out. Also look in geogrid.log.

4) Ungrib: convert grb to wps format Get grib data for initial and boundary conditions. You can start here: http://www2.mmm.ucar.edu/wrf/users/download/free_data.html NAM Data We used NAM 12 km data

4) Ungrib: convert grb to wps format NAM Data Put the grib data in a folder cd WPS link the NAM files to common names that WPS will recognize. > ./link_grid.csh /WPS/path_the _files_are_in/2012*.tm00 Do an ls -ltr and see all the GRIBFILE.AAA etc ….linking to all the nam data files

4) Ungrib: convert grb to wps format NAM Data link a Vtable to the NAM data with: >ln –sf ungrib/Variable_Tables/Vtable.NAM Vtable Run ungrib > ./ungrib.exe >& ungrib.out & Edit the .out file and see if there were any problems. do an ls and see files: NAM:2012-10-29_00 … NAM:2012-10-30_06

4) Ungrib: convert grb to wps format SST Data Go here for SST data: ftp://polar.ncep.noaa.gov/pub/history/sst for the times that you want, and put into a folder. We used: rtg_high_res/ rtg_sst_grb_hr_0.083.201210.gz and rtg_sst_grb_hr_0.083.201211.gz cd WPS remove links to nam gribfiles using rm GRIBFILE* Then link to the sst data using ./link_grib.csh path_the _files_are_in/rtg_sst_grb_hr*

4) Ungrib: convert grb to wps format SST Data link a Vtable using ln -sf ungrib/Variable_Tables/Vtable.SST Vtable WPS/namelist.wps and change &ungrib prefix = ‘NAM’ to prefix = ‘RTG’ Run ungrib for the SST data ./ungrib.exe >& ungrib_sst.out & edit the .out file and see that all went well. do an ls and see files: RTG:2012-10-28_00 up to RTG:2012-10-31_00

5) Metgrid: interp met data to grid > ls –ltr WPS/metgrid should show METGRID.TBL -> METGRID.TBL.ARW edit WPS/namelist.wps and change the fg_name to fg_name = ‘NAM’, ‘RTG’ run metgrid in WPS/ run ./metgrid.exe As it runs you see …. processing NAM, RTG, … When done check that the met files were made. Do an ls –ltr and see the met_em.d01** files. met_em.d01.2012-10-28_12:00:00.nc … met_em.d01.2012-10-30_12:00:00.nc met_em.d02.2012-10-28_12:00:00.nc … met_em.d02.2012-10-30_12:00:00.nc

6) real.exe to create Init and BC files. cd WRF/test/em_real edit the namelist.input Grid I set to = 1x1 serial

6) real.exe to create Init and BC files. cd WRF/test/em_real edit the namelist.input

6) real.exe to create Init and BC files. cd to WRF/test/em_real and link the met files to here. > ln –sf /raid1/jcwarner/Models/WRF/WPS/met_em.d01.2003-09* .   run the real program run ./real.exe When done, check to see that it made wrfinput _d01 _d02, wrfbdy _d01, and wrflowinp _d01 _d02 netcdf files. wrflowinp_d01 wrfinput_d01

7) Run WRF wrf.exe [coawst.exe] Now we are ready to run WRF. We already compiled wrf back in step 1. coawstM points to wrf.exe This is the only time you will get a wrf.exe. All other builds I don’t let wrf.exe to be created. But you always should get a coawstM . Always point to coawstM.

7) Run WRF wrf.exe [coawst.exe] place all of your files at the root dir (upper level dir). The files are: - namelist.input - wrfbdy_d01 - wrflowinp_d01 - wrfinput_d01 - wrflowinp_d02 - wrfinput_d02

7) Run WRF wrf.exe [coawst.exe] edit namelist.input and set tiling: nproc_x = ____ nproc_y = ____

7) Run WRF wrf.exe [coawst.exe] - set your run time commands a) point to ./coawstM b) np = nproc_x*nproc_y from last slide - at command prompt we use ./run_nemo

You should get these 2 files 8) Output PSFC SST You should get these 2 files

WRF Moving nest The last example we compiled WRF application for a parent and a static nest. We now look at creating a moving nest. The moving nest will start at the same location as the static nest. This may or may not be the best choice for your application. But this is just a test case to demonstrate the procedure. Parent Child

Build WRF – command prompt cd to where the coawst.bash file is located. at the command prompt type: ./coawst.bash follow the WRF prompts…. 15 – pick what is on your system ! Always use dmpar (=distributed mem parallel). Do not use smpar (= shapred mem parallel). 3 – vortex following

Edit namelist.input change to .true, .false. change to wrflow_d01 You can ignore 3rd column because we set max dom = 2

run wrf and output Run wrf as before (point to coawstM) Output for d02 should now move !! Moving nest Static nest