Additional Exercises
Last Updated: May 2023
Now that you have completed the Map Layout tutorial, try one of the following exercises on your own to improve the usability of the app:
0. Start From Previous Solution (Optional)
If you wish to use the previous solution as a starting point:
git clone https://github.com/tethysplatform/tethysapp-map_layout_tutorial.git cd tethysapp-map_layout_tutorial git checkout -b configure-data-plotting configure-data-plotting-4.2
You'll also need to do the following:
Download the solution version of the sample NextGen data used in this tutorial: sample_nextgen_data_solution.zip.
Save to
tethysapp-map_layout_tutorial/tethysapp/map_layout_tutorial/workspaces/app_workspace
Unzip the contents to the same location
Delete the zip file
Rename the
sample_nextgen_data_solution
tosample_nextgen_data
(i.e. remove "_solution")
1. Add the flowpath data
If you are familiar with the NextGen model outputs - or if you noticed during the Data Prep section, there was a flowpaths.geojson
file in the config
folder and a flowveldepth_HY_Features Test.csv
file in the outputs
folder. Try to tackle incorporating these into your app in the same way we did with the catchment and nexus data.
Good luck!