Changeset 7268


Ignore:
Timestamp:
Jun 29, 2009, 6:53:16 AM (15 years ago)
Author:
kristy
Message:
 
Location:
anuga_work/production/hobart_2009
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/hobart_2009/Arc_Inundation_polygon.py

    r7083 r7268  
    2828model = 'hobart'
    2929scenario_folder ="\\\\nas2\\gemd\\georisk_models\\inundation\\data\\tasmania\\" + model + "_tsunami_scenario_2009\\"
    30 output_folder = "anuga\\outputs\\"
     30output_folder = scenario_folder + "anuga\\outputs\\"
    3131
    32 time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt'
    33 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt'
    34 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt'
    35 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt'
    36 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt'
    37 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'
     32##time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt'
     33##time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt'
     34##time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt'
     35##time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt'
     36##time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt'
     37##time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'
     38##
     39##time_dirs = [time_dir1, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6]
    3840
    39 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]
     41time_dir1 = '20090619_165107_run_final_0_58260_None_kvanputt'
     42time_dir2 = '20090619_165136_run_final_0.8_58260_None_kvanputt'
     43
     44time_dirs = [time_dir1, time_dir2]
    4045
    4146for time_dir in time_dirs:
  • anuga_work/production/hobart_2009/Arc_asc2raster_GDA94z55.py

    r7128 r7268  
    2626output_dir = "anuga\\outputs\\"
    2727
    28 time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt'
    29 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt'
    30 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt'
    31 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt'
    32 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt'
    33 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'
     28##time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt'
     29##time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt'
     30##time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt'
     31##time_dir4 = '20090505_150517_run_final_0_58292_None_kvanputt'
     32##time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt'
     33##time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'
     34##
     35##time_dirs = [time_dir4] #1, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6]
    3436
    35 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]
    36  
     37time_dir1 = '20090619_165107_run_final_0_58260_None_kvanputt'
     38time_dir2 = '20090619_165136_run_final_0.8_58260_None_kvanputt'
     39
     40time_dirs = [time_dir1, time_dir2]
    3741for time_dir in time_dirs:
    3842    # Local variables...
     
    4044    raster_gbd = folder + 'raster.gdb'
    4145    land_folder = scenario_dir + "ArcGIS\\data.gdb\\Land"
    42     areas = ['Hobart', 'NW', 'South']
     46    areas = ['NW', 'South', 'Hobart'] 
    4347    print time_dir
    4448
     
    8488##        print 'Output Extract ',output_extract
    8589##        gp.ExtractByMask_sa(output_DEM, land, output_extract)
    86 
    87 
     90##
     91##
  • anuga_work/production/hobart_2009/Arc_txt2feature_class_runup.py

    r7120 r7268  
    2020output_folder = "anuga\\outputs\\"
    2121
    22 time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt'
    23 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt'
     22time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt'
     23time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt'
    2424time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt'
    2525time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt'
     
    2727time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'
    2828
    29 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]
     29time_dirs = [time_dir1, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6]
    3030
    3131for time_dir in time_dirs:
     
    3838    layer = 'layer'
    3939
    40 ##    print 'Process: Create File GDB'
    41 ##    gp.CreateFileGDB_management(folder, "raster")
     40    print 'Process: Create File GDB'
     41    gp.CreateFileGDB_management(folder, "raster")
    4242
    4343    print 'Process: Make XY Event Layer'
  • anuga_work/production/hobart_2009/export_results_max.py

    r7246 r7268  
    2121
    2222directory = project.output_folder
    23 time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt'
    24 time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt'
    25 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt'
    26 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt'
    27 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt'
    28 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'
     23time_dir1 = '20090619_165107_run_final_0_58260_None_kvanputt'
     24time_dir2 = '20090619_165136_run_final_0.8_58260_None_kvanputt'
    2925
    30 time_dirs = [time_dir2] #, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6]
     26time_dirs = [time_dir1, time_dir2] #, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6]
    3127 
    3228
     
    8480        for time_dir in time_dirs:
    8581            name1 = join(directory, time_dir, project.scenario_name)
    86             name2 = join(directory, time_dir, project.scenario_name)+'_time_16980_0'
    87             name3 = join(directory, time_dir, project.scenario_name)+'_time_33960_0'
    88             name4 = join(directory, time_dir, project.scenario_name)+'_time_50940_0'
     82            name2 = join(directory, time_dir, project.scenario_name)+'_time_17640_0'
     83##            name3 = join(directory, time_dir, project.scenario_name)+'_time_33960_0'
     84##            name4 = join(directory, time_dir, project.scenario_name)+'_time_50940_0'
    8985           
    90             names = [name1, name2, name3, name4]
     86            names = [name1, name2] #, name3, name4]
    9187     
    9288            asc_name = []   
  • anuga_work/production/hobart_2009/get_runup_v2.py

    r7120 r7268  
    1818directory = project.output_folder
    1919
    20 time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt'
    21 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt'
    22 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt'
    23 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt'
    24 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt'
    25 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'
     20##time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt'
     21##time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt'
     22##time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt'
     23##time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt'
     24##time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt'
     25##time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'
     26##
     27##time_dirs = [time_dir2] #, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]
    2628
    27 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]
     29time_dir1 = '20090619_165107_run_final_0_58260_None_kvanputt'
     30time_dir2 = '20090619_165136_run_final_0.8_58260_None_kvanputt'
    2831
     32time_dirs = [time_dir1, time_dir2]
    2933
    3034# polygons is a dictionary of polygon data indexed by 'id'
  • anuga_work/production/hobart_2009/get_timeseries.py

    r7082 r7268  
    1919directory = project.output_folder
    2020
    21 time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt'
    22 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt'
    23 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt'
    24 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt'
    25 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt'
    26 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'
     21##time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt'
     22##time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt'
     23##time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt'
     24##time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt'
     25##time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt'
     26##time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'
     27##
     28##time_dirs = [time_dir3] #3, time_dir4, time_dir5, time_dir6]
    2729
    28 time_dirs = [time_dir1, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6]
    29  
     30time_dir1 = '20090619_165107_run_final_0_58260_None_kvanputt'
     31time_dir2 = '20090619_165136_run_final_0.8_58260_None_kvanputt'
     32
     33time_dirs = [time_dir2] #, time_dir2]
     34
    3035print 'time directories', time_dirs
    3136
  • anuga_work/production/hobart_2009/project.py

    r7147 r7268  
    3434tide = 0.8                # difference between MSL and HAT in metres
    3535zone = 55               # specify UTM zone of model
    36 event_number = 58292    # 58280, 64477 the event number or the mux file name
     36event_number = 58260    # 58280, 64477 the event number or the mux file name
    3737alpha = 0.1             # smoothing parameter for mesh
    3838friction=0.01           # manning's friction coefficient
     
    123123# LAND - used to set the initial stage/water to be offcoast only
    124124# Used in run_model.py.  Format for points easting,northing (no header)
    125 land_initial_conditions_filename = 'initial_conditions.txt'
     125land_initial_conditions_filename = 'initial_conditions.csv'
    126126
    127127# GAUGES - for creating timeseries at a specific point
    128128# Used in get_timeseries.py. 
    129129# Format easting,northing,name,elevation (with header)
    130 gauges_filename = 'time_of_arrival_hobart.csv' #'TideGaugesPoints.csv' #'tsunamipointsMGA.csv'
     130gauges_filename = 'time_of_arrival_all.csv' #'TideGaugesPoints.csv' #'tsunamipointsMGA.csv'
    131131
    132132# BUILDINGS EXPOSURE - for identifying inundated houses
Note: See TracChangeset for help on using the changeset viewer.