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 1450 for trunk/NEMO/OFF_SRC/daymod.F90 – NEMO

Ignore:
Timestamp:
2009-05-15T16:12:12+02:00 (15 years ago)
Author:
cetlod
Message:

implementation of iom_put in TOP, see ticket:432

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OFF_SRC/daymod.F90

    r1291 r1450  
    3030   USE in_out_manager  ! I/O manager 
    3131   USE prtctl          ! Print control 
     32   USE ioipsl, ONLY :   ymds2ju        ! for calendar 
    3233 
    3334   IMPLICIT NONE 
     
    4647   REAL(wp), PUBLIC ::   rsec_day    !: current time step counted in second since 00h of the current day 
    4748 
     49   REAL(wp), PUBLIC ::   fjulday     !: julian day 
    4850   REAL(wp), PUBLIC ::   adatrj      !: number of elapsed days since the begining of the run 
    4951   !                                 !: it is the accumulated duration of previous runs 
     
    9597      nmonth  = ( ndastp - (nyear * 10000) ) / 100 
    9698      nday    =   ndastp - (nyear * 10000) - ( nmonth * 100 )  
     99 
     100      CALL ymds2ju( nyear, nmonth, nday, 0.0, fjulday )  ! we assume that we start run at 00:00 
     101      fjulday = fjulday + 1.                             ! move back to the day at nit000 (and not at nit000 - 1) 
     102 
    97103 
    98104      sec1jan000 = 0.e0 
     
    203209      rsec_day   = rsec_day   + rdttra(1)                  
    204210      adatrj = adatrj + rdttra(1) / rday 
    205        
     211      fjulday = fjulday + rdttra(1) / rday 
     212    
    206213      IF( rsec_day > rday ) THEN                        ! NEW day 
    207214         ! 
Note: See TracChangeset for help on using the changeset viewer.