Changeset 6845


Ignore:
Timestamp:
Apr 21, 2009, 9:23:41 AM (14 years ago)
Author:
kristy
Message:

updated max scripts

Location:
anuga_work/production/australia_ph2
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/australia_ph2/adelaide/export_results_max.py

    r6387 r6845  
    2222directory = project.output_folder
    2323
    24 ##time_dir1 = '20081217_101310_run_final_0_27283_250m_none_dt_kvanputt'
    25 ##time_dir2 = '20081217_115336_run_final_0_27283_250m_none_dp_kvanputt'
    26 ###time_dir1 = '20080924_123626_run_final_0_27283_250m_all_kvanputt' # This uses the 250m bathymetry with all interior polygons
    27 ###time_dir2 = '20080912_154716_run_final_0_27283_alpha0.1_kvanputt' # This uses original bathyemetry data
    28 ###time_dir3 = '20080924_123601_run_final_0_27283_250m_none_kvanputt' # This uses the 250m bathymetry without any interior polygons
    29 ##time_dirs = [time_dir1, time_dir2]#, time_dir3]
     24time_dir1 = '20090414_104456_run_final_0_27346_1936_Tb__kvanputt'
     25time_dir2 = '20090416_012314_run_final_0_58334_1936_Tb__kvanputt'
     26time_dir3 = '20090417_082435_run_final_0_64322_1936_Tb__kvanputt'
    3027
    31 time_dir1 = '20090130_165532_run_final_0.6_27255_extend_dt_kvanputt'
    32 ##time_dir2 = '20081211_162311_run_final_0_27255_alpha0.1_kvanputt'
    33 ##time_dir3 = '20081211_162346_run_final_0_68693_alpha0.1_kvanputt'
    34 ##time_dir4 = '20081211_162433_run_final_0.6_68693_alpha0.1_kvanputt'
    35 ##time_dir5 = '20081211_162656_run_final_0.6_27283_alpha0.1_kvanputt'
    36 ##time_dir6 = '20081211_162744_run_final_0_27283_alpha0.1_kvanputt'
    37 ##
    38 time_dirs = [time_dir1] #5, time_dir4]# , time_dir4, time_dir5, time_dir6]
    39  
     28time_dirs = [time_dir1, time_dir2, time_dir3]
    4029
    4130cellsize = 250
    4231##cellsize = 5
    4332
    44 #timestep = None    # None means no timestep!
    45 timestep = 0
     33timestep = None    # None means no timestep!
     34#timestep = 0
    4635
    4736######
     
    6352
    6453# one or more key strings from var_equations above
    65 var = ['elevation']
     54var = ['stage']
    6655
    6756######
     
    9382
    9483            name1 = join(directory, time_dir, project.scenario_name)
    95             #name2 = join(directory, time_dir, project.scenario_name)+'_time_39600_0'
    96             #name3 = join(directory, time_dir, project.scenario_name)+'_time_79200_0'
     84            name2 = join(directory, time_dir, project.scenario_name)+'_time_10920_0'
     85            name3 = join(directory, time_dir, project.scenario_name)+'_time_21840_0'
     86            name4 = join(directory, time_dir, project.scenario_name)+'_time_32760_0'
     87            name5 = join(directory, time_dir, project.scenario_name)+'_time_43680_0'
     88            name6 = join(directory, time_dir, project.scenario_name)+'_time_54600_0'
     89           
     90            names = [name1, name2, name3, name4, name5, name6]
    9791
    98             names = [name1] #, name2]#, name3]
    99      
    100            # asc_name = []   
    101                
     92            asc_name = []   
     93
    10294            for name in names:
    103                          
     95               
    10496                outname = name + '_' + which_area + '_' + which_var
    10597                quantityname = var_equations[which_var]
     
    119111                            format = 'asc')
    120112
    121 ##                asc_name.append(outname + '.asc')
    122 ##   
    123 ##            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
    124 ##
    125 ##            print 'max asc outname ', maxasc_outname
    126 ##            print 'asc_name ', str(asc_name)
    127 ##           
    128 ##            MaxAsc(maxasc_outname, asc_name)
     113                asc_name.append(outname + '.asc')
     114   
     115            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
     116
     117            print 'max asc outname ', maxasc_outname
     118            print 'asc_name ', str(asc_name)
     119           
     120            MaxAsc(maxasc_outname, asc_name)
     121     
  • anuga_work/production/australia_ph2/bamaga/export_results_max.py

    r6835 r6845  
    8686            names = [name1, name2]
    8787
     88            asc_name = []
     89
    8890            for name in names:
    8991               
     
    105107                            format = 'asc')
    106108
     109                asc_name.append(outname + '.asc')
     110   
     111            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
     112
     113            print 'max asc outname ', maxasc_outname
     114            print 'asc_name ', str(asc_name)
     115           
     116            MaxAsc(maxasc_outname, asc_name)
    107117             
  • anuga_work/production/australia_ph2/broome/export_results_max.py

    r6835 r6845  
    8686            names = [name1, name2]
    8787
     88            asc_name = []
     89           
    8890            for name in names:
    8991               
     
    105107                            format = 'asc')
    106108
     109                asc_name.append(outname + '.asc')
     110   
     111            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
     112
     113            print 'max asc outname ', maxasc_outname
     114            print 'asc_name ', str(asc_name)
     115           
     116            MaxAsc(maxasc_outname, asc_name)
    107117             
  • anuga_work/production/australia_ph2/derby/export_results_max.py

    r6835 r6845  
    8787            names = [name1, name2, name3]
    8888
     89            asc_name = []
     90           
    8991            for name in names:
    9092               
     
    106108                            format = 'asc')
    107109
     110                asc_name.append(outname + '.asc')
     111   
     112            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
     113
     114            print 'max asc outname ', maxasc_outname
     115            print 'asc_name ', str(asc_name)
     116           
     117            MaxAsc(maxasc_outname, asc_name)
    108118             
     119
     120
     121             
  • anuga_work/production/australia_ph2/geraldton/export_results_max.py

    r6835 r6845  
    8686            names = [name1, name2]
    8787
     88            asc_name = []
     89           
    8890            for name in names:
    8991               
     
    105107                            format = 'asc')
    106108
    107              
     109                asc_name.append(outname + '.asc')
     110   
     111            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
     112
     113            print 'max asc outname ', maxasc_outname
     114            print 'asc_name ', str(asc_name)
     115           
     116            MaxAsc(maxasc_outname, asc_name)
  • anuga_work/production/australia_ph2/onslow/export_results_max.py

    r6835 r6845  
    8686            names = [name1, name2]
    8787
     88            asc_name = []
     89
    8890            for name in names:
    8991               
     
    105107                            format = 'asc')
    106108
     109                asc_name.append(outname + '.asc')
     110   
     111            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
     112
     113            print 'max asc outname ', maxasc_outname
     114            print 'asc_name ', str(asc_name)
     115           
     116            MaxAsc(maxasc_outname, asc_name)
    107117             
     118             
  • anuga_work/production/australia_ph2/perth/export_results_max.py

    r6835 r6845  
    8282
    8383            name1 = join(directory, time_dir, project.scenario_name)
    84             name2 = join(directory, time_dir, project.scenario_name)+'_time_546600_0'
     84            name2 = join(directory, time_dir, project.scenario_name)+'_time_54660_0'
    8585
    8686            names = [name1, name2]
    8787
     88            asc_name = []
     89           
    8890            for name in names:
    8991               
     
    105107                            format = 'asc')
    106108
     109                asc_name.append(outname + '.asc')
     110   
     111            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
     112
     113            print 'max asc outname ', maxasc_outname
     114            print 'asc_name ', str(asc_name)
     115           
     116            MaxAsc(maxasc_outname, asc_name)
    107117             
  • anuga_work/production/australia_ph2/rockhampton/export_results_max.py

    r6835 r6845  
    8686            names = [name1, name2]
    8787
     88            asc_name = []
     89           
    8890            for name in names:
    8991               
     
    105107                            format = 'asc')
    106108
     109                asc_name.append(outname + '.asc')
     110   
     111            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
     112
     113            print 'max asc outname ', maxasc_outname
     114            print 'asc_name ', str(asc_name)
     115           
     116            MaxAsc(maxasc_outname, asc_name)
    107117             
     118
     119             
Note: See TracChangeset for help on using the changeset viewer.