... for ascii data header information editing.
Gents,
I'm loading data as single-column ascii files, with comprehensive file names for easy header definition within geopsy. However, there is one element that I haven't been able to figure out the syntax for, it is the TimeReference.
I tried various combination of dates and times separated by various characters (slashes, dashes, ...) but to no avail.
Does anyone know what is the correct syntax to be used with set header functions in geopsy to define a line such as:
TimeReference = "xxxxxx" ?
Thank you for your help,
- Mathieu
Time Reference syntax...
Time Reference syntax...
Mathieu Duclos
Project and Research Scientist
Spectraseis AG
Zurich, Switzerland
-------------------------------------
Project and Research Scientist
Spectraseis AG
Zurich, Switzerland
-------------------------------------
Hi Mathieu,
TimeReference="dd/MM/yyyy hh:mm:ss"
TimeReference="31/12/2004 23:45:01"
You must stick to the format displayed in the table.
I didn't test it under a system configured with American way of writing dates, in this case you might eventually check something like:
TimeReference="12/31/2004 23:45:01"
Putting a day index above 12 is essential in this test.
You cannot omit any of the fields:
TimeReference="12/31/2004"
Does not work. You must use instead an explicit expression
TimeReference="12/31/2004 00:00:00"
TimeReference="dd/MM/yyyy hh:mm:ss"
TimeReference="31/12/2004 23:45:01"
You must stick to the format displayed in the table.
I didn't test it under a system configured with American way of writing dates, in this case you might eventually check something like:
TimeReference="12/31/2004 23:45:01"
Putting a day index above 12 is essential in this test.
You cannot omit any of the fields:
TimeReference="12/31/2004"
Does not work. You must use instead an explicit expression
TimeReference="12/31/2004 00:00:00"
In the latest release (2.1.0 branch, does'nt work for earlier versions), soon available for public release you can directly load a header-less ascii file and setup header from the command line.
Here is a few hints. The complete documentation of geopsy waveform scripting engine will be soon available under a wiki.
This simply described under command line (geopsy -h) through one option:
geopsy -waveform setheader.qs textfile_to_import
'setheader.qs' contains a script for setting properties of the signal. More details are given in the wiki currently under construction: http://www.geopsy.org/wiki/index.php/Ge ... scii_files
Here is a few hints. The complete documentation of geopsy waveform scripting engine will be soon available under a wiki.
This simply described under command line (geopsy -h) through one option:
geopsy -waveform setheader.qs textfile_to_import
'setheader.qs' contains a script for setting properties of the signal. More details are given in the wiki currently under construction: http://www.geopsy.org/wiki/index.php/Ge ... scii_files