|
--------------------------------------------------------------
Simple Long Ocean Wave Model (slowmo)
--------------------------------------------------------------
PLEASE SEE COPYRIGHT STATEMENT AT END OF FILE
--------------------------------------------------------------
Introduction
------------
This application calculates the travel time for a tsunami to
surrounding areas. The travel time is subsequently plotted as
a contour plot. The application can be run as a web server
and accessed using a web browser.
slowmo is written in Python and is free software distributed
under the GNU General Public Licence.
Installing slowmo
-----------------
Please refer to the INSTALL file.
Running slowmo in command line mode
-----------------------------------
Go to the directory where you want your output files placed and run:
tsunami.py longitude latitude
This will produce a global map of travel times originating from the
specified longitude and latitude using the full 5 minutes bathymetry.
5 minutes correspond to a spatial resolution of 9.26 kilometers at
the equator.
A full global calculation can be quite cpu and memory consuming. It
is therefore recommended that you either specify a subdomain by
using the option
--window=WINDOW
or that you subsample the bathymetry (so that you do not use every
point in the bathymetry) using the option
--subsample=SUBSAMPLE
The units for WINDOW are degrees while SUBSAMPLE is an integer. You
can experiment with the options on your own computer to produce
results that are satisfactory for your purposes.
Running slowmo in web server mode
---------------------------------
It is also possible to run the application as a web server. It is
then possible to use a web browser as the interface. To do this
you should change to a directory where you have write permissions
and want temporary output files placed (use an empty directory so
that you don't overwrite any of your own files). Copy the file
prod.cfg
from the slowmo distribution to the current working directory and
type:
tsunami-server.py
The web server will take some time to start up (it is processing the
bathymetry at start-up). When you see output similar to the following
in the file server.log the server is ready:
2005/09/12 10:10:06 HTTP INFO Serving HTTP on socket: ('', 8080)
You can then access the webserver with your browser on:
http://localhost:8080/
where localhost should be the name of your machine (try localhost if
you don't know it).
Contact information
-------------------
Questions, bug-reports and suggestions should be directed to the
slowmo forums at sourceforge.net or the author.
--------------------------------------------------------------
Copyright (C) 2003 the authors (see AUTHORS file for list)
Simple Long Ocean Wave Model is free software; you can redistribute
it and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Comments are welcome.
- the authors
--------------------------------------------------------------
|