Welcome, Guest
Username: Password: Remember me

TOPIC: Time Stamp in Telemac2D

Time Stamp in Telemac2D 10 years 10 months ago #11586

  • dsakamoto
  • dsakamoto's Avatar
I have a question regarding Telemac2D v6 or higher compared to V5.9 please:

Does Telemac treat the date stamp differently for V6 or higher? I have a separate utility that uses Telemac output, and it has been written to accept a date stamp in the format: Day 0 00:00:00. However, my output from TelemacV6p2 seems to put a calendar date stamp of 1900/01/01 00:00:00.

I would like to remove the calendar date stamp if possible please, and hope there is some Key Word in my steering file I'm messing up!

many thanks,
Derek.
The administrator has disabled public write access.

Time Stamp in Telemac2D 10 years 10 months ago #11587

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hello,
you can use the keyword:
ORIGINAL DATE OF TIME =0;0;0

This prevents also sometimes some strange behavior in BlueKenue when plotting 1D diagrams from extracted time series.

Hope this helps,
Clemens
The administrator has disabled public write access.
The following user(s) said Thank You: dsakamoto

Time Stamp in Telemac2D 10 years 10 months ago #11588

  • jmhervouet
  • jmhervouet's Avatar
Hello Derek,

Actually nothing has been changed regarding the format of the date, but it has been activated in Telemac-3D in version 6.2, maybe it is what happens to you. We had also to change the post-processor Postel-3D because it was not expecting a date in the selafin format. To overcome this, follow Clemens' advice, if you have ORIGINAL DATE OF TIME and ORIGINAL HOUR OF TIME all equal to 0;0;0 the date will not be put in the file format.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Time Stamp in Telemac2D 10 years 10 months ago #11598

  • Serrer
  • Serrer's Avatar
  • OFFLINE
  • Moderator
  • Posts: 720
  • Thank you received: 304
Hi Guys,

Blue Kenue has always checked IPARAM[10] for the presence of a date record in a selafin file.

I interpreted Appendix 7 of the telemac manual (from version 4.0) as follows:

If IPARAM[10] == 1 then the next record is the reference date containing 6 integer values: year,month,day,hour,minute,seconds.
The timestamp for the data records are then computed by adding the seconds from the data record to this reference date.

If IPARAM[10] == 0 the next record is NELEM,NPOIN,NDP,1
(ie. there was no reference date)

This worked for years.

As JMH says what has happened is that the defaults have changed.
IPARAM[10] has been hardwired to 1 so that the date record always exists and the default date has been set to "1900-1-1 00:00:00"
So the user now has to explicitly set the reference date/time to 0 to get the old behaviour.

Cheers... Martin
The administrator has disabled public write access.
The following user(s) said Thank You: dsakamoto
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.