Version 2 (modified by rwilson, 15 years ago) (diff)


Analysing Results

How do I easily plot "tide gauges" timeseries graphs from a SWW file?

There are two ways to do this.

  1. Create .csv files from the .sww file using {anuga.abstract_2d_finite_volumes.util sww2csv_gauges and then use anuga.abstract_2d_finite_volumes.util csv2timeseries_graphs to create the plots. This code is newer, has unit tests and might be easier to use. Read doc strings for more information and review the "Exploring the Model Output" section of the User Manual.
  1. Use anuga.abstract_2d_finite_volumes.util sww2timeseries to do the whole thing however this doesn't have a much control on the file name and plots. Plus there are no unit tests yet.

Read the doc string for more information.