From 2dd41e7eaa6a96d36c34d4e58722fda9d8dfd307 Mon Sep 17 00:00:00 2001 From: Howard Wu Date: Fri, 5 Nov 2021 11:44:35 +1300 Subject: [PATCH] Update FDSN batch test urls. --- fdsn-batch-test.sh | 10 +++++----- fdsn-test-urls.txt | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fdsn-batch-test.sh b/fdsn-batch-test.sh index 0e9afbd5..cec97806 100755 --- a/fdsn-batch-test.sh +++ b/fdsn-batch-test.sh @@ -42,11 +42,11 @@ sample_date="2018-05-15" sample_tstart="23:45:00" sample_tend="23:45:10" # Note1 : this date/time string replacing won't work when start/end window is crossing midnight -# Note2 : For OSX replace `-d "20 minutes ago"` with `-v-20M`, and -v-15M for end time. -# Note3 : The time range (20 minutes ago) is for NRT service. If it's FDSN archive then 10080 minutes ~ 10075 minutes ago. -nrt_date=$(TZ="GMT0" date -d "20 minutes ago" +'%Y-%m-%d') -nrt_tstart=$(TZ="GMT0" date -d "20 minutes ago" +'%H:%M:%S') #start: 20 min age -nrt_tend=$(TZ="GMT0" date -d "15 minutes ago" +'%H:%M:%S') #end: 15 min ago +# Note2 : For OSX replace `-d "60 minutes ago"` with `-v-60M`, and -v-30M for end time. +# Note3 : The time range (60 minutes ago) is for NRT service. If it's FDSN archive then 10080 minutes ~ 10075 minutes ago. +nrt_date=$(TZ="GMT0" date -d "60 minutes ago" +'%Y-%m-%d') +nrt_tstart=$(TZ="GMT0" date -d "60 minutes ago" +'%H:%M:%S') #start: 60 min ago +nrt_tend=$(TZ="GMT0" date -d "30 minutes ago" +'%H:%M:%S') #end: 30 min ago echo "NRT test date: $nrt_date $nrt_tstart to $nrt_tend" linenum=0 diff --git a/fdsn-test-urls.txt b/fdsn-test-urls.txt index b98ade2b..7ab55c3f 100644 --- a/fdsn-test-urls.txt +++ b/fdsn-test-urls.txt @@ -20,7 +20,7 @@ https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=WEL&locat https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=RBCT&location=3?,*&starttime=2018-05-15T23:45:00&endtime=2018-05-15T23:45:10 # Would return part only (99 is non existing for instance ) -https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=RBCT&location=30,99&starttime=2018-05-15T23:45:00&endtime=2018-05-15T23:45:10 +https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=RBCT&location=40,99&starttime=2018-05-15T23:45:00&endtime=2018-05-15T23:45:10 https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=PREZ,KHEZ&location=30,31,32,33,34,35,36,37,38,39&starttime=2018-05-15T23:45:00&endtime=2018-05-15T23:45:10 ##### Channel code queries @@ -36,7 +36,7 @@ https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=RBCT&chan https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=RBCT&channel=?T?&starttime=2018-05-15T23:45:00&endtime=2018-05-15T23:45:10 https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=RBCT&channel=?TZ&starttime=2018-05-15T23:45:00&endtime=2018-05-15T23:45:10 https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=RBCT&channel=BT*&starttime=2018-05-15T23:45:00&endtime=2018-05-15T23:45:10 -https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=RBCT&channel=??F&starttime=2018-05-15T23:45:00&endtime=2018-05-15T23:45:10 +https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=RBCT&channel=??Z&starttime=2018-05-15T23:45:00&endtime=2018-05-15T23:45:10 # List Channel https://service.geonet.org.nz/fdsnws/dataselect/1/query?network=NZ&sta=RBCT&channel=HDF,LTZ,HHZ&starttime=2018-05-15T23:45:00&endtime=2018-05-15T23:45:10