Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Modifying the METGRID.TBL when Intermediate files with each variable provided separately.

yaswanth

New member
I have intermediate files for each variable required to run the WRF model. However, I am encountering an error due to a bottom-to-top level approach issue while running real.exe. The issue is happening due to incorrect outputs from metgrid.exe. I feel a modification is necessary in METGRID.TBL

For example, METGRID.TBL contains
name=TT

mandatory=yes # MUST HAVE THIS FIELD

interp_option=sixteen_pt+four_pt+average_4pt

fill_missing=0.

fill_lev=200100:const(-1.E30)

========================================
How to modify metgrid.TBL if external temperature T2 is provided as a separate intermediate file. I think fill_lev=200100:const(-1.E30) should be modified here? How to avoid the final error when I run real.exe? should I also modify
========================================
name=PRES
z_dim_name=num_metgrid_levels
derived=yes
mandatory=yes # MUST HAVE THIS FIELD
fill_lev=allRESSURE
fill_lev=200100SFC(200100)
fill_lev=all:vertical_index; level_template=TT
========================================
 
Hi,
If I understand correctly, you have two different types of intermediate files (I assume they have two different prefixes), and you need to know how to run metgrid.exe so that it processes all the variables for the same time periods - so that you have a single met_em* file per time, per domain?

If that's correct, then in the &metgrid record in namelist.wps, you can simply set something like:

Code:
&metgrid
 fg_name = 'PREFIX1', 'PREFIX2'

Then for each time period, metgrid will process all variables from both the PREFIX1 and PREFIX2 files.
 
Top