1 | WRF Pre-Processing System Version 2.2 (December 2006) |
---|
2 | http://www.mmm.ucar.edu/wrf/users/ |
---|
3 | |
---|
4 | The WRF Pre-Processing System (WPS) is a collection |
---|
5 | of Fortran and C programs that provides data which are |
---|
6 | input to the real.exe program. There are three main |
---|
7 | programs and a number of auxillary programs that |
---|
8 | are part of WPS. Both the ARW and NMM dynamical cores |
---|
9 | in WRF are supported by WPS. |
---|
10 | |
---|
11 | For questions and help to run the program, please see the |
---|
12 | User's Guide at http://www.mmm.ucar.edu/wrf/users/docs/user_guide/contents.html |
---|
13 | and send email to wrfhelp@ucar.edu. |
---|
14 | |
---|
15 | =================================================== |
---|
16 | |
---|
17 | Main programs: geogrid.exe, ungrib.exe, metgrid.exe |
---|
18 | |
---|
19 | Input to the main programs is through the namelist |
---|
20 | file "namelist.wps". Each main program has an |
---|
21 | exclusive namelist record (named "geogrid", "ungrib", |
---|
22 | or "metgrid", respectively), and the three programs |
---|
23 | have a group record (named "share") that each program |
---|
24 | reads. |
---|
25 | |
---|
26 | geogrid |
---|
27 | ------- |
---|
28 | 1) Defines the model horizontal domain |
---|
29 | 2) Horizontally interpolates static data to the model |
---|
30 | domain |
---|
31 | 3) Output conforms to the WRF IO API |
---|
32 | |
---|
33 | ungrib |
---|
34 | ------ |
---|
35 | 1) Decodes Grib Edition 1 and 2 data |
---|
36 | 2) Uses tables to decide which variables to extract |
---|
37 | 3) Isobaric and generalized vertical coordinates |
---|
38 | 4) Output is in non WRF-API form, referred to as an |
---|
39 | intermediate format |
---|
40 | |
---|
41 | metgrid |
---|
42 | ------- |
---|
43 | 1) Ingest static data and raw met fields |
---|
44 | 2) Horizontally interpolate met fields to the model |
---|
45 | domain |
---|
46 | 3) Output conforms to WRF IO API |
---|
47 | |
---|
48 | |
---|
49 | |
---|
50 | |
---|
51 | Parallelism |
---|
52 | |
---|
53 | The geogrid and metgrid programs may be run as |
---|
54 | distributed memory parallel jobs to reduce the |
---|
55 | time-to-solution. These two programs use MPI calls |
---|
56 | directly, compared to WRF which has an abstraction |
---|
57 | layer (RSL or RSL_LITE). |
---|
58 | |
---|
59 | |
---|
60 | |
---|
61 | |
---|
62 | Grib Edition 2 |
---|
63 | |
---|
64 | The Grib Edition 2 compression requires three libraries |
---|
65 | external to the WPS source code: zlib, png, and jasper. |
---|
66 | It is recommended that users request support from their |
---|
67 | system administrators when installing these packages. |
---|
68 | Users can compile the code without these libraries by |
---|
69 | selecting the "no GRIB2" options in the build. |
---|
70 | |
---|
71 | |
---|
72 | |
---|
73 | |
---|
74 | Building WPS |
---|
75 | |
---|
76 | Similar to the WRF package, WPS uses a two-step: |
---|
77 | ./configure |
---|
78 | ./compile |
---|
79 | build mechanism, which directs the unix make underneath. |
---|
80 | If the user is on a recognized architecture, the |
---|
81 | configure script will display a list of available |
---|
82 | compile options (usually serial vs parallel, Grib 2 |
---|
83 | enabled vs a "no Grib 2" option). For some OS options, |
---|
84 | there are multiple compilers that are supported. |
---|
85 | |
---|
86 | The configure option lists both "build Grib2" and |
---|
87 | "do not build Grib2" options. It is suggested that |
---|
88 | the first builds be without the Grib Edition 2 |
---|
89 | capability. |
---|
90 | |
---|
91 | There are a number of utility programs that will be |
---|
92 | built in WPS/util/ directory: |
---|
93 | |
---|
94 | avg_tsfc.exe |
---|
95 | ------------ |
---|
96 | purpose: computes a daily mean of the surface air |
---|
97 | temperature, reads the namelist.wps file |
---|
98 | |
---|
99 | usage: |
---|
100 | ./avg_tsfc.exe |
---|
101 | |
---|
102 | |
---|
103 | g1print.exe |
---|
104 | ----------- |
---|
105 | purpose: read a Grib Edition 1 file, output |
---|
106 | information to build a Vtable |
---|
107 | |
---|
108 | usage: |
---|
109 | ./g1print.exe GRIB1_file |
---|
110 | |
---|
111 | |
---|
112 | g2print.exe |
---|
113 | ----------- |
---|
114 | purpose: read a Grib Edition 2 file, output |
---|
115 | information to build a Vtable |
---|
116 | |
---|
117 | usage: |
---|
118 | ./g2print.exe GRIB2_file |
---|
119 | |
---|
120 | |
---|
121 | mod_levs.exe |
---|
122 | ------------ |
---|
123 | purpose: reduce levels in a intermediate file |
---|
124 | so that different Grib sources may be used |
---|
125 | for the initial and lateral boundary time periods |
---|
126 | |
---|
127 | usage: |
---|
128 | ./mod_levs.exe OLD_intermetdiate:date_string \ |
---|
129 | NEW_intermetdiate:date_string |
---|
130 | Processes a single file at a time, uses the |
---|
131 | pressure levels defined in the namelist.wps file. |
---|
132 | |
---|
133 | plotfmt.exe |
---|
134 | ----------- |
---|
135 | purpose: generate NCAR Graphics metacode 2d |
---|
136 | horizontal plots of each field and level in the |
---|
137 | intermediate file |
---|
138 | |
---|
139 | usage: |
---|
140 | ./plotfmt.exe intermediate_file:date_string |
---|
141 | |
---|
142 | |
---|
143 | plotgrids.exe |
---|
144 | ------------- |
---|
145 | purpose: generate an NCEAR Graphics metacode |
---|
146 | plot of the domain locations, one frame with |
---|
147 | all of the domain locations plotted, reads the |
---|
148 | namelist.wps file to get the domain information |
---|
149 | |
---|
150 | usage: |
---|
151 | ./plotgrids.exe |
---|
152 | |
---|
153 | |
---|
154 | rd_intermediate.exe |
---|
155 | ------------------- |
---|
156 | purpose: read an intermediate file and print |
---|
157 | the information to the screen |
---|
158 | |
---|
159 | usage: |
---|
160 | ./rd_intermediate.exe intermediate_file:date_string |
---|
161 | |
---|
162 | |
---|
163 | |
---|
164 | |
---|
165 | Static Input Data |
---|
166 | |
---|
167 | The static input data is provided in two tar files: one |
---|
168 | contains full resolution data (30", 2', 5' and 10') and the other |
---|
169 | contains only 10' low resolution data. The data may be downloaded |
---|
170 | from http://www.mmm.ucar.edu/wrf/users/download/get_source.html. |
---|
171 | |
---|
172 | |
---|
173 | |
---|
174 | |
---|
175 | Meteorological Input Data |
---|
176 | |
---|
177 | The meteorological input data for WPS is the Grib |
---|
178 | Edition 1 GFS data from NCEP. A test |
---|
179 | data set (Jan 2000, 24/12Z to 25/12Z) is available from |
---|
180 | http://www.mmm.ucar.edu/wrf/users/download/get_source.html. |
---|
181 | |
---|
182 | |
---|
183 | |
---|
184 | Sample WPS output data for WRF |
---|
185 | |
---|
186 | Samples of the output data from WPS for use in WRF for the |
---|
187 | Jan 2000 and June 2001 cases are provided from |
---|
188 | http://www.mmm.ucar.edu/wrf/users/download/get_source.html. |
---|