Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
359 changes: 359 additions & 0 deletions algorithm_registration/oil_spill_index/openeo_udp/oil_spill_index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,359 @@
{
"process_graph": {
"loadcollection1": {
"process_id": "load_collection",
"arguments": {
"bands": [
"B02",
"B03",
"B04",
"B05",
"B06",
"B07",
"B08",
"B11",
"B12"
],
"id": "SENTINEL2_L2A",
"properties": {
"eo:cloud_cover": {
"process_graph": {
"lte1": {
"process_id": "lte",
"arguments": {
"x": {
"from_parameter": "value"
},
"y": 30
},
"result": true
}
}
}
},
"spatial_extent": {
"from_parameter": "bounding_box"
},
"temporal_extent": {
"from_parameter": "time_oil_spill"
}
}
},
"apply1": {
"process_id": "apply",
"arguments": {
"data": {
"from_node": "loadcollection1"
},
"process": {
"process_graph": {
"divide1": {
"process_id": "divide",
"arguments": {
"x": {
"from_parameter": "x"
},
"y": 10000.0
},
"result": true
}
}
}
}
},
"reducedimension1": {
"process_id": "reduce_dimension",
"arguments": {
"data": {
"from_node": "apply1"
},
"dimension": "t",
"reducer": {
"process_graph": {
"first1": {
"process_id": "first",
"arguments": {
"data": {
"from_parameter": "data"
}
},
"result": true
}
}
}
}
},
"applydimension1": {
"process_id": "apply_dimension",
"arguments": {
"data": {
"from_node": "reducedimension1"
},
"dimension": "bands",
"process": {
"process_graph": {
"arrayelement1": {
"process_id": "array_element",
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 3
}
},
"arrayelement2": {
"process_id": "array_element",
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 4
}
},
"add1": {
"process_id": "add",
"arguments": {
"x": {
"from_node": "arrayelement1"
},
"y": {
"from_node": "arrayelement2"
}
}
},
"arrayelement3": {
"process_id": "array_element",
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 5
}
},
"divide2": {
"process_id": "divide",
"arguments": {
"x": {
"from_node": "add1"
},
"y": {
"from_node": "arrayelement3"
}
}
},
"divide3": {
"process_id": "divide",
"arguments": {
"x": {
"from_node": "divide2"
},
"y": 3
}
},
"arrayelement4": {
"process_id": "array_element",
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 1
}
},
"arrayelement5": {
"process_id": "array_element",
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 2
}
},
"add2": {
"process_id": "add",
"arguments": {
"x": {
"from_node": "arrayelement4"
},
"y": {
"from_node": "arrayelement5"
}
}
},
"arrayelement6": {
"process_id": "array_element",
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 0
}
},
"divide4": {
"process_id": "divide",
"arguments": {
"x": {
"from_node": "add2"
},
"y": {
"from_node": "arrayelement6"
}
}
},
"divide5": {
"process_id": "divide",
"arguments": {
"x": {
"from_node": "divide4"
},
"y": 3
}
},
"arrayelement7": {
"process_id": "array_element",
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 7
}
},
"arrayelement8": {
"process_id": "array_element",
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 8
}
},
"add3": {
"process_id": "add",
"arguments": {
"x": {
"from_node": "arrayelement7"
},
"y": {
"from_node": "arrayelement8"
}
}
},
"arrayelement9": {
"process_id": "array_element",
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 6
}
},
"divide6": {
"process_id": "divide",
"arguments": {
"x": {
"from_node": "add3"
},
"y": {
"from_node": "arrayelement9"
}
}
},
"divide7": {
"process_id": "divide",
"arguments": {
"x": {
"from_node": "divide6"
},
"y": 3
}
},
"arraycreate1": {
"process_id": "array_create",
"arguments": {
"data": [
{
"from_node": "divide3"
},
{
"from_node": "divide5"
},
{
"from_node": "divide7"
}
]
},
"result": true
}
}
}
}
},
"apply2": {
"process_id": "apply",
"arguments": {
"data": {
"from_node": "applydimension1"
},
"process": {
"process_graph": {
"linearscalerange1": {
"process_id": "linear_scale_range",
"arguments": {
"inputMax": 1,
"inputMin": 0,
"outputMax": 255,
"outputMin": 0,
"x": {
"from_parameter": "x"
}
},
"result": true
}
}
}
},
"result": true
}
},
"parameters": [
{
"name": "time_oil_spill",
"description": "Oil-spill acquisition window; the first available scene within this range is used",
"schema": {
"type": "array",
"subtype": "temporal-interval"
},
"default": [
"2020-08-01",
"2020-08-02"
],
"optional": true
},
{
"name": "bounding_box",
"description": "Spatial extent covering the Mauritius shore affected by the Wakashio oil spill",
"schema": {
"type": "object",
"subtype": "bounding-box"
},
"default": {
"west": 57.7,
"south": -20.45,
"east": 57.77,
"north": -20.41
},
"optional": true
},
{
"name": "cloud_cover",
"description": "Maximum scene-level cloud cover percentage",
"schema": {
"type": "number"
},
"default": 30,
"optional": true
}
],
"id": "oil_spill_index",
"summary": "Oil Spill Index (OSI) false-color composite from Sentinel-2 imagery using openEO.",
"description": "Highlights potential oil slick signatures over Sentinel-2 coastal and marine scenes using an Oil Spill Index (OSI) band ratio, rendered as a false-color RGB composite from red-edge, NIR, and SWIR band ratios. Intended for rapid screening; results should be validated with contextual information and complementary data (e.g. SAR) to avoid confusion with look-alike phenomena such as sunglint, algae, or sediments. Converted from the Sentinel Hub Oil Spill Index evalscript."
}
Loading
Loading