- Timestamp:
- Oct 9, 2009, 5:17:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/wa/mandurah_2009/build_elevation.py
r7545 r7546 64 64 geospatial_data[filename] = G_grid.clip(project.bounding_polygon) 65 65 66 # 66 #Create Geospatial data from TXT files 67 67 if not project.point_filenames == []: 68 68 for filename in project.point_filenames: … … 79 79 print 'Add geospatial objects' # except', project.offshore_name5 80 80 G = None 81 G1 = None 82 G2 = None 81 83 for key in geospatial_data: 82 #if key == project.point_filenames[4] or key == project.ascii_filenames[1]: 83 # # Skip these files for now 84 # continue 84 if key == 'm_peel_1m': 85 G1 = geospatial_data[key].clip(project.clip_box) 86 87 if key == 'ph10mex_clipped': 88 G2 = geospatial_data[key].clip_outside(project.clip_box) 89 90 G += geospatial_data[key] 91 G = G + G1 + G2 85 92 86 G += geospatial_data[key]87 88 #print 'Clip combined geospatial data'89 ##G_clip = G.clip_outside(project.poly_aoi1)90 ##G_all = G_clip + geospatial_data[project.point_filenames[4]]91 #G_clipped = G_all.clip(project.poly_all)92 #G_clip = G.clip(project.bounding_polygon)93 94 95 93 print 'Export combined DEM file' 96 94 G.export_points_file(project.combined_elevation + '.pts') … … 98 96 # Use for comparision in ARC 99 97 G.export_points_file(project.combined_elevation + '.txt') 100
Note: See TracChangeset
for help on using the changeset viewer.