Australian Government, Geoscience Australia  

Tsunami Modelling Methodology Validation: GERALDTON


Analysis Scripts

There are number of analysis scripts on this disk that can be used to extract information from the ANUGA output (SWW) files produced by a simulation run. These scripts are not meant to be the definitive answer on how to get information from SWW files, but are offered as an example of one way to do it.

This page describes the scripts and shows how to use them. Note that due to the ad-hoc nature of the scripts, you must modify these scripts before they can be used to extract information from any SWW files you generate.

export_results_max.py

The export_results_max.py script can be used to create an ASCI (.asc) file that contains the maximum of an ANUGA variable or expression for each point in a user-defined grid on the simulation region. ASCI files can then be imported into a GIS environment.

Certain values within the export_results_max.py file must be changed to align with the correct output files:

get_timeseries.py

The get_timeseries.py script is used to get timeseries data for a selection of variable data at one or more timeseries gauge points in a simulation.

Certain values within the export_results_max.py file must be changed to align with the correct output files:


Creative Commons License
© Commonwealth of Australia (Geoscience Australia) 2010. This material is licensed under a Creative Commons Attribution-Noncommercial 3.0 Australia License.