Changeset 3132
- Timestamp:
- Jun 9, 2006, 4:07:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
production/onslow_2006/run_timeseries.py
r2898 r3132 6 6 7 7 # define directory location of sww and gauge data 8 timestampdir = '20060426_004129' 9 file_loc = project.outputdir + timestampdir + sep #project.outputtimedir 10 swwfile = file_loc + project.basename + '.sww' 11 label_id = timestampdir 8 production_dirs = {'20060426_004129': '1.5 AHD', 9 '20060426_004237': '-1.5 AHD', 10 '20060515_001733': '0 AHD'} 12 11 12 for label_id in production_dirs.keys(): 13 14 file_loc = project.outputdir + label_id + sep 15 swwfile = file_loc + project.basename + '.sww' 16 swwfiles[swwfile] = label_id 17 13 18 # generate figures - see sww2timeseries for documentation 14 texname = sww2timeseries(swwfile,15 16 label_id,17 18 plot_quantity = ['stage', 'velocity', 'bearing'],19 20 21 title_on = True,22 19 sww2timeseries(swwfiles, 20 project.gauge_filename, 21 production_dirs, 22 report = False, 23 plot_quantity = ['stage', 'speed'], 24 time_min = None, 25 time_max = None, 26 title_on = False, 27 verbose = True) 23 28 24 29 print 'finished plotting time series'
Note: See TracChangeset
for help on using the changeset viewer.