Thread: wrong output due to time format

Started: 2022-11-09 17:16:57
Last activity: 2022-11-17 14:42:50
Topics: MUSTANG Users
Philip Crotwell
2022-11-09 17:16:57
Hi

This URL returns all channels with a value of "0.000" for each channel,
which is very wrong:
https://service.iris.edu/mustang/measurements/1/query?metric=ts_percent_availability_total&net=CO&cha=HHZ,HNZ&format=text&timewindow=2022-02-01T00:00,2022-11-09T00:00:00&nodata=404

THis query, which is almost identical, returns what looks like correct
values:
https://service.iris.edu/mustang/measurements/1/query?metric=ts_percent_availability_total&net=CO&cha=HHZ,HNZ&format=text&timewindow=2022-02-01T00:00:00,2022-11-09T00:00:00&nodata=404

The only difference is that the timewindow start is missing seconds in the
first URL. I could not find any documentation as to what time values are
supported, but returning zeros instead of an error message seems bad. And
it seems like hour:min should be a valid format.

thanks
Philip

02:06:27 v.9a3bf08e