Changeset 4310 for anuga_work/production/gold_coast_2007/project.py
- Timestamp:
- Mar 21, 2007, 6:25:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/gold_coast_2007/project.py
r4294 r4310 28 28 gc250 = 'dem_250' 29 29 30 # better DEM 31 gc5 = 'dem_5m_ascii' 32 offshore = 'xy_AHD' 33 coastline = 'coastline' 34 30 35 #swollen/ all data output 31 36 basename = 'source' … … 42 47 outputtimedir = outputdir + local_time + sep 43 48 polygondir = home+sep+state+sep+scenario_dir_name+sep+'anuga'+sep+'polygons'+sep 49 alex_datadir = home+sep+state+sep+scenario_dir_name+sep+'elevation_final'+sep+'points'+sep 44 50 45 #gauge_filename = gaugedir + 'sydney_slide_gauges.csv'46 51 codedir = getcwd()+sep 47 52 codedirname = codedir + 'project.py' … … 49 54 50 55 # Necessary if using point datasets, rather than grid 51 gc_dem_name = datadir + gc250 56 gc_dem_name = alex_datadir + gc5 57 offshore_name = datadir + offshore 58 coast_name = datadir + coastline 52 59 combined_dem_name = datadir + 'gc_elevation' 53 60 61 gauge_name = gaugedir + 'gc_gauges.csv' 62 buildings_filename = gaugedir + 'gc_nexis.csv' 63 buildings_filename_out = 'gc_nexis_modified.csv' 54 64 ############################### 55 65 # Domain definitions … … 57 67 58 68 # bounding polygon for study area 59 polyAll = read_polygon(polygondir+'extent .csv')69 polyAll = read_polygon(polygondir+'extentv2.csv') 60 70 61 71 print 'Area of bounding polygon', polygon_area(polyAll)/1000000.0 … … 70 80 print 'Area of local polygon', polygon_area(poly_int)/1000000.0 71 81 82 poly_bathy = read_polygon(polygondir+'mainland_only.csv') 83 72 84 ################################################################### 73 85 # Clipping regions for export to asc and regions for clipping data … … 75 87 76 88 # exporting asc grid 77 eastingmin = 53 845089 eastingmin = 534300 78 90 eastingmax = 546775 79 northingmin = 6890 54080 northingmax = 69 0292591 northingmin = 6890000 92 northingmax = 6912925
Note: See TracChangeset
for help on using the changeset viewer.