Changeset 6390


Ignore:
Timestamp:
Feb 24, 2009, 9:18:06 AM (15 years ago)
Author:
kristy
Message:
 
Location:
anuga_work/production/patong
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/patong/asc2raster_WGS84z47N.py

    r6273 r6390  
    2626
    2727
    28 time_dir1 = '20090130_135044_run_final_0.8_buildings_onielsen'
    29 time_dir2 = '20090123_135355_run_final_0.8_buildings_onielsen'
     28time_dir1 = '20090213_142042_run_final_0.8_buildings_onielsen'
     29#time_dir2 = '20090204_143421_run_final_0.8_buildings_transmissive_onielsen'
    3030
    3131time_dirs = [time_dir1] #, time_dir2]
    32 
     32 
    3333for time_dir in time_dirs:
    3434
     
    5050
    5151    generate_filename = []
    52     input_ascii = glob.glob(folder + '*speed.asc')
     52    input_ascii = glob.glob(folder + '*depth.asc')
    5353
    5454    for infile in input_ascii:
     
    7474                                                   ",PARAMETER['Latitude_Of_Origin',0.0],UNIT['Meter',1.0]]")
    7575
    76 ##        output_extract = output_DEM + 'E'
    77 ##        print 'Output Extract ',output_extract
    78 ##        print 'Process: Extract by Mask'
    79 ##        gp.ExtractByMask_sa(output_DEM, land, output_extract)
     76        output_extract = output_DEM + 'E'
     77        print 'Output Extract ',output_extract
     78        print 'Process: Extract by Mask'
     79        gp.ExtractByMask_sa(output_DEM, land, output_extract)
    8080
    8181
  • anuga_work/production/patong/export_results_max.py

    r6274 r6390  
    2020directory = project.output_dir
    2121
    22 time_dir1 = '20090123_150043_run_final_0.8_nobuildings_onielsen'
    23 time_dir2 = '20090130_135044_run_final_0.8_buildings_onielsen'
     22time_dir1 = '20090213_142042_run_final_0.8_buildings_onielsen'
     23#time_dir2 = '20090204_143421_run_final_0.8_buildings_transmissive_onielsen'
    2424
    25 time_dirs = [time_dir2] #1, time_dir2]
     25time_dirs = [time_dir1]#, time_dir2]
    2626 
    2727
    28 cellsize = 10
    29 #cellsize = 250
     28#cellsize = 10
     29cellsize = 250
    3030
    31 timestep = None    # None means no timestep!
    32 #timestep = 0
     31#timestep = None    # None means no timestep!
     32timestep = 0
    3333
    3434######
     
    3636######
    3737
    38 area = ['CBD' ]  # strings must match keys in var_equations below
    39 #area = ['All']      # 'All' means no special areas - the whole thing
     38#area = ['CBD' ]  # strings must match keys in var_equations below
     39area = ['All']      # 'All' means no special areas - the whole thing
    4040
    4141######
     
    5050
    5151# one or more key strings from var_equations above
    52 var = ['depth', 'speed']
     52var = ['elevation']
    5353
    5454######
Note: See TracChangeset for help on using the changeset viewer.