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 11782 for NEMO/branches/2019/dev_r11756_text_output/src/OCE/ZDF/zdfric.F90 – NEMO

Ignore:
Timestamp:
2019-10-24T10:30:30+02:00 (5 years ago)
Author:
andmirek
Message:

Ticket #2320 print levels in ICE/OCE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11756_text_output/src/OCE/ZDF/zdfric.F90

    r11536 r11782  
    8585      READ  ( numnam_cfg, namzdf_ric, IOSTAT = ios, ERR = 902 ) 
    8686902   IF( ios >  0 ) CALL ctl_nam ( ios , 'namzdf_ric in configuration namelist' ) 
    87       IF(lwm) WRITE ( numond, namzdf_ric ) 
     87      IF(lwm .AND. nprint > 2) WRITE ( numond, namzdf_ric ) 
    8888      ! 
    8989      IF(lwp) THEN                   ! Control print 
     
    234234      ELSEIF( TRIM(cdrw) == 'WRITE' ) THEN   ! Create restart file 
    235235         !                                   ! ------------------- 
    236          IF(lwp) WRITE(numout,*) '---- ric-rst ----' 
     236         IF(lwp .AND. nprint > 0) WRITE(numout,*) '---- ric-rst ----' 
    237237         IF( lwxios ) CALL iom_swap(      cwxios_context          ) 
    238238         CALL iom_rstput( kt, nitrst, numrow, 'avt_k', avt_k, ldxios = lwxios ) 
Note: See TracChangeset for help on using the changeset viewer.