Skip to content

Commit

Permalink
Fix examples.namelist info RE: trajectories (#1340)
Browse files Browse the repository at this point in the history
TYPE: text only

KEYWORDS: namelist, readme

SOURCE: internal

DESCRIPTION OF CHANGES:
The trajectory examples.namelist was no longer providing sufficient info to run trajectories.
1. One of the helpful suggestions had a misspelled namelist record. It should have  been `domains`, but it was referred 
to as `domain`.
2. There was no info on the additional options required: `dm_has_traj`.
3. There was no mention of the now mandatory additional text file `wrfinput_traj_d01` that has two namelist records.

LIST OF MODIFIED FILES:
M	test/em_real/examples.namelist

TESTS CONDUCTED:
1. This readme is not part of the build process, or part of compilable code. It will
have no impact of results. Users likely also just skip past the incorrect namelist record
identifier and grab the intended variable (num_traj). All in all, pretty small potatoes.
2. The jenksins tests pass, but no surprise - since we did not change anything that is part of the build.
  • Loading branch information
davegill authored Jan 7, 2021
1 parent ce5b0cb commit 432f33d
Showing 1 changed file with 38 additions and 3 deletions.
41 changes: 38 additions & 3 deletions test/em_real/examples.namelist
Original file line number Diff line number Diff line change
Expand Up @@ -492,13 +492,48 @@ Price, J. F., T. B. Sanford, and G. Z. Forristal, 1994: Forced stage response to



** Using U. Miami Forward Lagrangian trajectory calculation
(add it in namelist record &physics):
&domain
** Using the ACOM Forward Lagrangian trajectory calculation:

&domains
num_traj = 25,

&physics
traj_opt = 1,
dm_has_traj = .true., ..true., .true.


For domain #1, the file must "wrfinput_traj_d01" exist in the working directory. Similarly for domain 2, 3, etc. Each domain
has a separate file for a namelist.

&traj_default
traj_def%start_time = '2000-01-24_12:00:00',
traj_def%stop_time = '2000-01-25_12:00:00',
traj_def%dyn_name(1:6) = 'p', 'T', 'z', 'u', 'v', 'w',
traj_def%hyd_name(1) = 'QVAPOR',
/

&traj_spec
traj_type%start_time = '2000-01-24_12:00:00', '2000-01-24_12:00:00',
'2000-01-24_12:00:00', '2000-01-24_12:00:00',
'2000-01-24_12:00:00', '2000-01-24_12:00:00',
'2000-01-24_12:00:00', '2000-01-24_12:00:00',
'2000-01-24_12:00:00', '2000-01-24_12:00:00',
'2000-01-24_12:00:00',
traj_type%stop_time = '2000-01-25_12:00:00', '2000-01-25_12:00:00',
'2000-01-25_12:00:00', '2000-01-25_12:00:00',
'2000-01-25_12:00:00', '2000-01-25_12:00:00',
'2000-01-25_12:00:00', '2000-01-25_12:00:00',
'2000-01-25_12:00:00', '2000-01-25_12:00:00',
'2000-01-25_12:00:00',
traj_type%lev = 60., 60., 60., 60., 60., 60., 60., 60., 60., 60., 60.,
traj_type%lon = -79.88470, -79.74551, -79.60422, -79.46072,
-79.31503, -79.16708, -79.01682, -78.86417,
-78.70911, -78.55151, -78.39142,
traj_type%lat = 29.18063, 29.70515, 30.23069, 30.75718,
31.28461, 31.81292, 32.34208, 32.87204,
33.40276, 33.93421, 34.46631,
/



** Vertical nesting
Expand Down

0 comments on commit 432f33d

Please sign in to comment.