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 1317 for trunk/NEMO/TOP_SRC/trcdia.F90 – NEMO

Ignore:
Timestamp:
2009-02-17T17:31:42+01:00 (15 years ago)
Author:
smasson
Message:

nwrite = modulo referenced to nit000 in all ouputs, see ticket:339

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/trcdia.F90

    r1316 r1317  
    201201      ! --------------------------------------- 
    202202 
    203       IF( lwp .AND. MOD( kt, nwritetrc ) == 0 ) THEN 
     203      IF( lwp .AND. MOD( it, nwritetrc ) == 0 ) THEN 
    204204         WRITE(numout,*) 'trcdit_wr : write NetCDF passive tracer concentrations at ', kt, 'time-step' 
    205205         WRITE(numout,*) '~~~~~~~~~ ' 
     
    214214 
    215215      ! synchronise file 
    216       IF( MOD( kt, nwritetrc ) == 0 .OR. kindic < 0 )   CALL histsync( nit5 ) 
     216      IF( MOD( it, nwritetrc ) == 0 .OR. kindic < 0 )   CALL histsync( nit5 ) 
    217217 
    218218 
     
    415415      ! trends for tracer concentrations 
    416416 
    417       IF( lwp .AND. MOD( kt, nwritetrd ) == 0 ) THEN 
     417      IF( lwp .AND. MOD( it, nwritetrd ) == 0 ) THEN 
    418418         WRITE(numout,*) 'trcdid_wr : write NetCDF dynamical trends at ', kt, 'time-step' 
    419419         WRITE(numout,*) '~~~~~~ ' 
     
    446446 
    447447      ! synchronise FILE 
    448       IF( MOD( kt, nwritetrd ) == 0 .OR. kindic < 0 ) THEN 
     448      IF( MOD( it, nwritetrd ) == 0 .OR. kindic < 0 ) THEN 
    449449         DO jn = 1, jptra 
    450450            IF (luttrd(jn))   CALL histsync( nit6(jn) ) 
     
    588588      ! --------------------- 
    589589 
    590       IF( lwp .AND. MOD( kt, nwritedia ) == 0 ) THEN 
     590      IF( lwp .AND. MOD( it, nwritedia ) == 0 ) THEN 
    591591         WRITE(numout,*) 'trcdii_wr : write NetCDF additional arrays at ', kt, 'time-step' 
    592592         WRITE(numout,*) '~~~~~~ ' 
     
    606606 
    607607      ! synchronise FILE 
    608       IF( MOD( kt, nwritedia ) == 0 .OR. kindic < 0 )   CALL histsync( nitd ) 
     608      IF( MOD( it, nwritedia ) == 0 .OR. kindic < 0 )   CALL histsync( nitd ) 
    609609 
    610610      ! Closing all files 
     
    724724 
    725725      ! biological trends 
    726       IF( lwp .AND. MOD( kt, nwritebio ) == 0 ) THEN 
     726      IF( lwp .AND. MOD( it, nwritebio ) == 0 ) THEN 
    727727         WRITE(numout,*) 'trcdit_wr : write NetCDF biological trends at ', kt, 'time-step' 
    728728         WRITE(numout,*) '~~~~~~ ' 
     
    735735 
    736736      ! synchronise FILE 
    737       IF( MOD( kt, nwritebio ) == 0 .OR. kindic < 0 )   CALL histsync( nitb ) 
     737      IF( MOD( it, nwritebio ) == 0 .OR. kindic < 0 )   CALL histsync( nitb ) 
    738738 
    739739      ! Closing all files 
Note: See TracChangeset for help on using the changeset viewer.