Changeset 3669 for anuga_work/production/onslow_2006/project.py
- Timestamp:
- Sep 26, 2006, 11:30:09 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/onslow_2006/project.py
r3650 r3669 49 49 user = getenv('LOGNAME') 50 50 print 'USER:', user 51 52 # INUNDATIONHOME is the inundation directory, not the data directory. 53 home += sep +'data' 51 54 52 55 #Derive subdirectories and filenames … … 134 137 n_max_area = 7610000 135 138 136 # region to export to make elevation map: JS 22/9/06 139 # region to export to make elevation map: JS 22/9/06 - NOTE, this won't 140 # work as region needs to be inside bounding box (polyAll)!! 137 141 138 142 e_min_area = 240000 … … 140 144 n_min_area = 7580000 141 145 n_max_area = 7690000 142 146 export_region = [[e_min_area, n_min_area], 147 [e_min_area, n_max_area], 148 [e_max_area, n_max_area], 149 [e_max_area, n_min_area]] 143 150 #Georeferencing 144 151 from anuga.coordinate_transforms.redfearn import degminsec2decimal_degrees … … 157 164 polyAll = [d0, d1, d2, d3, d4, d5, d6] 158 165 166 polygons = [polyAll, export_region] 167 figname = 'checking.png' 168 from anuga.utilities.polygon import plot_polygons 169 plot_polygons(polygons, figname, verbose = False) 170 print figname 159 171 #Interior region - Onslow town 160 172
Note: See TracChangeset
for help on using the changeset viewer.