All the TOMAWAC simulations start at time t=0
The date of computation beginning is optional information included in the header of the Selaphin file, and it is used in case you use wind field files having the time in the WAM format
The subroutine TEMP calculates the difference between the DDC and a time step of the wind field file, only in the case that the time in the wind file has
the format as in the WAM formulation : yymmddhhmm (TOMAWAC manual, chapter 8.1.3)
For your example:
DDC= 0601010000
The time in the wind field corresponding to 3600s should be written, therefore, as 0601010100
The TEMP subroutines gives as output TV=3600, which corresponds to one hour after the computation beginning.
If the time in your Selaphin wind field file has a different format (e.g. expressed in seconds and starting from time t=0), I suggest you to modify the subroutines NOUDON and LECDOI, in order to read directly the time TV, without using the subroutine TEMP. In this case you do not need to use your DDC. The code should be modified in the following way
CALL LIT(DAT2B,W,IW,C1,1,'R4',NDON,BINDON,ISTAT)
! IF(CHDON(1:1).EQ.'C') THEN
TV2=DAT2B(1)
! ELSE
! DAT2=DAT2B(1)*1.D2
! CALL TEMP(TV2,DAT2,DDC)
! ENDIF
If you define the data in the wind field file with a different format, you should modify the same soubroutines, in order to compare properly the TOMAWAC computation time and the wind field time.
It should work.
Regards,
Giovanni