Changeset 4308 for anuga_work/production/dampier_2006/get_timeseries.py
- Timestamp:
- Mar 21, 2007, 2:17:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/dampier_2006/get_timeseries.py
r4282 r4308 23 23 24 24 # sww file created from URS boundary 25 production_dirs = {#'20070206_005106_run': '10000 yr wave height'} 26 '20070223_031527_run': 'URS boundary condition'} 25 production_dirs = {'boundaries': '10000 yr wave height' 26 #'20070307_224017_run': 'URS boundary normal' 27 } 27 28 29 28 30 is_parallel = False 29 31 if is_parallel == True: … … 33 35 swwfiles = {} 34 36 37 #J:\inundation\data\western_australia\onslow_tsunami_scenario_2006\anuga\boundaries SU-AU_high_res1.sww 38 39 #boundary_dir_filename= os.path.join(home,data,state,'onslow_tsunami_scenario_2006',an,bo,'SU-AU_high_res1.sww') 40 #gauges_dir_name_simple = 35 41 if is_parallel == True: 42 print 'buggur' 43 36 44 37 for i in range(nodes):38 print 'Sending node %d of %d' %(i,nodes)39 swwfiles = {}40 #reportname = report_name + '_%s' %(i)41 for label_id in production_dirs.keys():42 if label_id == 'boundaries':43 file_loc = project.boundaries_in_dir44 swwfile = file_loc + sep + '20070223_031527_run' + sep + 'dampier.sww'45 print 'hi'46 #else:47 #file_loc = project.output_dir + label_id + sep48 #sww_extra = '_P%s_%s' %(i,nodes)49 #swwfile = file_loc + project.scenario_name + sww_extra + '.sww'50 swwfiles[swwfile] = label_id51 52 texname, elev_output = sww2timeseries(swwfiles,53 project.gauges_dir_name_test,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)64 65 #latex_output.append(texname)66 67 45 else: 68 46 … … 70 48 71 49 if label_id == 'boundaries': 50 print 'boundaries' 72 51 file_loc = project.boundaries_in_dir 73 swwfile = file_loc + sep + '20070223_031527_run' + sep + 'dampier.sww' 52 swwfile = project.boundaries_dir_name3 + '.sww' 53 # swwfile = boundary_dir_filename 74 54 else: 75 55 file_loc = project.output_dir + label_id + sep … … 78 58 79 59 texname, elev_output = sww2timeseries(swwfiles, 80 project.gauges_dir_name_ test,60 project.gauges_dir_name_simple, 81 61 production_dirs, 82 62 report = False, 83 63 #reportname = report_name, 84 plot_quantity = ['stage', 'momentum'], 64 # plot_quantity = ['stage', 'momentum'], 65 plot_quantity = ['stage', 'xmomentum', 'ymomentum'], 85 66 surface = False, 86 67 time_min = None, … … 88 69 title_on = False, 89 70 verbose = True) 71
Note: See TracChangeset
for help on using the changeset viewer.