Changeset 4247 for anuga_work/production/dampier_2006/get_timeseries.py
- Timestamp:
- Feb 9, 2007, 2:46:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/dampier_2006/get_timeseries.py
r4222 r4247 23 23 24 24 # sww file created from URS boundary 25 production_dirs = { '20070129_063817_run': '10000 yr wave height',25 production_dirs = {#'20070206_005106_run': '10000 yr wave height'} 26 26 'boundaries': 'URS boundary condition'} 27 27 28 is_parallel = True28 is_parallel = False 29 29 if is_parallel == True: 30 nodes = 830 nodes = 2 31 31 32 32 # Generate figures … … 42 42 if label_id == 'boundaries': 43 43 file_loc = project.boundaries_in_dir 44 swwfile = file_loc + sep + 'o.sww' 45 else: 46 file_loc = project.output_dir + label_id + sep 47 sww_extra = '_P%s_%s' %(i,nodes) 48 swwfile = file_loc + project.scenario_name + sww_extra + '.sww' 44 swwfile = file_loc + sep + '20061102_221245_build' + sep + 'dampier.sww' 45 print 'hi' 46 #else: 47 #file_loc = project.output_dir + label_id + sep 48 #sww_extra = '_P%s_%s' %(i,nodes) 49 #swwfile = file_loc + project.scenario_name + sww_extra + '.sww' 49 50 swwfiles[swwfile] = label_id 50 51 51 texname, elev_output = sww2timeseries(swwfiles, 52 project.gauges_dir_name, 53 production_dirs, 54 report = False, 55 #reportname = reportname, 56 plot_quantity = ['stage', 'momentum'], 57 surface = False, 58 time_min = None, 59 time_max = None, 60 title_on = False, 61 verbose = True) 52 texname, elev_output = sww2timeseries(swwfiles, 53 project.gauges_dir_name, 54 production_dirs, 55 report = False, 56 #reportname = reportname, 57 plot_quantity = ['stage', 'momentum'], 58 generate_fig = False, 59 surface = False, 60 time_min = None, 61 time_max = None, 62 title_on = False, 63 verbose = True) 62 64 63 65 #latex_output.append(texname) … … 66 68 67 69 for label_id in production_dirs.keys(): 68 69 file_loc = project.output_dir + label_id + sep 70 swwfile = file_loc + project.scenario_name + '.sww' 70 71 if label_id == 'boundaries': 72 file_loc = project.boundaries_in_dir 73 swwfile = file_loc + sep + '20061102_221245_build' + sep + 'dampier.sww' 74 else: 75 file_loc = project.output_dir + label_id + sep 76 swwfile = file_loc + project.scenario_name + '.sww' 71 77 swwfiles[swwfile] = label_id 72 78
Note: See TracChangeset
for help on using the changeset viewer.