- Timestamp:
- Dec 1, 2008, 11:48:14 AM (16 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/geraldton/Arc_asc2raster_GDA94z50.py
r6027 r6041 26 26 27 27 28 time_dir1 = '20081117_141 443_run_final_0.6_27283_alpha0.1_kvanputt'29 ##time_dir2 = '' 30 ##time_dir3 = ''31 ##time_dir4 = ''32 ##time_dir5 = ''33 ##time_dir6 = ''28 time_dir1 = '20081117_141353_run_final_0_27283_alpha0.1_kvanputt' 29 time_dir2 = '20081117_141443_run_final_0.6_27283_alpha0.1_kvanputt' 30 time_dir3 = '20081117_141520_run_final_0_27255_alpha0.1_kvanputt' 31 time_dir4 = '20081117_141558_run_final_0.6_27255_alpha0.1_kvanputt' 32 time_dir5 = '20081117_141634_run_final_0_68693_alpha0.1_kvanputt' 33 time_dir6 = '20081117_141717_run_final_0.6_68693_alpha0.1_kvanputt' 34 34 35 time_dirs = [time_dir1 ] #, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]36 35 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6] 36 37 37 for time_dir in time_dirs: 38 38 … … 43 43 44 44 # Process: Create File GDB... 45 gp.CreateFileGDB_management(folder, "raster")45 #gp.CreateFileGDB_management(folder, "raster") 46 46 47 47 gp.Workspace = raster_gbd … … 56 56 57 57 generate_filename = [] 58 input_ascii = glob.glob(folder + '* .asc')58 input_ascii = glob.glob(folder + '*max.asc') 59 59 60 60 for infile in input_ascii: … … 70 70 print 'Output DEM ',output_DEM 71 71 output_extract = output_DEM + 'E' 72 ##print 'Output Extract ',output_extract72 print 'Output Extract ',output_extract 73 73 74 74 print 'Process: ASCII to Raster' … … 80 80 ",PARAMETER['Latitude_Of_Origin',0.0],UNIT['Meter',1.0]]") 81 81 82 ##print 'Process: Extract by Mask'83 ##gp.ExtractByMask_sa(output_DEM, land, output_extract)82 print 'Process: Extract by Mask' 83 gp.ExtractByMask_sa(output_DEM, land, output_extract) 84 84 85 85
Note: See TracChangeset
for help on using the changeset viewer.