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/OPA_SRC/DIA/diagap.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/OPA_SRC/DIA/diagap.F90

    r1312 r1317  
    198198      ! ---------------------- 
    199199 
    200       IF( MOD( kt, ngap ) == 0 ) THEN 
     200      it = kt - nit000 + 1       ! define time axis 
     201      IF( MOD( it, ngap ) == 0 ) THEN 
    201202 
    202203         ! initialization 
     
    239240          ! ----------------------------====== 
    240241 
    241           IF( MOD( kt, nprg ) == 0 ) THEN 
     242          IF( MOD( it, nprg ) == 0 ) THEN 
    242243              IF(lwp) THEN 
    243244                  WRITE(numout,*) 'dia_gap: time step = ', kt, 'model - data' 
     
    259260 
    260261          IF (lwp ) THEN   ! Ok even in mpp after the call to mpp_sum 
    261              it = kt - nit000 + 1       ! define time axis 
    262262             CALL histwrite( numgap, "motempda", it, tdtag, jpk, ndex ) 
    263263             CALL histwrite( numgap, "mosalida", it, sdtag, jpk, ndex ) 
Note: See TracChangeset for help on using the changeset viewer.