Hi all,
I made a macro in which I want to change a header value for origin time:
READ $FILES
READ $ORIGIN_TIME
CH O GMT 2006 136 $ORIGIN_TIME
WRITE $FILES
However, if there is a 0 (zero) in a sec input, I get next error
SAC> macro tscf
FILES? 13_16052006.1.sac
ORIGIN_TIME? 15 41 01 79
ERROR interpreting command: READ 15 41 01 79
ILLEGAL OPTION: ^
ERROR 1016: Terminating execution of macro
If I leave a zero out, error still occurs. If values for secs are i.e.
40 or 50, macro goes through just fine. What should I do for sac to
apply entered time?
Thank you,
Darko Dudjak