Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FDSN beta event service not wrapping around 180 longitude #40

Closed
calum-chamberlain opened this issue Aug 3, 2017 · 1 comment
Closed
Assignees

Comments

@calum-chamberlain
Copy link

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
Copy link

nbalfour commented Aug 6, 2017

I have moved this issue to the fdsn repo, see GeoNet/fdsn#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

@nbalfour nbalfour closed this as completed Aug 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants