source: anuga_work/production/dampier_2006/get_timeseries_redone.py @ 6748

Last change on this file since 6748 was 4545, checked in by duncan, 18 years ago

work for ticket#151

File size: 832 bytes
Line 
1"""
2Generate images of "gauges" for production run
3
4Inputs:
5
6production dirs: dictionary of production directories with a
7                 association to that simulation run, eg high tide,
8                 low tide and MSL.
9                   
10Outputs:
11
12* figures used for report stored in the report_figure directory
13
14"""
15from os import getcwd, sep, altsep, mkdir, access, F_OK
16import project
17from anuga.shallow_water.data_manager import get_timeseries
18
19# Create report directory
20reportdir = getcwd()+sep+'report'+sep
21if access(reportdir,F_OK) == 0:
22    mkdir (reportdir)
23   
24   
25production_dirs = { 'dsg': 'URS boundary normal'  }
26plot_quantity = ['stage', 'momentum']
27get_timeseries(production_dirs, project.output_dir, project.scenario_name,
28               project.gauges_dir_name, plot_quantity)
Note: See TracBrowser for help on using the repository browser.