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 5872 for branches/2014/dev_r4650_UKMO7_STARTHOUR/NEMOGCM/NEMO/OPA_SRC/OBS/diaobs.F90 – NEMO

Ignore:
Timestamp:
2015-11-09T19:20:54+01:00 (8 years ago)
Author:
djlea
Message:

Fixes to enable restartability for runs of less than one day.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4650_UKMO7_STARTHOUR/NEMOGCM/NEMO/OPA_SRC/OBS/diaobs.F90

    r5075 r5872  
    14521452      !!        !  06-10  (G. Smith) Calculates initial date the same as method for final date 
    14531453      !!        !  10-05  (D. Lea) Update to month length calculation for NEMO vn3.2 
    1454       !!        !  2014-09  (D. Lea) New generic routine now deals with arbitrary start hour  
     1454      !!        !  2014-09  (D. Lea) New generic routine now deals with arbitrary initial time of day 
    14551455      !!---------------------------------------------------------------------- 
    14561456      USE phycst, ONLY : &            ! Physical constants 
     
    14841484      imon = ( ndate0 - iyea * 10000 ) / 100 
    14851485      iday =   ndate0 - iyea * 10000 - imon * 100 
    1486       ihou = nn_time0 
    1487       imin = 0 
     1486      ihou =   nn_time0 / 100 
     1487      imin = ( nn_time0 - ihou * 100 )  
    14881488 
    14891489      !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.