Skip to content

Commit

Permalink
HACK: run 49R2 IFS experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Nov 12, 2024
1 parent d9a1766 commit e5d100c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ecwam/outstep0.F90
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ SUBROUTINE OUTSTEP0 (WVENVI, WVPRPT, FF_NOW, INTFLDS, &

IF (LFDB .AND. LLFLUSH) THEN
CALL GSTATS(1976,0)
CALL WAM_MULTIO_FLUSH()
! CALL WAM_MULTIO_FLUSH()
CALL GSTATS(1976,1)
LLFLUSH=.FALSE.
ENDIF
Expand Down
2 changes: 1 addition & 1 deletion src/ecwam/wamodel.F90
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ SUBROUTINE WAMODEL (NADV, LDSTOP, LDWRRE, BLK2GLO, &

IF ( LFDB .AND. LLFLUSH .AND. (IASSI /= 1 .OR. CDTPRO > CDATEF) ) THEN
CALL GSTATS(1976,0)
CALL WAM_MULTIO_FLUSH()
! CALL WAM_MULTIO_FLUSH()
CALL GSTATS(1976,1)
WRITE(IU06,*) ' '
WRITE(IU06,*) ' FDB FLUSHED AT ', CDTPRO, ' FROM WAMODEL. '
Expand Down
4 changes: 2 additions & 2 deletions src/ecwam/wgrib2fdb.F90
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ SUBROUTINE WGRIB2FDB (KUSO, KTEST, &
!! CALL IGRIB_GET_MESSAGE_SIZE(IGRIB_HANDLE,KBYTES)
!! CALL IGRIB_WRITE_BYTES(IFILE_HANDLE,KGRIB,KBYTES)

CALL WAM_MULTIO_WRITE( KGRIB, KLEN, ISTAT )
! CALL WAM_MULTIO_WRITE( KGRIB, KLEN, ISTAT )
IF ( ISTAT .NE. 0 ) THEN
WRITE(KUSO, '( "Error\ /WGRIB2FDB/ Failed to write to fdb")' )
CALL WAM_MULTIO_FLUSH()
! CALL WAM_MULTIO_FLUSH()
KERR = 1
RETURN
ENDIF
Expand Down

0 comments on commit e5d100c

Please sign in to comment.