Changeset 6678


Ignore:
Timestamp:
Apr 1, 2009, 2:46:58 PM (15 years ago)
Author:
kristy
Message:
 
Location:
anuga_work/production/busselton/busselton_rerun
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/busselton/busselton_rerun/export_results_max.py

    r6567 r6678  
    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]
    3024
    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]
     25time_dir1 = '20090324_134328_run_final_0.6_27255_Bt_kvanputt'
     26time_dir2 = '20090324_140747_run_final_0.6_68693_Bt_kvanputt'
     27time_dir3 = '20090327_152717_run_final_0.6_27283_Bt_kvanputt'
     28time_dir4 = '20090327_160646_run_final_0_27255_Bt_kvanputt'
     29time_dir5 = '20090327_161520_run_final_0_68693_Bt_kvanputt'
     30time_dir6 = '20090330_120458_run_final_0_27283_Bt_kvanputt'
     31
     32time_dirs = [time_dir1,time_dir2, time_dir3, time_dir4, time_dir5]
    3933 
    4034
    41 cellsize = 250
    42 ##cellsize = 5
     35##cellsize = 250
     36cellsize = 20
    4337
    4438#timestep = None    # None means no timestep!
     
    4943######
    5044
    51 #area = ['Bunbury', 'Busselton']  # strings must match keys in var_equations below
    52 area = ['All']      # 'All' means no special areas - the whole thing
     45area = ['Bunbury', 'Busselton']  # strings must match keys in var_equations below
     46#area = ['All']      # 'All' means no special areas - the whole thing
    5347
    5448######
     
    6357
    6458# one or more key strings from var_equations above
    65 var = ['elevation']
     59var = ['depth', 'speed']
    6660
    6761######
     
    9387
    9488            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'
     89            name2 = join(directory, time_dir, project.scenario_name)+'_time_35520_0'
     90            name3 = join(directory, time_dir, project.scenario_name)+'_time_71040_0'
    9791
    98             names = [name1] #, name2]#, name3]
     92            names = [name1, name2, name3]
    9993     
    100            # asc_name = []   
     94            asc_name = []   
    10195               
    10296            for name in names:
     
    119113                            format = 'asc')
    120114
    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)
     115                asc_name.append(outname + '.asc')
     116   
     117            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
     118
     119            print 'max asc outname ', maxasc_outname
     120            print 'asc_name ', str(asc_name)
     121           
     122            MaxAsc(maxasc_outname, asc_name)
  • anuga_work/production/busselton/busselton_rerun/project.py

    r6567 r6678  
    2626# Model specific parameters.
    2727# One or all can be changed each time the run_model script is executed
    28 tide = 0.6              # difference between MSL and HAT in metres
     28tide = 0              # difference between MSL and HAT in metres
    2929zone = 50               # specify zone of model
    30 event_number = 68693    # the event number or the mux file name
     30event_number = 27283    # the event number or the mux file name
    3131alpha = 0.1             # smoothing parameter for mesh
    3232friction=0.01           # manning's friction coefficient
     
    5050#-------------------------------------------------------------------------------
    5151
    52 output_comment = [setup, tide, event_number]
     52output_comment = [setup, tide, event_number, 'Bt']
    5353
    5454#-------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.