-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel-definition.yaml
More file actions
98 lines (87 loc) · 2.97 KB
/
model-definition.yaml
File metadata and controls
98 lines (87 loc) · 2.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
kind: M
api_version: v1beta2
metadata:
display_name: PYRAMID <model> Prepare Data
name: pyramid-prepare-data
summary: Prepares data gathered by the data reading model stages for SHETRAN and HiPIMS
publisher: Newcastle University
description: >
Turns externally-sourced weather data into SHETRAN and HiPIMS-appropriate input.
spec:
inputs:
parameters:
- name: RUN_START_DATE
title: Start date
description: The date at which the Model execution should start.
type: string
default: "2023-06-20"
required: true
- name: RUN_END_DATE
title: End date
description: The date at which the Model execution should stop.
type: string
default: "2023-06-30"
required: true
- name: BB_E_L
title: Bounding Box Easting Lower
description: Analysis region bounding box Easting lower value
type: integer
default: 355000
required: true
- name: BB_N_L
title: Bounding Box Northing Lower
description: Analysis region bounding box Northing lower value
type: integer
default: 534000
required: true
- name: BB_E_U
title: Bounding Box Easting Upper
description: Analysis region bounding box Easting upper value
type: integer
default: 440000
required: true
- name: BB_N_U
title: Bounding Box Northing Upper
description: Analysis region bounding box Northing lower value
type: integer
default: 609000
required: true
- name: RESOLUTION
title: Data resolution
description: Resolution of the data grid (in <units>?)
type: integer
default: 1000
required: true
- name: READ_MODE
title: Model reading mode
description: This parameter dictates whether the model should read from the API, or from a pre-prepared testing data set.
type: string
options:
- name: "dataset"
title: "Model inputs from a DAFNI dataset"
- name: "model"
title: "Model inputs from another DAFNI model"
default: "model"
required: false
dataslots:
- name: SHETRAN Data
description: SHETRAN static data
default:
- a36cb623-ce8a-4a9b-9a4f-2702a72827be
path: inputs/static
required: true
- name: HiPIMS Data
description: HiPIMS static data
default:
- 7348d367-51df-499c-b15d-1ecf82882301
path: inputs/static
required: true
- name: Pre-prepared Rainfall Data
description: Pre-prepared rainfall data in the same format as would be produced by the rainfall API-reading models
path: inputs/MET/15min
required: false
outputs:
datasets:
- name: PYRAMID <model> Processed weather data produced by the prepare-data model
type: txt
description: Weather data ready for processing by SHETRAN and HiPIMS