Comments (3)
from nshm-kororaa-apigw.
Ben I have the query ...
query HazardChartsPlotsViewQuery($hazard_model: String, $vs30s: [Int], $imts: [String], $locs: [String], $aggs: [String], $resolution: Float) {
hazard_curves: KORORAA_hazard_curves(
hazard_model: $hazard_model
vs30s: $vs30s
imts: $imts
locs: $locs
aggs: $aggs
resolution: $resolution
) {
ok
locations {
lat
lon
resolution
code
name
key
}
curves {
hazard_model
imt
loc
agg
vs30
curve {
levels
values
}
}
}
}
and args now ...
{
"aggs": [
"mean",
"0.05",
"0.95",
"0.1",
"0.9"
],
"hazard_model": "NSHM_v1.0.4",
"imts": [
"PGA",
"SA(0.1)",
"SA(0.2)",
"SA(0.3)",
"SA(0.4)",
"SA(0.5)",
"SA(0.7)",
"SA(1.0)",
"SA(1.5)",
"SA(2.0)",
"SA(3.0)",
"SA(4.0)",
"SA(5.0)",
"SA(6.0)",
"SA(7.5)",
"SA(10.0)"
],
"locs": [
"-40~173"
],
"resolution": 0.1,
"vs30s": [
400
]
}
from nshm-kororaa-apigw.
@benjamineac as dscussed - not a bug, because the lat/lon supplied is outside the NZ grid. HOWEVER I will raise a ticket on the underlying toshi-hazard-graphql-api to check for this and provide an explicit message to inform the API user when this occurs.
from nshm-kororaa-apigw.
Related Issues (12)
- NSHM-KORORAA-APIGW: SLS deployment with single API nshm-api.gns.cri.nz
- NSHM-KORORAA-API: Setup QA coverage, linting, version tags, badges
- NSHM_KORORAA_API: finalise & refine UI schema
- NSHM_KORORAA_APIGW: JWT auth
- Fix: Solvis rate range
- FEATURE: Update solvis_API
- FIX: lambda exec errors with unknown event source HOT 2
- NSHM_KORORAA_APIGW: improve app logging HOT 1
- NSHM_KORORAA_API: remove mutations from this schema HOT 1
- AWS WARNING SSL HOT 3
- FIX: Node 16 AWS end-of-support from June 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nshm-kororaa-apigw.