-
Notifications
You must be signed in to change notification settings - Fork 1
/
model-definition.yml
67 lines (60 loc) · 1.82 KB
/
model-definition.yml
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
kind: Model
api_version: v1beta1
metadata:
display_name: Extract SSP Population
name: extract-ssp-population
publisher: Newcastle University
summary: Tool for extracting population for a given SSP and year
source_code: https://github.com/OpenCLIM/extract-ssp-population
description: >
Creates a CSV file containing initial and final population, aggregated over the provided regions.
The population data and regions must use the same coordinate system
spec:
inputs:
parameters:
- name: YEAR
title: Year
type: integer
description: The year to extract
default: 2030
required: true
min: 2030
max: 2100
- name: SSP
title: SSP
type: integer
description: The SSP to extract
default: 1
required: true
min: 1
max: 5
- name: REGION_FIELD
title: Region Field
type: string
description: The column name that identifies each region
default: code
required: true
- name: RUN_PDO
title: Run Population Decrease Overwrite
type: boolean
description: Set as true to calculate the Overwrite decreases in population
default: false
required: true
dataslots:
- name: SSP
description: CSV file containing the Population tab from the SSP database
default:
- d13b3f41-87ef-4a38-a414-02708642f2be
path: inputs/ssp
required: true
- name: Regions
description: File containing regions_paths to aggregate over
default:
- d0776cf1-e9d0-4bb7-b454-3eae8ee6a9ec
path: inputs/regions
required: true
outputs:
datasets:
- name: outputs/population.csv
type: CSV
description: File containing initial and final population