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/diawri.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/diawri.F90

    r1312 r1317  
    406406      ! donne le nombre d'elements, et ndex la liste des indices a sortir 
    407407 
    408       IF( lwp .AND. MOD( kt, nwrite ) == 0 ) THEN  
     408      IF( lwp .AND. MOD( it, nwrite ) == 0 ) THEN  
    409409         WRITE(numout,*) 'dia_wri : write model outputs in NetCDF files at ', kt, 'time-step' 
    410410         WRITE(numout,*) '~~~~~~ ' 
     
    513513      ! 3. Synchronise and close all files 
    514514      ! --------------------------------------- 
    515       IF( MOD( kt, nwrite ) == 0 .OR. kindic < 0 ) THEN 
     515      IF( MOD( it, nwrite ) == 0 .OR. kindic < 0 ) THEN 
    516516         CALL histsync( nid_T ) 
    517517         CALL histsync( nid_U ) 
Note: See TracChangeset for help on using the changeset viewer.