source: SHX/trunk/SeismicHandler/cmdscripts/SHX_MENU_GET_EVENTLIST.SHC @ 1135

Revision 1135, 584 bytes checked in by klaus, 4 years ago (diff)

retrieve events from fdsn server into list

Line 
1
2sdef lat
3sdef lon
4sdef radius
5sdef fname
6sdef minmagn
7sdef offset
8sdef slat
9sdef slon
10sdef refphase
11sdef agency
12
13param get epi_latitude &lat
14param get epi_longitude &lon
15param get sta_radius &radius
16param get ev_list &fname
17param get ev_minmagn &minmagn
18param get ev_offset &offset
19param get sta_latitude &slat
20param get sta_longitude &slon
21param get ev_phase &refphase
22param get ev_agency &agency
23
24if "lat nes ;; goto latok:
25    echo no epicenter
26    return
27latok:
28
29echo_ch/new "fname
30events "lat "lon "radius "minmagn ;; "offset "slat "slon "refphase /addr="agency
31echo_ch
32
33return
Note: See TracBrowser for help on using the repository browser.