GeoNet / fdsn

FDSN Web Services
MIT License
17 stars 15 forks source link

Station bug? #121

Closed gclitheroe closed 6 years ago

gclitheroe commented 6 years ago

I think this might be a bug? If I have a channel parameter in the query I get results e.g.,

curl -v "https://beta-service.geonet.org.nz/fdsnws/station/1/query?starttime=2017-11-05T00:00:00&channel=20BNZ"

but if I add the level query parameter I get no results e.g.,

curl -v "https://beta-service.geonet.org.nz/fdsnws/station/1/query?level=response&starttime=2017-11-05T00:00:00&channel=20BNZ"

the level parameter seems to work ok without the channel query parameter e.g.,

curl -v "https://beta-service.geonet.org.nz/fdsnws/station/1/query?level=response&starttime=2017-11-05T00:00:00"

nbalfour commented 6 years ago

Remove the location code from the channel filter so that it is just "BNZ". There is a separate parameter for the location code. curl -v "https://beta-service.geonet.org.nz/fdsnws/station/1/query?level=response&starttime=2017-11-05T00:00:00&channel=BNZ"

gclitheroe commented 6 years ago

yep - my error. The other bit of confusion is in #123

Closing this.