Additional Exercises
Last Updated: July 2024
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 cd tethysapp-map_layout_tutorial git checkout -b configure-data-plotting-solution configure-data-plotting-solution-4.5
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
$TETHYS_HOME/workspaces/map_layout_tutorial/app_workspaceUnzip the contents to the same location
Delete the zip file
Rename the
sample_nextgen_data_solutiontosample_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!