Skip to content

Commit

Permalink
Remove UM trajectory initialization from real (#1353)
Browse files Browse the repository at this point in the history
TYPE: feature removed

KEYWORDS: UM trajectory, NCAR ACOM trajectory

SOURCE: Internal

DESCRIPTION OF CHANGES:
The UM trajectory option has been replaced by NCAR ACOM trajectory option. Therefore, the initialization for UM
trajectory (in the real program) is no longer needed.

LIST OF MODIFIED FILES:
M dyn_em/module_initialize_real.F

TESTS CONDUCTED:
(1) A single test case has been conducted to demonstrate that the UM trajectory no longer works. NCAR ACOM trajectory option gives expected results.
(2) Jenkins test is done successfully.

RELEASE NOTE: Not necessary
  • Loading branch information
smileMchen authored Feb 9, 2021
1 parent 9f9bc61 commit 46a037a
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions dyn_em/module_initialize_real.F
Original file line number Diff line number Diff line change
Expand Up @@ -4252,44 +4252,6 @@ SUBROUTINE init_domain_rk ( grid &
END DO
END IF
! Template for initializing trajectories. The i, j, and k starting locations
! are specified. Right now, a small plane in the middle of the domain is
! selected.
grid%traj_i = -9999
grid%traj_j = -9999
grid%traj_k = -9999
grid%traj_lat = -9999
grid%traj_long = -9999
IF (config_flags%num_traj .gt. 0 .and. config_flags%traj_opt .gt. 0) THEN
icount = 1
DO j = (jde + jds)/2 - 2, (jde + jds)/2 + 2, 1
DO i = (ide + ids)/2 - 2, (ide + ids)/2 + 2, 1
IF ( its .LE. i .and. ite .GE. i .and. jts .LE. j .and. jte .GE. j ) THEN
grid%traj_i (icount) = i
grid%traj_j (icount) = j
grid%traj_k (icount) = 10
grid%traj_lat (icount) = grid%xlat(i,j)
grid%traj_long(icount) = grid%xlong(i,j)
END IF
#ifdef DM_PARALLEL
grid%traj_i (icount) = wrf_dm_max_real ( grid%traj_i (icount) )
grid%traj_j (icount) = wrf_dm_max_real ( grid%traj_j (icount) )
grid%traj_k (icount) = wrf_dm_max_real ( grid%traj_k (icount) )
grid%traj_lat (icount) = wrf_dm_max_real ( grid%traj_lat (icount) )
grid%traj_long(icount) = wrf_dm_max_real ( grid%traj_long(icount) )
#endif
icount = icount + 1
IF (icount .GT. config_flags%num_traj) THEN
EXIT
END IF
END DO
END DO
END IF
! Simple initialization for 3d ocean.
IF ( config_flags%sf_ocean_physics .EQ. PWP3DSCHEME ) THEN
Expand Down

0 comments on commit 46a037a

Please sign in to comment.