New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 10770 for branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC/SBC/sbcrnf.F90 – NEMO

Ignore:
Timestamp:
2019-03-15T17:03:41+01:00 (5 years ago)
Author:
andmirek
Message:

GMED 450 changes for writing to numout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC/SBC/sbcrnf.F90

    r10759 r10770  
    148148         IF( ln_rstart .AND.    &                               !* Restart: read in restart file 
    149149            & iom_varid( numror, 'rnf_b', ldstop = .FALSE. ) > 0 ) THEN 
    150             IF(lwp) WRITE(numout,*) '          nit000-1 runoff forcing fields red in the restart file' 
     150            IF(lwp .AND. nprint > 0) WRITE(numout,*) '          nit000-1 runoff forcing fields red in the restart file' 
    151151            IF(nn_timing == 2)  CALL timing_start('iom_rstget') 
    152152            CALL iom_get( numror, jpdom_autoglo, 'rnf_b', rnf_b )     ! before runoff 
     
    163163      IF( lrst_oce ) THEN                              !      Write in the ocean restart file     ! 
    164164         !                                             ! ---------------------------------------- ! 
    165          IF(lwp) WRITE(numout,*) 
    166          IF(lwp) WRITE(numout,*) 'sbcrnf : runoff forcing fields written in ocean restart file ',   & 
     165         IF(lwp .AND. nprint > 0) THEN 
     166            WRITE(numout,*) 
     167            WRITE(numout,*) 'sbcrnf : runoff forcing fields written in ocean restart file ',   & 
    167168            &                    'at it= ', kt,' date= ', ndastp 
    168          IF(lwp) WRITE(numout,*) '~~~~' 
     169            WRITE(numout,*) '~~~~' 
     170         ENDIF 
    169171         IF(nn_timing == 2)  CALL timing_start('iom_rstput') 
    170172         CALL iom_rstput( kt, nitrst, numrow, 'rnf_b' , rnf ) 
Note: See TracChangeset for help on using the changeset viewer.