Closed chrisbc closed 2 years ago
Query exmple
query TimeDependentInversionSolution_example {
node(id:"VGltZURlcGVuZGVudEludmVyc2lvblNvbHV0aW9uOjEwMTM1Ng==") {
__typename
id
... on TimeDependentInversionSolution {
file_name
created
meta {k v}
source_solution {
id
... on InversionSolution { created }
}
relations {
total_count
#etc
}
}
}
}
returns (in TEST)
{
"data": {
"node": {
"__typename": "TimeDependentInversionSolution",
"id": "VGltZURlcGVuZGVudEludmVyc2lvblNvbHV0aW9uOjEwMTM1Ng==",
"file_name": "NZSHM22_InversionSolution-QXV0b21hdGlvblRhc2s6MTAxMTY5-mre.zip",
"created": "2022-07-12T23:42:19.398501+00:00",
"meta": [
{
"k": "current_year",
"v": "2022"
},
{
"k": "mre_enum",
"v": "CFM_1_1"
},
{
"k": "forecast_timespan",
"v": "50"
},
{
"k": "model_type",
"v": "CRUSTAL"
},
{
"k": "file_path",
"v": "/home/chrisbc/DEV/GNS/AWS_S3_DATA/WORKING/downloads/SW52ZXJzaW9uU29sdXRpb246MTAxMTE2/NZSHM22_InversionSolution-QXV0b21hdGlvblRhc2s6MTAxMTY5.zip"
}
],
"source_solution": {
"id": "SW52ZXJzaW9uU29sdXRpb246MTAxMTE2",
"created": "2022-05-22T22:45:31.383240+00:00"
},
"relations": {
"total_count": 1
}
}
}
}
When viewing a TimeDependentInversionSolution in TUI I want to see the information and meta data.
Note a TimeDependentInversionSolution looks almost identical to an ScaledInversionSolution.
Done When: