Skip to content

Commit 88651e8

Browse files
authored
Added Part 2 of GeoGLOWS tutorial
1 parent 8e37d8a commit 88651e8

1 file changed

Lines changed: 129 additions & 0 deletions

File tree

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
{
2+
"name": "GEOGLOWS Demo (Part 2)",
3+
"description": "demo",
4+
"publicDashboard": false,
5+
"userPermission": "admin",
6+
"permissions": [
7+
{
8+
"username": "admin",
9+
"permission": "admin"
10+
}
11+
],
12+
"unrestrictedPlacement": true,
13+
"image": "/media/tethysdash/app/e9a4079f-b5fd-45ed-821f-c88e96c7874f.png",
14+
"owner": "admin",
15+
"notes": "",
16+
"tabs": [
17+
{
18+
"id": 158,
19+
"name": "Main",
20+
"gridItems": [
21+
{
22+
"i": "1",
23+
"x": 0,
24+
"y": 0,
25+
"w": 100,
26+
"h": 43,
27+
"source": "Map",
28+
"args_string": {
29+
"baseMap": "${Base Map}",
30+
"layerControl": true,
31+
"layers": [
32+
{
33+
"configuration": {
34+
"type": "ImageLayer",
35+
"props": {
36+
"name": "China Flowlines",
37+
"minZoomQuery": "14",
38+
"source": {
39+
"type": "ESRI Image and Map Service",
40+
"props": {
41+
"url": "https://livefeeds3.arcgis.com/arcgis/rest/services/GEOGLOWS/GlobalWaterModel_Medium/MapServer",
42+
"params": {
43+
"LAYERDEFS": "{\"0\": \"rivercountry = 'China'\"}"
44+
}
45+
}
46+
}
47+
}
48+
},
49+
"attributeAliases": {
50+
"Flow Forecast (m³/sec)": {
51+
"objectid": "OBJECTID",
52+
"comid": "TDX Hydro Link Number",
53+
"outletcomid": "Terminal TDX Hydro Link Number",
54+
"region": "TDX Hydro Region Number",
55+
"vpu": "TDX Sub Basin Id",
56+
"upstreamarea": "Upstream Drainage Area (m²)",
57+
"geodesiclength": "Geodesic Stream Length (m)",
58+
"streamorder": "Strahler Stream Order",
59+
"rivercountry": "River Country Name",
60+
"outletcountry": "Outlet Country Name",
61+
"timevalue": "Forecast Timestamp",
62+
"meanflow": "Mean Flow (m³/sec)",
63+
"thickness": "Line Class",
64+
"returnperiod": "Return Period",
65+
"shape": "Shape"
66+
}
67+
},
68+
"attributeVariables": {
69+
"Flow Forecast (m³/sec)": {
70+
"comid": "river_id"
71+
}
72+
},
73+
"omittedPopupAttributes": {
74+
"Flow Forecast (m³/sec)": [
75+
"objectid",
76+
"outletcomid",
77+
"region",
78+
"vpu",
79+
"rivercountry",
80+
"outletcountry",
81+
"thickness",
82+
"shape"
83+
]
84+
}
85+
}
86+
],
87+
"map_extent": {
88+
"extent": "12024911.41,3216959.30,4.03"
89+
},
90+
"mapDrawing": {}
91+
},
92+
"metadata_string": {}
93+
},
94+
{
95+
"i": "2",
96+
"x": 0,
97+
"y": 0,
98+
"w": 18,
99+
"h": 5,
100+
"source": "Variable Input",
101+
"args_string": {
102+
"variable_name": "Base Map",
103+
"show_label": true,
104+
"variable_options_source": "Base Map Layers",
105+
"initial_value": "https://server.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer"
106+
},
107+
"metadata_string": {}
108+
},
109+
{
110+
"i": "3",
111+
"x": 0,
112+
"y": 26,
113+
"w": 100,
114+
"h": 17,
115+
"source": "geoglows_forecast_plot",
116+
"args_string": {
117+
"river_ID": "${river_id}"
118+
},
119+
"metadata_string": {
120+
"backgroundColor": "#dbdbdb",
121+
"customMessaging": {
122+
"anyEmptyVariable": "Click on a river to see the GeoGLOWS forecast"
123+
}
124+
}
125+
}
126+
]
127+
}
128+
]
129+
}

0 commit comments

Comments
 (0)