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

ts_num_gaps reports 0 stations when any other ts_ metric above it on the list is also selected #7

Closed
gillian-earthscope opened this issue Dec 20, 2018 · 3 comments
Labels

Comments

@gillian-earthscope
Copy link

If I select both ts_num_gaps (or ts_num_gaps_total) and any of the other ts_ metrics above it in the list on the query form, then ts_num_gaps displays as having 0 stations available. If I download the data, I see expected results with both metrics having values for all stations. The metrics that conflict with ts_num_gaps are ts_channel_continuity, ts_channel_up_time, ts_gap_length, ts_gap_length_total, ts_max_gap, and ts_max_gap_total. Other combinations of metrics with ts_num_gaps do not have this issue. If I edit the query by hand so that ts_num_gaps is listed first, then I also get expected results.

This returns 205 stations for ts_max_gap and 0 stations for ts_num_gaps:
http://ds.iris.edu/mustang/mustangular/#/map?net=TA&cha=BHZ&start=2018-12-01&end=2018-12-15&metric=TS_MAX_GAP,TS_NUM_GAPS
screen shot 2018-12-19 at 5 28 58 pm

This works and returns 205 stations for each metric:
http://ds.iris.edu/mustang/mustangular/#/map?net=TA&cha=BHZ&start=2018-12-01&end=2018-12-15&metric=TS_NUM_GAPS,TS_PERCENT_AVAILABILITY
screen shot 2018-12-19 at 5 29 37 pm

Also ok:
http://ds.iris.edu/mustang/mustangular/#/map?net=TA&cha=BHZ&start=2018-12-01&end=2018-12-15&metric=SAMPLE_MEAN,TS_NUM_GAPS
screen shot 2018-12-19 at 5 37 59 pm

If I manually switch the order of ts_num_gaps and ts_max_gap, then they both return 205 stations:
http://ds.iris.edu/mustang/mustangular/#/map?net=TA&cha=BHZ&start=2018-12-01&end=2018-12-15&metric=TS_NUM_GAPS,TS_MAX_GAP
screen shot 2018-12-19 at 5 41 46 pm

@kyla-m kyla-m self-assigned this Dec 20, 2018
@kyla-m kyla-m added the bug label Dec 20, 2018
@kyla-m
Copy link
Contributor

kyla-m commented Dec 20, 2018

@gillian-earthscope
Copy link
Author

gillian-earthscope commented Dec 20, 2018 via email

@kyla-m kyla-m removed their assignment Dec 20, 2018
@gillian-earthscope
Copy link
Author

This issue has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants