Changeset 7083


Ignore:
Timestamp:
May 26, 2009, 11:02:53 AM (11 years ago)
Author:
kristy
Message:

Arc scripts updated

Location:
anuga_work/production/hobart_2009
Files:
1 added
1 edited
1 moved

Legend:

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

    r7082 r7083  
    2626
    2727# Script arguments...
     28model = 'hobart'
     29scenario_folder ="\\\\nas2\\gemd\\georisk_models\\inundation\\data\\tasmania\\" + model + "_tsunami_scenario_2009\\"
     30output_folder = "anuga\\outputs\\"
     31
    2832time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt'
    2933time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt'
     
    3539time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]
    3640
    37 community = 'hobart'
    38 scenario = "\\\\nas2\\gemd\\georisk_models\\inundation\\data\\tasmania\\" + community +"_tsunami_scenario_2009\\"
    39 output_folder = scenario + "anuga\\outputs\\"
    40 
    41 
    4241for time_dir in time_dirs:
    4342    print "time_dir = ",time_dir
     
    4746    locations = ['Hobart', 'NW', 'South']
    4847    # polygon clip
    49     extent = scenario + "ArcGIS\\data.gdb\\PriorityAreasHobart"
     48    extent = scenario_folder + "ArcGIS\\data.gdb\\PriorityAreasHobart"
    5049    # name of rasters
    5150    for location in locations:
  • anuga_work/production/hobart_2009/Arc_asc2raster_GDA94z55.py

    r7082 r7083  
    2222gp.overwriteoutput = 1
    2323
    24 scenario_dir = "\\\\nas2\\gemd\\georisk_models\\inundation\\data\\tasmania\\hobart_tsunami_scenario_2009\\"
    25 output_dir="anuga\\outputs\\"
     24model = 'hobart'
     25scenario_dir="\\\\nas2\\gemd\\georisk_models\\inundation\\data\\tasmania\\" + model + "_tsunami_scenario_2009\\"
     26output_dir = "anuga\\outputs\\"
    2627
    2728time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt'
     
    5556        generate_filename = []
    5657
    57         infile = folder + 'hobart_' + area + '_elevation.asc'
     58        infile = folder + model + '_' + area + '_elevation.asc'
    5859               
    5960        output_DEM = os.path.basename(infile)[:-4]
Note: See TracChangeset for help on using the changeset viewer.