Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IFS-3012 Wave assim in MUPTRA #16

Merged
merged 1 commit into from
May 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/ecwam/chkoops.F90
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,17 @@ SUBROUTINE CHKOOPS(LDUPDATEOOPS)
IF(PRESENT(LDUPDATEOOPS)) LUPDATEOOPS = LDUPDATEOOPS

IF (LUPDATEOOPS .AND. TRIM(IFSCONTEXT) == 'OOPS') THEN
! OOPS-IFS may do wave assimilation only in the outer loop MUPTRA - 1
! OOPS-IFS may do wave assimilation only:
! - in the outer loop MUPTRA - 1
! - in the final traj MUPTRA
IF (LFRST_OOPS) THEN
LFRST_OOPS = .FALSE.
IASSI_ORIG = IASSI
LWAMANOUT_ORIG = LWAMANOUT
ENDIF

IF( NTRAJ /= IFSNUPTRA ) THEN
IF (IFSNUPTRA /= IFSMUPTRA - 1) THEN
IF (IFSNUPTRA < IFSMUPTRA - 1) THEN
IASSI = 0
LWAMANOUT = .FALSE.
ELSE
Expand Down
Loading