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 1339 for trunk/NEMO/LIM_SRC_3/limwri.F90 – NEMO

Ignore:
Timestamp:
2009-03-13T15:12:46+01:00 (15 years ago)
Author:
smasson
Message:

bugfix in lim outputs calendar see ticket:368 (and orginally ticket:335)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_3/limwri.F90

    r1334 r1339  
    141141         ENDIF 
    142142         zout     = nwrite * rdt_ice / nn_fsbc 
    143          niter    = nit000 - 1 
     143         niter    = ( nit000 - 1 ) / nn_fsbc 
    144144         zdept(1) = 0. 
    145145 
     
    147147         zjulian = zjulian - adatrj   !   set calendar origin to the beginning of the experiment 
    148148         CALL dia_nam ( clhstnam, nwrite, 'icemod' ) 
    149          CALL histbeg ( clhstnam, jpi, glamt, jpj, gphit, 1, jpi, 1, jpj, nit000-1, zjulian, rdt_ice,   & 
     149         CALL histbeg ( clhstnam, jpi, glamt, jpj, gphit, 1, jpi, 1, jpj, niter, zjulian, rdt_ice,   & 
    150150            &           nhorid, nice, domain_id=nidom ) 
    151151         CALL histvert( nice, "deptht", "Vertical T levels", "m", 1, zdept, ndepid, "down") 
     
    174174         CALL dia_nam ( clhstnama, nwrite, 'icemoa' ) 
    175175         CALL histbeg ( clhstnama, jpi, glamt, jpj, gphit,         & 
    176             1, jpi, 1, jpj,        & ! zoom 
    177             nit000 -1, zjulian, rdt_ice,   & ! time 
    178             nhorida,               & ! ? linked with horizontal ... 
     176            1, jpi, 1, jpj,            & ! zoom 
     177            niter, zjulian, rdt_ice,   & ! time 
     178            nhorida,                   & ! ? linked with horizontal ... 
    179179            nicea , domain_id=nidom)                  ! file  
    180180         CALL histvert( nicea, "icethi", "L levels",               & 
Note: See TracChangeset for help on using the changeset viewer.