Skip to content

Commit

Permalink
included process graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratichhya committed Jan 31, 2024
1 parent ddd8e5f commit ddda46d
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 0 deletions.
1 change: 1 addition & 0 deletions processes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This folder contains user-defined processes that can be run by any openEO client
| [flood_ndwi](flood_ndwi.json) | vegetation indices | Comparing pre and post flood NDWI |
| [flood_sar_udf](flood_sar_udf.json) | udf | Flood extent visualization applying threshold to SAR images |
| [rescale_chunks](rescale_chunks.json) | cubes | Rescaling of RGB within chunk of polygons |
| [rvi](rvi.json) | math > indices | Calculate radar vegetation index using Sentinel-1 |

## Contributing

Expand Down
140 changes: 140 additions & 0 deletions processes/rvi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
{
"id": "RVI",
"summary": "Radar Vegetation Index(RVI) using Sentinel-1 GRD collection",
"description": "The Radar Vegetation Index (RVI) is a measure used in remote sensing and agriculture to assess the health and condition of vegetation using radar data. The RVI has been used in several previous research studies, especially for predicting the growth level of crop vegetation over time and many more. However, here, we will stick to a simple example of calculating RVI.\n The formula adopted here is: \n\n $\\mathrm{RVI}=\frac{4 \\sigma^0{ }_{V H}}{\\sigma^0{ }_{V V}+\\sigma^0{ }_{V H}}$,\n\nwhere $\\sigma^0{ }_{V H},\\sigma^0{ }_{V V}$ and $\\sigma^0{ }_{V H}$ are the polarised backscattering coefficients",
"categories": [
" math > indices"
],
"parameters": [
{
"description": "The date range to load.",
"name": "date_range",
"schema": {
"subtype": "temporal-interval",
"type": "array"
}
},
{
"description": "The bounding box to load.",
"name": "bbox",
"schema": {
"subtype": "geojson",
"type": "object"
}
}
],
"returns": {
"description": "A raster showing crop vegetation over time.",
"schema": {
"type": "object",
"subtype": "raster-cube"
}
},
"process_graph": {
"loadcollection1": {
"arguments": {
"bands": [
"VV",
"VH"
],
"id": "SENTINEL1_GRD",
"spatial_extent": {
"from_parameter": "bbox"
},
"temporal_extent": {
"from_parameter": "date_range"
}
},
"process_id": "load_collection"
},
"reducedimension1": {
"arguments": {
"data": {
"from_node": "sarbackscatter1"
},
"dimension": "bands",
"reducer": {
"process_graph": {
"add1": {
"arguments": {
"x": {
"from_node": "arrayelement2"
},
"y": {
"from_node": "arrayelement3"
}
},
"process_id": "add"
},
"arrayelement1": {
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 1
},
"process_id": "array_element"
},
"arrayelement2": {
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 0
},
"process_id": "array_element"
},
"arrayelement3": {
"arguments": {
"data": {
"from_parameter": "data"
},
"index": 1
},
"process_id": "array_element"
},
"divide1": {
"arguments": {
"x": {
"from_node": "multiply1"
},
"y": {
"from_node": "add1"
}
},
"process_id": "divide",
"result": true
},
"multiply1": {
"arguments": {
"x": 4,
"y": {
"from_node": "arrayelement1"
}
},
"process_id": "multiply"
}
}
}
},
"process_id": "reduce_dimension",
"result": true
},
"sarbackscatter1": {
"arguments": {
"coefficient": "sigma0-ellipsoid",
"contributing_area": false,
"data": {
"from_node": "loadcollection1"
},
"elevation_model": null,
"ellipsoid_incidence_angle": false,
"local_incidence_angle": false,
"mask": false,
"noise_removal": true
},
"process_id": "sar_backscatter"
}
},
"public": true
}

0 comments on commit ddda46d

Please sign in to comment.