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/TRA/trasbc.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/TRA/trasbc.F90

    r9321 r10770  
    209209      !                                          ******************************* 
    210210      IF( lrst_oce ) THEN 
    211          IF(lwp) WRITE(numout,*) 
    212          IF(lwp) WRITE(numout,*) 'sbc : ocean surface tracer content forcing fields written in ocean restart file ',   & 
     211         IF(lwp .AND. nprint > 0) THEN 
     212            WRITE(numout,*) 
     213            WRITE(numout,*) 'sbc : ocean surface tracer content forcing fields written in ocean restart file ',   & 
    213214            &                    'at it= ', kt,' date= ', ndastp 
    214          IF(lwp) WRITE(numout,*) '~~~~' 
     215            WRITE(numout,*) '~~~~' 
     216         ENDIF 
    215217         IF(nn_timing == 2)  CALL timing_start('iom_rstput') 
    216218         CALL iom_rstput( kt, nitrst, numrow, 'sbc_hc_b', sbc_tsc(:,:,jp_tem) ) 
     
    255257         END DO 
    256258         IF( lrst_oce ) THEN 
    257             IF(lwp) WRITE(numout,*) 
    258             IF(lwp) WRITE(numout,*) 'sbc : isf surface tracer content forcing fields written in ocean restart file ',   & 
     259            IF(lwp .AND. nprint > 0) THEN 
     260                WRITE(numout,*) 
     261                WRITE(numout,*) 'sbc : isf surface tracer content forcing fields written in ocean restart file ',   & 
    259262               &                    'at it= ', kt,' date= ', ndastp 
    260             IF(lwp) WRITE(numout,*) '~~~~' 
     263                WRITE(numout,*) '~~~~' 
     264            ENDIF 
    261265            IF(nn_timing == 2)  CALL timing_start('iom_rstput') 
    262266            CALL iom_rstput( kt, nitrst, numrow, 'fwf_isf_b', fwfisf(:,:)          ) 
Note: See TracChangeset for help on using the changeset viewer.