DMC: Knowledge Base: Question: Can I specify start and end times as command line arguments in rdseed?

Search for answers to your questions below, or ask your own.

webmaster gravatar

Can I specify start and end times as command line arguments in rdseed?

webmaster  staff  Nov. 14, 2013, 3:45 p.m.

Can I specify start and end times as command line arguments in rdseed?


Adam Clark gravatar

Adam Clark  staff  Nov. 14, 2013, 3:47 p.m.

There is not currently a way to enter start/end times directly on the command line interface. The current way to enter start/end times is using the interactive mode of rdseed.

You can, however, make use of a summary file to provide station and channel time windows based on phase arrivals from events. Please refer to the related articles links below for more information on summary files.

It is common to use standard input redirection to input the desired values into the interactive mode’s prompts. This can be used for batch processing.

The following example will run rdseed twice on the same file, “YLtest3.13199”. You can have different files, different start/end times, output options, etc. The blank lines represent a carriage return for the prompt (accepting the default).

rdseed << End_Of_Input
YLtest3.13199

d

BUNG

1
y
y
0

2002,122,17
2002,122,17,30

YLtest3.13199

d

SIND

1
y
y
0

2002,122,17,30
2002,122,19

End_Of_Input