src/app/models/user-scenario.ts
The UserScenario data model maps to the private, canned and public scenarios database collections. The user scenario is a complete specification and result package aligned to one or multiple scientific models. It holds scenario metadata, model settings, model sets, model inputs and model outputs. The user scenario specification is sent to the SWIM backend for processing and is extended with execution results and additional metadata as a response.
Properties |
|
className |
className:
|
Type : string
|
Optional |
Mapped class on Java-Morphia |
description |
description:
|
Type : string
|
Interface aided description of the submited scenario |
endedAtTime |
endedAtTime:
|
Type : string
|
Optional |
Timestamp of when the scenario finished processing |
id |
id:
|
Type : string
|
Unique identifier for scenario submited for execution |
isPublic |
isPublic:
|
Type : boolean
|
Optional |
Flag if the user scenario is available to public |
modelInputs |
modelInputs:
|
Type : Parameter[]
|
Optional |
model input container |
modelOutputs |
modelOutputs:
|
Type : ModelOutput[]
|
Optional |
model output container |
modelSets |
modelSets:
|
Type : any[]
|
Optional |
model set container |
modelSettings |
modelSettings:
|
Type : any[]
|
Optional |
model settings and model id container |
name |
name:
|
Type : string
|
User assigned scenario name |
resultOverviews |
resultOverviews:
|
Type : any[]
|
Optional |
result overviews |
start |
start:
|
Type : string
|
Optional |
starting date-time of projection |
startedAtTime |
startedAtTime:
|
Type : string
|
Optional |
Timestamp of when the scenario started to be processed |
status |
status:
|
Type : string
|
Status in the execution cycle: queued, complete, failed |
timestep |
timestep:
|
Type : string
|
Optional |
year, month, day, hour, minute, second |
userid |
userid:
|
Type : string
|
Optional |
User identifier that created the custom scenario |