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:

  1. Download the solution version of the sample NextGen data used in this tutorial: sample_nextgen_data_solution.zip.

  2. Save to tethysapp-map_layout_tutorial/tethysapp/map_layout_tutorial/workspaces/app_workspace

  3. Unzip the contents to the same location

  4. Delete the zip file

  5. Rename the sample_nextgen_data_solution to sample_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!