/
binder-notebook-002-01-complex-task-template.json
64 lines (64 loc) · 1.74 KB
/
binder-notebook-002-01-complex-task-template.json
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
{
"uuid": "13e3d4ea-76f3-4301-8302-507ebb28eac1",
"type": "https://purl.org/esap.escape.eu/task-type/binder-notebook",
"description": "A binder notebook that applies a set of calibration data to a set of images.",
"binder-task": {
"repository": {
"type": "gitlab",
"url": "http://..."
},
"path": "calibrator.ipynb"
},
"data-resources": [
{
"uuid": "b77cc829-ac12-43b5-9dbe-48cfa727d14c",
"type": "urn:data-reference",
"description": "The raw images to be processed.",
"data-type": "urn:astronomy-image-data",
"mime-type": "image/fits"
},
{
"uuid": "47a32306-84b4-4d48-8999-7795d841b838",
"type": "urn:data-reference",
"description": "The data to use for calibration.",
"data-type": "urn:astronomy-calibration-data",
"mime-type": "image/fits"
},
{
"uuid": "5b728187-2d7d-4e54-8cac-dbe7b3871cfd",
"type": "urn:data-value",
"description": "The calibration level to use (0 to 7)",
"data-type": "integer"
}
],
"compute-resources": [
{
"uuid": "98710596-625b-4623-ba7d-8024fc88181b",
"type": "urn:generic-compute",
"environment-variables": [
{
"name": "IMAGE_FILES_PATH",
"value": "/images"
},
{
"name": "CALIBRATION_FILES_PATH",
"value": "/calibration"
},
{
"name": "CALIBRATION_LEVEL",
"data": "5b728187-2d7d-4e54-8cac-dbe7b3871cfd"
}
],
"data-volumes": [
{
"path": "/images",
"data": "b77cc829-ac12-43b5-9dbe-48cfa727d14c"
},
{
"path": "/calibration",
"data": "47a32306-84b4-4d48-8999-7795d841b838"
}
]
}
]
}