Changeset 7319


Ignore:
Timestamp:
Jul 22, 2009, 2:31:50 PM (15 years ago)
Author:
kristy
Message:

change setup to yieldstep 30

Location:
anuga_work/production/australia_ph2/dampier/new
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/australia_ph2/dampier/new/Arc_asc2raster_GDA94z50.py

    r6865 r7319  
    2222gp.overwriteoutput = 0
    2323
    24 scenario_dir = "\\\\nas2\\gemd\\georisk_models\\inundation\\data\\australia_ph2\\ceduna\\"
     24scenario_dir = "\\\\nas2\\gemd\\georisk_models\\inundation\\data\\australia_ph2\\dampier\\"
    2525output_dir="anuga\\outputs\\"
    2626
    27 time_dir1 = '20090225_153629_run_final_0_64469_mhingee'
     27time_dir1 = '20090615_132815_run_final_30_0_70844_1307_Tb_internal_kvanputt'
     28time_dir2 = '20090615_132942_run_final_30_0_27338_1307_Tb_internal_kvanputt'
     29time_dir3 = '20090615_133052_run_final_30_0_70337_1307_Tb_internal_kvanputt'
    2830
    29 time_dirs = [time_dir1] #, time_dir2] #4, time_dir5] #, time_dir3, time_dir4, time_dir5, time_dir6]
     31time_dirs = [time_dir1, time_dir2, time_dir3] #, time_dir3, time_dir4, time_dir5, time_dir6]
    3032 
    3133for time_dir in time_dirs:
     
    4648   
    4749    #replication dictionary
    48     replicate = (('ceduna', ''),('_', ''),
     50    replicate = (('dampier', ''),('_', ''),
    4951                 ('depth','_depth'),('speed', '_speed'),
    5052                 ('elevation', '_ele_'), ('stage','_stage'))
    5153
    5254    generate_filename = []
    53     input_ascii = glob.glob(folder + '*.asc')
     55    input_ascii = glob.glob(folder + '*max.asc')
    5456
    5557    for infile in input_ascii:
     
    6971
    7072        print 'Process: Define Projection'
    71         gp.DefineProjection_management(output_DEM, "PROJCS['GDA_1994_MGA_Zone_53',GEOGCS['GCS_GDA_1994',DATUM['D_GDA_1994',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]]"
    72                                                    ",PROJECTION['Transverse_Mercator'],PARAMETER['False_Easting',500000.0],PARAMETER['False_Northing',10000000.0],PARAMETER['Central_Meridian',135.0],PARAMETER['Scale_Factor',0.9996]"
     73        gp.DefineProjection_management(output_DEM, "PROJCS['GDA_1994_MGA_Zone_50',GEOGCS['GCS_GDA_1994',DATUM['D_GDA_1994',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]]"
     74                                                   ",PROJECTION['Transverse_Mercator'],PARAMETER['False_Easting',500000.0],PARAMETER['False_Northing',10000000.0],PARAMETER['Central_Meridian',117.0],PARAMETER['Scale_Factor',0.9996]"
    7375                                                   ",PARAMETER['Latitude_Of_Origin',0.0],UNIT['Meter',1.0]]")
    7476##        output_extract = output_DEM + '_E'
  • anuga_work/production/australia_ph2/dampier/new/export_results_max.py

    r6865 r7319  
    2222directory = project.output_folder
    2323
    24 time_dir1 = '20090415_124319_run_final_0_70844_1307_Tb__kvanputt'
    25 time_dir2 = '20090416_072538_run_final_0_27338_1307_Tb__kvanputt'
    26 time_dir3 = '20090417_021634_run_final_0_70337_1307_Tb__kvanputt'
     24time_dir1 = '20090615_132815_run_final_30_0_70844_1307_Tb_internal_kvanputt'
     25time_dir2 = '20090615_132942_run_final_30_0_27338_1307_Tb_internal_kvanputt'
     26time_dir3 = '20090615_133052_run_final_30_0_70337_1307_Tb_internal_kvanputt'
    2727
    2828time_dirs = [time_dir1, time_dir2, time_dir3]
     
    8282
    8383            name1 = join(directory, time_dir, project.scenario_name)
    84             name2 = join(directory, time_dir, project.scenario_name)+'_time_22740_0'
    85             name3 = join(directory, time_dir, project.scenario_name)+'_time_45480_0'
     84            name2 = join(directory, time_dir, project.scenario_name)+'_time_11220_0'
     85            name3 = join(directory, time_dir, project.scenario_name)+'_time_22440_0'
     86            name4 = join(directory, time_dir, project.scenario_name)+'_time_33660_0'
     87            name5 = join(directory, time_dir, project.scenario_name)+'_time_44880_0'
     88            name6 = join(directory, time_dir, project.scenario_name)+'_time_56100_0'
    8689           
    87             names = [name1, name2, name3]
     90            names = [name1, name2, name3, name4, name5, name6]
    8891
    8992            asc_name = []   
  • anuga_work/production/australia_ph2/dampier/new/project.py

    r6874 r7319  
    3232    event_number = int(sys.argv[1])
    3333else:   
    34     event_number = 70844    # the event number or the mux file name
     34    event_number = 70337    # the event number or the mux file name
    3535
    3636event_number_list = [70844, 27338, 70337] # To piggy back multiple events
     
    4141friction=0.01           # manning's friction coefficient
    4242starttime=0             # start time for simulation
    43 finaltime=60000   #60000 # final time for simulation
    44 setup = 'final'         # This can be one of three values
     43finaltime=60000         # final time for simulation
     44setup = 'final_30'      # This can be one of three values
    4545                        #    trial - coarsest mesh, fast
    4646                        #    basic - coarse mesh
  • anuga_work/production/australia_ph2/dampier/new/setup_model.py

    r6865 r7319  
    114114    project.time_thinning = 4
    115115    project.yieldstep = 60
     116elif project.setup == 'final_30':
     117    print 'final'
     118    project.scale_factor = 1
     119    project.time_thinning = 4
     120    project.yieldstep = 30
     121
    116122else:
    117123    print ("Sorry, you must set the 'setup' variable to one of:"
Note: See TracChangeset for help on using the changeset viewer.