GeoNet / help

An issues repo for technical help questions.
6 stars 3 forks source link

FDSN beta event service not wrapping around 180 longitude #40

Closed calum-chamberlain closed 7 years ago

calum-chamberlain commented 7 years ago

Hi all, just started playing with the beta fdsn service and ran into unexpected returned values when querying entries around 180 longitude. The url: http://beta-service.geonet.org.nz/fdsnws/event/1/query?minlatitude=-49.0&minlongitude=175.0&endtime=2016-09-05T00%3A00%3A00.000000&maxlatitude=-35.0&starttime=2016-09-04T00%3A00%3A00.000000&minmagnitude=4.0&maxlongitude=180.0 returns a nice xml file, and changing maxlongitude to larger values raises an error (as expected), but, changing to this url: http://beta-service.geonet.org.nz/fdsnws/event/1/query?minlatitude=-49.0&minlongitude=175.0&endtime=2016-09-05T00%3A00%3A00.000000&maxlatitude=-35.0&starttime=2016-09-04T00%3A00%3A00.000000&minmagnitude=4.0&maxlongitude=-175.0 returns no data. Other services (e.g. IRIS) wrap the selection rectangle around the globe here, e.g. the following url returns a valid xml: http://service.iris.edu/fdsnws/event/1/query?minlatitude=-49.0&minlongitude=175.0&endtime=2016-09-05T00%3A00%3A00.000000&maxlatitude=-35.0&starttime=2016-09-04T00%3A00%3A00.000000&minmagnitude=4.0&maxlongitude=-175.0

This is likely an edge case, but probably worth a fix to work like other FDSN webservices @nbalfour ?

nbalfour commented 7 years ago

I have moved this issue to the fdsn repo, see https://github.com/GeoNet/fdsn/issues/77. That is where the issues are for the new fdsn so that we can manage them and assign them appropriately. You will need to subscribe to the thread to be notified of this issues progress. Please post future issues relating to the fdsn service in that repo.
Thanks