Running new tsunami model.

112 views
Skip to first unread message

Allayna McFarlane

unread,
Nov 20, 2015, 2:45:49 AM11/20/15
to claw-users
I'm trying to run a tsunami simulation off the coast of Java. I successfully ran the Chile2010 example but now I'm unsure which commands I use and what to change in maketopo.py and setrun.py to accommodate my model. Do I use 'make .data' before I run 'make topo'? Or is that unnecessary?

Allayna

Kyle Mandli

unread,
Nov 20, 2015, 1:52:58 PM11/20/15
to claw-...@googlegroups.com
Hi Allayna,

There a number of parameters in setrun.py that need to be changed to handle a simulation in another part of the world. Furthermore, the maketopo.py file only really handles fetching bathymetry that we have already prepared and a simple fault specification. Probably the best place to start would be the quick-start guide

http://www.clawpack.org/quick_tsunami.html

which will walk you through some of what is needed. The rest of the documentation on GeoClaw will also be helpful

http://www.clawpack.org/contents.html#geoclaw-geophysical-flows

Also take a look at the Jupyter notebook examples for GeoClaw as they will provide guidance on how to deal with the topography and earthquake specification you will need

http://www.clawpack.org/notebooks.html#notebooks

Kyle


> On Nov 20, 2015, at 12:44 AM, Allayna McFarlane <allayna....@gmail.com> wrote:
>
> I'm trying to run a tsunami simulation off the coast of Java. I successfully ran the Chile2010 example but now I'm unsure which commands I use and what to change in maketopo.py and setrun.py to accommodate my model. Do I use 'make .data' before I run 'make topo'? Or is that unnecessary?
>
> Allayna
>
> --
> You received this message because you are subscribed to the Google Groups "claw-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to claw-users+...@googlegroups.com.
> To post to this group, send email to claw-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/claw-users.
> For more options, visit https://groups.google.com/d/optout.

Allayna McFarlane

unread,
Nov 28, 2015, 5:30:10 PM11/28/15
to claw-users
Thank you! The ipython notebook was helpful for generating the dtopo file I needed.  I ran the model, but it doesn't generate any waves.  Do you know what could be the cause of that? Perhaps I didn't run my dtopo correctly?


Allayna
frame.png
djava.csv

Kyle Mandli

unread,
Nov 29, 2015, 5:31:09 PM11/29/15
to claw-...@googlegroups.com
Hi Allayna,

There are number of things that may have gone awry. I would first try plotting the deformation you made via the dtopotools module (check out the notebook to see how to do this again). Once you are reasonable confident that the deformation is placed correctly in time and space then I would proceed to check the settings in the setrun.py file to make sure the dtopo file is being correctly specified. The log files in the _output directory can be useful in this regard as they record in detail what they read in.

Kyle
> --
> You received this message because you are subscribed to the Google Groups "claw-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to claw-users+...@googlegroups.com.
> To post to this group, send email to claw-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/claw-users.
> For more options, visit https://groups.google.com/d/optout.
> <frame.png><djava.csv>

Allayna McFarlane

unread,
Jan 5, 2016, 1:24:02 AM1/5/16
to claw-users
It works great now! I didn't put in proper parameters to create the dtopo file and I also wasn't creating the dtopo file correctly.  The dtopotools module helped me a lot.

Thank you!
Allayna

Allayna McFarlane

unread,
Jan 16, 2016, 7:02:03 PM1/16/16
to claw-users
Also, what are the units the waves are measured in the model? Are they in meters? 

Allayna

On Friday, November 20, 2015 at 12:45:49 AM UTC-7, Allayna McFarlane wrote:

Kyle Mandli

unread,
Jan 16, 2016, 7:16:08 PM1/16/16
to claw-...@googlegroups.com
Hi Allayana,

The default units for something like the Chile example are lat-long in the horizontal and meters in the vertical. This means that the depth and sea-surface are all measured in meters. You can of course change the vertical units by changing the gravitational constant. If you would like different units in the horizontal direction then refer to the coordinate_system parameter which controls the projection and the assumed coordinate system (some kind of plane or on the sphere).

Kyle
> --
> You received this message because you are subscribed to the Google Groups "claw-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to claw-users+...@googlegroups.com.
> To post to this group, send email to claw-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/claw-users.

Allayna McFarlane

unread,
Jan 19, 2016, 11:36:57 AM1/19/16
to claw-users
Thank you.  I'm also trying to plot the Chile2010 example from clawpack-5.3.0 on Google Earth but I get the response:

*** No rule to make target `plot'.  Stop.

I ran 'make .output' and 'make .plots' before I ran 'make plots "SETPLOT_FILE=setplot_kml.py" '.  I also tried 'make plots SETPLOT_FILE=setplot_kml.py' without the quotes.

Am I inputing something wrong?


Allayna


On Friday, November 20, 2015 at 12:45:49 AM UTC-7, Allayna McFarlane wrote:

Donna Calhoun

unread,
Jan 19, 2016, 12:29:00 PM1/19/16
to claw-...@googlegroups.com
HI Alayna, 

The command is “make plots” (not make plot), so that may be part of the problem.  

Your first command : 

      % make plots "SETPLOT_FILE=setplot_kml.py"

should work. If it doesn’t, let me know! 

Donna

Allayna McFarlane

unread,
Jan 19, 2016, 6:22:54 PM1/19/16
to claw-users
I get the same error using that command as well.

Allayna

Donna Calhoun

unread,
Jan 19, 2016, 7:06:32 PM1/19/16
to claw-...@googlegroups.com
Hm... odd, since didn’t you say that “make .output” worked?  

Try : 

     % make -d plots

What do you get? 

Donna

-----------------------------------
Donna Calhoun
Assistant Professor
Department of Mathematics, MG241A
Boise State University
1910 University Drive
Boise, ID 83725-1555
(208) 426-3386
http://math.boisestate.edu/~calhoun
-----------------------------------

Allayna McFarlane

unread,
Jan 19, 2016, 9:39:53 PM1/19/16
to claw-users
Oh I'm sorry, it works great! I was merely in the wrong folder.  The command worked perfectly then.

Allayna

On Friday, November 20, 2015 at 12:45:49 AM UTC-7, Allayna McFarlane wrote:
Reply all
Reply to author
Forward
0 new messages