Skip to content

Commit 51c2b7b

Browse files
committed
Print warning as warning not error
1 parent efc7ba3 commit 51c2b7b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

pkg/rbcs/rbcs_readparms.F

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,14 @@ SUBROUTINE RBCS_READPARMS( myThid )
203203
IF (startTime.LT.rbcsForcingOffset+0.5*rbcsForcingPeriod .AND.
204204
& .NOT. rbcsSingleTimeFiles) THEN
205205
IF (rbcsForcingCycle.GT.0) THEN
206-
WRITE(msgBuf,'(2A)')' RBCS_READPARAMS: ',
206+
WRITE(msgBuf,'(2A)')' ** WARNING ** RBCS_READPARAMS: ',
207207
& 'startTime before rbcsForcingOffset+0.5*rbcsForcingPeriod '
208-
CALL PRINT_ERROR( msgBuf, myThid )
209-
WRITE(msgBuf,'(2A)')' RBCS_READPARAMS: ',
208+
CALL PRINT_MESSAGE( msgBuf, errorMessageUnit,
209+
& SQUEEZE_RIGHT, myThid )
210+
WRITE(msgBuf,'(2A)')' ** WARNING ** RBCS_READPARAMS: ',
210211
& 'will use last record'
211-
CALL PRINT_ERROR( msgBuf, myThid )
212+
CALL PRINT_MESSAGE( msgBuf, errorMessageUnit,
213+
& SQUEEZE_RIGHT, myThid )
212214
ELSE
213215
WRITE(msgBuf,'(2A)')' RBCS_READPARAMS: ',
214216
& 'startTime before rbcsForcingOffset+0.5*rbcsForcingPeriod '

0 commit comments

Comments
 (0)