Feature: modify hazard_curve attribute for app use-case
Closed this issue · 1 comments
chrisbc commented
We want the query form like below, and the mappings of hazard_mode to various toshi-ids to be internal to API.
query {
about
hazard_curves (
hazard_model: "TEST1"
vs30s: [250, 350 , 450]
imts: ["PGA", "SA(0.5)"]
locs: ["WLG", "AKL"] # Include lat,lon for these
aggs: ["mean", "0.1", "0.9"]
) {
ok
curves {
loc
imt
agg
vs30
curve {
levels
values
}
}
}
}