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 68 – NEMO

Changeset 68


Ignore:
Timestamp:
2004-04-22T14:16:32+02:00 (20 years ago)
Author:
opalod
Message:

CT : BUGFIX042 : Correction of the problem when using no-leap years option

File:
1 edited

Legend:

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

    r15 r68  
    8686         !                               ! accumulates days of previous months of this year 
    8787         DO js = 1, nmonth-1 
    88             IF( MOD( nyear, 4 ) == 0 ) THEN 
     88            IF( nleapy == 1 .AND. MOD( nyear, 4 ) == 0 ) THEN 
    8989               nday_year = nday_year + nbiss(js) 
    9090            ELSE 
     
    140140         !                                ! accumulates days of previous months of this year 
    141141         DO js = 1, nmonth-1 
    142             IF( MOD( nyear, 4 ) == 0 ) THEN 
     142            IF( nleapy == 1 .AND. MOD( nyear, 4 ) == 0 ) THEN 
    143143               nday_year = nday_year + nbiss(js) 
    144144            ELSE 
Note: See TracChangeset for help on using the changeset viewer.