Changes between Version 97 and Version 98 of WRF4GTutorial2


Ignore:
Timestamp:
Sep 2, 2014 5:54:57 PM (7 years ago)
Author:
maru
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WRF4GTutorial2

    v97 v98  
    236236== How to add a new WRF geographical domain ==
    237237
    238 As stated before, a step of the WRF Preprocessor System (WPS), called geogrid, is not included in the WRF4G workflow. Thus, the user must deal with it by hand, or using another tool, such as [http://www.wrfportal.org/ WRF portal]. Geogrid does the task of extracting the fixed fields (orography, land use data, etc.) that WRF needs to run at a given resolution and region. In the WRF4G framework, the output of geogrid is known as the "domain" of an experiment. Inside the original WRF4G tarball there are two example domains, Santander_50km and wrfuc, located in `$HOME/WRF4G/repository/domains`. Here we are going to see how a new one can be added. It's important to note that there exists an [http://www.mmm.ucar.edu/wrf/OnLineTutorial/index.htm excellent on-line tutorial] for running WPS and WRF by hand. Users of WRF4G are encouraged to work through this tutorial before start running with WRF4G itself. This framework is intended to make life much easier for WRF users, but knowledge about WRF itself is needed to deal with common errors and issues, and to carry on a correct interpretation of the results.
    239 
    240 First of all, WPS binaries are needed. If you don't have them in your system, you will need to build them from source. Instructions for doing this are available too in the [http://www.mmm.ucar.edu/wrf/OnLineTutorial/Compile/index.html WRF-ARW online tutorial]. Once you have the binaries, you will need to prepare a namelist.wps file defining your requirements for the domain (size, location, resolution, etc.) Also, the GEOGRID.TBL file is needed to be present into a folder called geogrid, in the same place where geogrid is going to be executed. The final structure is the following:
     238As stated before, a step of the WRF Preprocessor System (WPS), called geogrid, is not included in the WRF4G workflow. Thus, the user must deal with it by hand, or using another tool, such as [http://www.wrfportal.org/ WRF portal]. Geogrid does the task of extracting the fixed fields (orography, land use data, etc.) that WRF needs to run at a given resolution and region. In the WRF4G framework, the output of geogrid is known as the "domain" of an experiment. Inside the original WRF4G tarball there are two example domains, Santander_50km and wrfuc, located in `$HOME/WRF4G/repository/domains`. Here, we are going to see how a new one can be added. It's important to note that there exists an [http://www.mmm.ucar.edu/wrf/OnLineTutorial/index.htm excellent on-line tutorial] for running WPS and WRF by hand. Users of WRF4G are encouraged to work through this tutorial before start running with WRF4G itself. This framework is intended to make life much easier for WRF users, but knowledge about WRF itself is needed to deal with common errors and issues, and to carry on a correct interpretation of the results.
     239
     240First of all, WPS binaries are needed. If you don't have them in your system, you will need to build them from source. Instructions for doing this are available too in the [http://www.mmm.ucar.edu/wrf/OnLineTutorial/Compile/index.html WRF-ARW online tutorial]. Once you have the binaries, you will need to prepare a namelist.wps file defining your requirements for the domain (size, location, resolution, etc.)
     241Here we are going to explain the variables that usually need modification and we will show an example for 2-nesting domain.
     242
     243* parent_id --> List of integers specifying the domain number of the nest’s parent (One per domain).   
     244||   parent_id=1,1
     245* parent_grid_ratio  --> It is a list of integers specifying for each domain the nesting ratio relative to the domain's parent.   
     246||   parent_grid_ratio=1,3
     247* i_parent_start, j_parent_start --> Coordinates of the lower left corner of the nest in the domain's parent.   
     248||   i_parent_start=1,16, j_parent_start=1,34
     249* e_we -->  It represents the nest’s full west-east dimension. For nested domains, e_we must be one greater than an integer multiple of the nest's parent_grid_ratio   
     250||   e_we=60,82
     251* e_sn --> It represents the nest’s full south-north dimension. For nested domains, e_sn must be one greater than an integer multiple of the nest's parent_grid_ratio. 
     252||   e_sn=81,112
     253* dx --> Number specifying the grid distance in the x-direction where the map scale factor is 1. It should be in meters for the 'polar', 'lambert', and 'mercator' projection, and in degrees longitude for the 'lat-lon' projection. 
     254||   dx=0.15
     255* dy --> Number specifying the grid distance in the y-direction where the map scale factor is 1. As stated for dx, this value should be in meters for the 'polar', 'lambert', and 'mercator' projection, but for the 'lat-lon' projection, it should be in degrees latitude.   
     256||   dy=0.15
     257* map_proj --> Name of the projections available 'lambert', 'polar', 'mercator', and 'lat-lon'   
     258||   map_proj='lat-lon'
     259* ref_x, ref_y --> Location of the latitude and longitude of reference for the domain   
     260||   ref_x=1, ref_y=1
     261* ref_lat, ref_lon --> Reference coordinates of the domain.   
     262||   ref_lat=-8.85, ref_lon=24.1
     263* pole_lat
     264* pole_lon
     265* stand_lon
     266* geog_data_path --> Path to the directory where the geographical data directories may be found.   
     267||   geog_data_path='$HOME/WRF/wps_topo/geog'
     268
     269
     270
     271
     272Also, the GEOGRID.TBL file is needed to be present into a folder called geogrid, in the same place where geogrid is going to be executed. The final structure is the following:
    241273
    242274{{{
     
    250282
    251283
    252 Provided the namelist and the GEOGRID.TBL, the next step in to execute geogrid.exe. This will generate a netCDF file called geo_em_d01.nc, which contains all the fixed fields that WRF needs to run with that domain.
     284Provided the namelist and the GEOGRID.TBL, the next step is to execute geogrid.exe. This will generate a netCDF file called geo_em_d01.nc, which contains all the fixed fields that WRF needs to run with that domain.
    253285
    254286{{{