Changeset 1462
- Timestamp:
- 2009-06-08T17:40:59+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/BDY/bdytides.F90
r1241 r1462 146 146 CHARACTER(len=80) :: clfile ! full file name for tidal input file 147 147 INTEGER :: ipi, ipj, inum, idvar ! temporary integers (netcdf read) 148 INTEGER, DIMENSION(3) :: lendta 148 INTEGER, DIMENSION(3) :: lendta=0 ! length of data in the file (note may be different from nblendta!) 149 149 REAL(wp) :: z_arg, z_atde, z_btde, z1t, z2t 150 150 REAL(wp), DIMENSION(jpbdta,1) :: zdta ! temporary array for data fields … … 230 230 ! This is the initialisation step, so nday, nmonth, nyear are the 231 231 ! initial date/time of the integration. 232 print *, nday,nmonth,nyear 233 nyear = int(ndate0 / 10000 ) ! initial year 234 nmonth = int((ndate0 - nyear * 10000 ) / 100 ) ! initial month 235 nday = int(ndate0 - nyear * 10000 - nmonth * 100) 232 236 233 237 CALL uvset( 0, nday, nmonth, nyear, z_ftc, z_vplu ) … … 301 305 z_arg = kt * rdt * rad / 3600.0 302 306 ELSE ! we are in a barotropic subcycle (for timesplitting option) 303 z_arg = ( (kt-1) * rdt + jit * rdt / REAL(nn_baro,lwp) ) * rad / 3600.0 307 ! z_arg = ( (kt-1) * rdt + jit * rdt / REAL(nn_baro,lwp) ) * rad / 3600.0 308 z_arg = ( (kt-1) * rdt + jit * rdt / REAL(nn_baro,wp) ) * rad / 3600.0 304 309 ENDIF 305 310
Note: See TracChangeset
for help on using the changeset viewer.