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

    r1316 r1317  
    245245      !!---------------------------------------------------------------------- 
    246246 
    247       IF( kt == nit000 .OR. MOD( kt, nf_ptr ) == 0 )   THEN 
     247      IF( kt == nit000 .OR. MOD( kt - nit000 + 1, nf_ptr ) == 0 )   THEN 
    248248 
    249249         zsverdrup = 1.e-6 
     
    551551         ENDIF 
    552552          
    553  
    554553         CALL histend( numptr ) 
    555554 
    556555      ENDIF 
    557556 
    558       IF( MOD( kt, nf_ptr ) == 0 ) THEN 
     557      IF( MOD( it, nf_ptr ) == 0 ) THEN 
    559558 
    560559         IF(lwp) THEN 
     
    565564         ENDIF 
    566565 
    567          ! define time axis 
    568          it= kt - nit000 + 1 
    569566         ndex(1) = 0 
    570567         CALL histwrite( numptr, "zotemglo", it, tn_jk    , jpj*jpk, ndex ) 
Note: See TracChangeset for help on using the changeset viewer.