Copalis Beach exercise1

Copalis Beach exercise1#

From the GeoClaw Tsunami Tutorial

See CopalisBeach examples for more about the Copalis Beach location and a list of other examples and tutorials based on this location.

The directory $GTT/CopalisBeach/exercise1 contains GeoClaw setrun and setplot functions similar to those used for example 1b in Copalis Beach example1, with the following changes:

  • There is only one Makefile that specifies OUTDIR = _output and PLOTDIR = _plots.

  • There is only one setrun.py that specifies

      clawdata.num_output_times = 6
      clawdata.tfinal = 1.0*3600.
    
      amrdata.amr_levels_max = 6
    

    So it is only refining to Level 6 (3 arcsecond) and only running out to one hour of simulated time.

To run this code#

You should first try running this code as-is. If you have problems with this, please see the following pages:

Exercises#

Warning

Do not modify the code in this directory. You should copy this directory to your own working directory $MYGTT, as explained in Make your own copy before running examples or notebooks, and then make modifications. Otherwise you may run into merge conflicts when you try to update the tutorial repository with a git pull!

You may want to make several copies of this directory to experiment with different modifications.

If you run into problems running the code after moving it, see the suggestions in Running/debugging the Copalis exercise1 code.

Hare are some tings you might try modifying in this example:

  • Add one or more new gauges in the computational domain.

  • The domain used in this example does not cover very much of the ocean, not even the entire region of seafloor deformation defined by the dtopo file. Try enlarging the computational domain to see if that changes the results. (What happens if you enlarge it beyond the region covered by the topo files being used? Remember that the kml files produced by “make data” can help you see how the domain relates to the topo and dtopo files.)

  • Compare different resolutions, refinement ratios, and/or refinement regions.

  • Try shifting this example to a different coastal region. You may need to download different topo files if you move very far.