-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunction_registry.json
More file actions
148 lines (148 loc) · 4.74 KB
/
Copy pathfunction_registry.json
File metadata and controls
148 lines (148 loc) · 4.74 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[
{
"function": "get_admin_boundary",
"level": "low",
"class": "flood hazard",
"description": "Fetch administrative boundary geometry using FAO/GAUL dataset for given place and level.",
"arguments": {
"place_name": "e.g. 'kerala'",
"level": "'country', 'state', or 'district'"
},
"output": "FeatureCollection of boundaries"
},
{
"function": "get_thresholds",
"level": "low",
"class": "flood hazard",
"description": "Return flood risk thresholds based on administrative level.",
"arguments": {
"level": "'country', 'state', or 'district'"
},
"output": "Dictionary of thresholds"
},
{
"function": "get_recent_surface_water",
"level": "low",
"class": "flood hazard",
"description": "Generate surface water mask from Sentinel-1 VV backscatter values.",
"arguments": {
"aoi": "Area of interest geometry",
"start_date": "Start date in 'YYYY-MM-DD'",
"end_date": "End date in 'YYYY-MM-DD'",
"vv_threshold": "Threshold in dB for water detection"
},
"output": "Masked image of recent surface water"
},
{
"function": "get_permanent_water_mask",
"level": "low",
"class": "flood hazard",
"description": "Create permanent water body mask using JRC Global Surface Water dataset.",
"arguments": {
"aoi": "Area of interest geometry",
"occurrence_threshold": "Occurrence % threshold to consider water"
},
"output": "Masked image of permanent water"
},
{
"function": "compute_flood_risk_vector",
"level": "low",
"class": "flood hazard",
"description": "Compute flood risk polygons from permanent water or Sentinel-1 imagery.",
"arguments": {
"boundary": "Boundary FeatureCollection",
"start_date": "Start date in 'YYYY-MM-DD'",
"end_date": "End date in 'YYYY-MM-DD'",
"level": "'country', 'state', or 'district'"
},
"output": "FeatureCollection of flood risk polygons"
},
{
"function": "get_low_elevation_mask",
"level": "low",
"class": "flood hazard",
"description": "Mask for low elevation regions using SRTM DEM (e.g., for identifying flood-prone lowlands).",
"arguments": {
"aoi": "Area of interest geometry",
"threshold": "Elevation threshold in meters"
},
"output": "Masked image of low elevation"
},
{
"function": "Final_flood_risk",
"level": "high",
"class": "flood hazard",
"description": "Generate interactive flood risk map for a given place and level.",
"arguments": {
"place_name": "e.g. 'kerala'",
"level": "'country', 'state', or 'district' only allowed",
"start_date": "Start date in 'YYYY-MM-DD'",
"end_date": "End date in 'YYYY-MM-DD'"
},
"output": "Interactive flood risk map"
},
{
"function": "get_admin_boundary",
"level": "low",
"class": "land cover",
"description": "Fetch administrative boundary geometry using FAO/GAUL dataset for given place and level.",
"arguments": {
"place_name": "e.g. 'kerala'",
"level": "'country', 'state', or 'district'"
},
"output": "FeatureCollection of boundaries"
},
{
"function": "get_landcover_thresholds",
"level": "low",
"class": "land cover",
"description": "Return land cover class thresholds and scale for given admin level.",
"arguments": {
"level": "'country', 'state', or 'district'"
},
"output": "Dictionary with classes and scale"
},
{
"function": "get_landcover_mask",
"level": "low",
"class": "land cover",
"description": "Mask ESA WorldCover land cover image with selected classes.",
"arguments": {
"aoi": "Area of interest geometry",
"classes": "List of ESA land cover class codes"
},
"output": "Masked ESA land cover image"
},
{
"function": "get_visualization_params",
"level": "low",
"class": "land cover",
"description": "Return visualization parameters including palette and range for land cover classes.",
"arguments": {
"classes": "List of ESA land cover class codes"
},
"output": "Visualization dictionary"
},
{
"function": "add_legend",
"level": "low",
"class": "land cover",
"description": "Add a clickable land cover legend to the map.",
"arguments": {
"Map": "geemap Map object",
"classes": "List of ESA land cover class codes"
},
"output": "Map with legend added"
},
{
"function": "Final_land_cover",
"level": "high",
"class": "land cover",
"description": "Generate interactive map of land cover classes for a given place and level (state,district,country).",
"arguments": {
"place_name": "e.g. 'kerala'",
"level": "'country', 'state', or 'district'"
},
"output": "Interactive land cover map"
}
]