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 1310 for trunk/NEMO/LIM_SRC_2 – NEMO

Changeset 1310 for trunk/NEMO/LIM_SRC_2


Ignore:
Timestamp:
2009-02-16T16:27:12+01:00 (15 years ago)
Author:
smasson
Message:

set origin of outputs calendar, continue changeset:1309, see ticket:335

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_2/limwri_2.F90

    r1156 r1310  
    8686      INTEGER  ::   ji, jj, jf                      ! dummy loop indices 
    8787      CHARACTER(len = 40)  ::   clhstnam, clop 
    88       REAL(wp) ::   zsto, zsec, zjulian, zout,   &  ! temporary scalars 
     88      REAL(wp) ::   zsto, zjulian, zout,   &  ! temporary scalars 
    8989         &          zindh, zinda, zindb, ztmu 
    9090      REAL(wp), DIMENSION(1)                ::   zdept 
     
    102102         clop     = "ave(x)" 
    103103         zout     = nwrite * rdt_ice / nn_fsbc 
    104          zsec     = 0. 
    105104         niter    = 0 
    106105         zdept(1) = 0. 
    107106          
    108          CALL ymds2ju ( nyear, nmonth, nday, zsec, zjulian ) 
     107         CALL ymds2ju ( nyear, nmonth, nday, rdt, zjulian ) 
     108         zjulian = zjulian - adatrj   !   set calendar origin to the beginning of the experiment 
    109109         CALL dia_nam ( clhstnam, nwrite, 'icemod' ) 
    110110         CALL histbeg ( clhstnam, jpi, glamt, jpj, gphit,    & 
Note: See TracChangeset for help on using the changeset viewer.