- Timestamp:
- 2012-05-04T16:06:37+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_r3337_NOCS10_ICB/NEMOGCM/NEMO/OPA_SRC/ICB/icbstp.F90
r3379 r3383 59 59 INTEGER, INTENT(in) :: kt ! time step index 60 60 ! 61 INTEGER :: iyr, imon, iday, ihr, imin, isec ! local integers62 61 LOGICAL :: ll_sample_traj, ll_budget, ll_verbose ! local logical 63 62 !!---------------------------------------------------------------------- … … 79 78 CALL icb_dia_step() 80 79 81 ! Manage time82 ! Convert nemo time variables from dom_oce into local versions83 ! Note that yearday function assumes 365 day year!!84 iyr = nyear85 imon = nmonth86 iday = nday87 ihr = INT(nsec_day/3600)88 imin = INT((nsec_day-ihr*3600)/60)89 isec = nsec_day - ihr*3600 - imin*6090 current_year = iyr91 current_yearday = icb_utl_yearday(imon, iday, ihr, imin, isec)92 93 80 ll_verbose = .FALSE. 94 81 IF( nn_verbose_write > 0 .AND. & 95 82 MOD(kt-1,nn_verbose_write ) == 0 ) ll_verbose = nn_verbose_level >= 0 96 IF( ll_verbose ) WRITE(numicb,9100) iyr, imon, iday, ihr, imin, isec, & 97 current_year, current_yearday 98 9100 FORMAT('y,m,d=',3i5,' h,m,s=',3i5,' yr,yrdy=',i5,f8.3) 83 84 ! write out time 85 IF( ll_verbose ) WRITE(numicb,9100) nktberg, ndastp, nsec_day 86 9100 FORMAT('kt= ',i8, ' day= ',i8,' secs=',i8) 99 87 100 88 ! copy nemo forcing arrays into iceberg versions with extra halo
Note: See TracChangeset
for help on using the changeset viewer.