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 12555 for branches/UKMO/dev_r5518_GO6_starthour_obsoper/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90 – NEMO

Ignore:
Timestamp:
2020-03-13T17:33:02+01:00 (4 years ago)
Author:
charris
Message:

Changes from GO6 package branch (GMED ticket 450):

svn merge -r 11035:11101 svn+ssh://charris@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/UKMO/dev_r5518_GO6_package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_starthour_obsoper/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90

    r10113 r12555  
    144144           &                   nyear, '/', nmonth, '/', nday, '  nsec_day:', nsec_day, '  nsec_week:', nsec_week, '  & 
    145145           &                   nsec_month:', nsec_month , '  nsec_year:' , nsec_year 
     146      IF(lwp .AND. lflush) CALL flush(numout) 
    146147 
    147148      ! Up to now, calendar parameters are related to the end of previous run (nit000-1) 
     
    267268         CALL ymds2ju( nyear, 01, 01, 0.0, fjulstartyear ) 
    268269         ! 
    269          IF(lwp) WRITE(numout,'(a,i8,a,i4.4,a,i2.2,a,i2.2,a,i3.3)') '======>> time-step =', kt,   & 
     270         IF(lwp .AND. nprint > 0) THEN 
     271             WRITE(numout,'(a,i8,a,i4.4,a,i2.2,a,i2.2,a,i3.3)') '======>> time-step =', kt,   & 
    270272              &   '      New day, DATE Y/M/D = ', nyear, '/', nmonth, '/', nday, '      nday_year = ', nday_year 
    271          IF(lwp) WRITE(numout,'(a,i8,a,i7,a,i5)') '         nsec_year = ', nsec_year,   & 
     273             WRITE(numout,'(a,i8,a,i7,a,i5)') '         nsec_year = ', nsec_year,   & 
    272274              &   '   nsec_month = ', nsec_month, '   nsec_day = ', nsec_day, '   nsec_week = ', nsec_week 
     275             IF(lflush) CALL flush(numout) 
     276         ENDIF 
    273277      ENDIF 
    274278 
     
    336340               CASE ( 2 )   ;   WRITE(numout,*) ' nrstdt = 2 : calendar parameters read in restart' 
    337341               END SELECT 
    338                WRITE(numout,*) 
     342               WRITE(numout,*) ' ' 
     343               IF(lflush) CALL flush(numout) 
    339344            ENDIF 
    340345            ! Control of date 
     
    399404            WRITE(numout,*) '   nn_time0                                         : ',nn_time0 
    400405            WRITE(numout,*) 
     406            IF(lflush) CALL flush(numout) 
    401407         ENDIF 
    402408         ! 
    403409      ELSEIF( TRIM(cdrw) == 'WRITE' ) THEN 
    404410         ! 
    405          IF( kt == nitrst ) THEN 
    406             IF(lwp) WRITE(numout,*) 
    407             IF(lwp) WRITE(numout,*) 'rst_write : write oce restart file  kt =', kt 
    408             IF(lwp) WRITE(numout,*) '~~~~~~~' 
     411         IF( kt == nitrst .AND. lwp .AND. nprint > 0) THEN 
     412            WRITE(numout,*) 
     413            WRITE(numout,*) 'rst_write : write oce restart file  kt =', kt 
     414            WRITE(numout,*) '~~~~~~~' 
     415            IF(lflush) CALL flush(numout) 
    409416         ENDIF 
    410417         ! calendar control 
Note: See TracChangeset for help on using the changeset viewer.