Skip to content

Commit 9001b59

Browse files
committed
Update paths and instructions for newer WRF release
1 parent fa8325b commit 9001b59

File tree

1 file changed

+29
-14
lines changed

1 file changed

+29
-14
lines changed

docs/userguide/appendices.rest

+29-14
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,14 @@ project directory.
7676
3. Git clone WRF-Hydro, WRF, and WPS into project directory created in step 2
7777
4. Copy the uncompressed WPS geographic data into the WPS directory.
7878
5. Copy the uncompressed coupled example case into the project directory.
79-
6. Your project directory structure should now look like the following:
79+
6. Your project directory structure will look like the following:
8080

8181
.. code-block:: console
8282
8383
project_directory/
84+
├──run/
85+
│ ├──WPS/
86+
│ └──WRF/
8487
├──wrf_hydro_nwm_public*/
8588
│ └──src/
8689
├──WRF*/
@@ -219,8 +222,8 @@ WRF-Hydro will run).
219222

220223
.. code-block:: console
221224
222-
cp ../../WPS*/geogrid.exe .
223-
cp ../../WPS*/GEOGRID.TBL .
225+
cp ../../WPS*/install/bin/geogrid.exe .
226+
cp ../../WPS*/geogrid/GEOGRID.TBL .
224227
cp ../../example_case_coupled/namelist.wps .
225228
226229
Edit the paths within this namelist as appropriate for your system
@@ -252,7 +255,7 @@ steps.
252255

253256
.. code-block:: console
254257
255-
cp ../../WPS*/ungrib.exe .
258+
cp ../../WPS*/install/bin/ungrib.exe .
256259
cp ../../WPS*/link_grib.csh .
257260
258261
@@ -262,7 +265,7 @@ steps.
262265
263266
cp ../../WPS*/ungrib/Variable_Tables/Vtable.NAM Vtable
264267
265-
3. Make sure grib2 library is available
268+
3. If the grib-util module is not loaded, make sure grib2 library is available
266269

267270
.. code-block:: console
268271
@@ -294,7 +297,7 @@ utility.
294297

295298
.. code-block:: console
296299
297-
cp ../../WPS/metgrid.exe .
300+
cp ../../WPS/install/bin/metgrid.exe .
298301
cp ../../WPS/metgrid/METGRID.TBL .
299302
300303
2. Next run the metgrid utility
@@ -321,14 +324,18 @@ First we will create a run directory and copy over or link the required files.
321324

322325
.. code-block:: console
323326
324-
cp -RL WRF*/run WRF
327+
cd project_directory
328+
mkdir run
329+
cp -RL WRF*/run run/WRF
330+
cd run/WRF
325331
326332
327-
2. Copy over parameter tables for WRF-Hydro from the template directory
333+
2. Copy over parameter tables for WRF-Hydro
328334

329335
.. code-block:: console
330336
331337
cp ../../WRF/hydro/src/template/HYDRO/*TBL .
338+
cp ../../WRF/hydro/Land_models/NoahMP/run/*.TBL .
332339
333340
3. Copy over the namelists for real / wrf (namelist.input) and the hydro components
334341
(hydro.namelist) from the example case
@@ -337,8 +344,8 @@ First we will create a run directory and copy over or link the required files.
337344
338345
cp ../../example_case_coupled/namelist.input .
339346
cp ../../example_case_coupled/hydro.namelist .
340-
cp -r path/to/example_case_coupled/DOMAIN/ .
341-
347+
cp ../../WRF/hydro/template/NoahMP/namelist.hrldas .
348+
cp -r ../../example_case_coupled/DOMAIN/ .
342349
343350
344351
4. Link the geogrid and metgrid files we just generated from the WPS utilities
@@ -349,24 +356,32 @@ First we will create a run directory and copy over or link the required files.
349356
ln -sf ../WPS/geo_em* .
350357
351358
359+
4. Copy executable files
360+
361+
.. code-block:: console
362+
363+
cp ../../WRF/install/bin/real .
364+
cp ../../WRF/install/bin/wrf .
365+
366+
352367
**Running the real utility**
353368

354369
The WRF real utility creates the wrfinput* and wrfbdy* initial and boundary
355370
condition files to be used as input for the coupled simulation.
356371

357-
1. Execute real.exe using the proper syntax for your system (example below)
372+
1. Execute real using the proper syntax for your system (example below)
358373
and pipe the output to a log file.
359374

360375
.. code-block:: console
361376
362-
mpirun -np 2 ./real.exe >& real.log
377+
mpirun -np 2 ./real >& real.log
363378
364379
2. Next review the rsl.out.* and rsl.error.* files for possible errors and
365380
check to make sure the wrfinput* and wrfbdy* files have been created.
366381

367382
**Running the coupled model**
368383

369-
Now we will run the coupled model (all included in the wrf.exe binary) using
384+
Now we will run the coupled model (all included in the wrf binary) using
370385
the wrfinput* and wrfbdy* files as initial and boundary conditions and the
371386
model physics and other options selected in the namelist.input and
372387
hydro.namelist files.
@@ -376,7 +391,7 @@ hydro.namelist files.
376391

377392
.. code-block:: console
378393
379-
mpirun -np 2 ./wrf.exe >& wrf.log
394+
mpirun -np 2 ./wrf >& wrf.log
380395
381396
2. If your simulation ran successfully, there should now be a large number of
382397
output files. Descriptions of the output files can be found in the

0 commit comments

Comments
 (0)