Changeset 3769
- Timestamp:
- Oct 13, 2006, 12:24:30 PM (18 years ago)
- Location:
- anuga_work/production
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/broome_2006/project.py
r3669 r3769 6 6 #from anuga.utilities.polygon import read_polygon 7 7 import sys 8 from anuga.pmesh.create_mesh import convert_ points_from_latlon_to_utm8 from anuga.pmesh.create_mesh import convert_from_latlon_to_utm 9 9 from anuga.coordinate_transforms.redfearn import degminsec2decimal_degrees 10 10 from time import localtime, strftime -
anuga_work/production/hobart_2006/project.py
r3732 r3769 8 8 from time import localtime, strftime, gmtime 9 9 from anuga.utilities.polygon import read_polygon, plot_polygons, polygon_area 10 from anuga.coordinate_transforms.redfearn import degminsec2decimal_degrees, convert_points_from_latlon_to_utm 10 from anuga.coordinate_transforms.redfearn import degminsec2decimal_degrees 11 from anuga.coordinate_transforms.redfearn import convert_from_latlon_to_utm 11 12 12 13 if sys.platform == 'win32': … … 139 140 d2 = [north, east] 140 141 d3 = [north, west] 141 polyAll2, zone = convert_ points_from_latlon_to_utm([d0, d1, d2, d3])142 polyAll2, zone = convert_from_latlon_to_utm([d0, d1, d2, d3]) 142 143 refzone = zone 143 144 -
anuga_work/production/onslow_2006/make_gauges.py
r3535 r3769 7 7 from anuga.utilities.polygon import poly_xy, is_inside_polygon 8 8 from Numeric import arange 9 from anuga.pmesh.create_mesh import convert_ points_from_latlon_to_utm9 from anuga.pmesh.create_mesh import convert_from_latlon_to_utm 10 10 11 11 x_bound, y_bound = poly_xy(project.polyAll) … … 19 19 p2 = [MOST_north, MOST_east] 20 20 p3 = [MOST_north, MOST_west] 21 MOSTpoly, zone = convert_ points_from_latlon_to_utm([p0, p1, p2, p3])21 MOSTpoly, zone = convert_from_latlon_to_utm([p0, p1, p2, p3]) 22 22 23 23 MOSTymax = 0 -
anuga_work/production/onslow_2006/plot_data_extent.py
r3535 r3769 1 1 from pylab import * 2 2 from anuga.geospatial_data.geospatial_data import * 3 from anuga.pmesh.create_mesh import convert_ points_from_latlon_to_utm3 from anuga.pmesh.create_mesh import convert_from_latlon_to_utm 4 4 from anuga.coordinate_transforms.redfearn import degminsec2decimal_degrees 5 5 from os import sep -
anuga_work/production/onslow_2006/project.py
r3669 r3769 8 8 import sys 9 9 10 from anuga.coordinate_transforms.redfearn import convert_ points_from_latlon_to_utm10 from anuga.coordinate_transforms.redfearn import convert_from_latlon_to_utm 11 11 12 12 from anuga.coordinate_transforms.redfearn import degminsec2decimal_degrees -
anuga_work/production/sydney_2006/project.py
r3669 r3769 8 8 import sys 9 9 10 from anuga.pmesh.create_mesh import convert_ points_from_latlon_to_utm10 from anuga.pmesh.create_mesh import convert_from_latlon_to_utm 11 11 12 12 … … 92 92 p3 = [north, west] 93 93 94 polygonall, zone = convert_ points_from_latlon_to_utm([p0, p1, p2, p3])94 polygonall, zone = convert_from_latlon_to_utm([p0, p1, p2, p3]) 95 95 refzone = zone 96 96 … … 122 122 dp12 = [dsouth2, deast2] 123 123 dp34 = [dnorth, deast2] 124 diffpolygonall, zone = convert_ points_from_latlon_to_utm([dp0, dp1, dp2, dp3, dp4, dp5, dp6, dp7])124 diffpolygonall, zone = convert_from_latlon_to_utm([dp0, dp1, dp2, dp3, dp4, dp5, dp6, dp7]) 125 125 # used for new tests 4 April 2006 (ensure slump contained in domain) 126 diffpolygonall2, zone = convert_ points_from_latlon_to_utm([dp0, dp1, dp12, dp34, dp4, dp5, dp6, dp7])126 diffpolygonall2, zone = convert_from_latlon_to_utm([dp0, dp1, dp12, dp34, dp4, dp5, dp6, dp7]) 127 127 128 128 # clipping used for look at increasingly finer resolution … … 389 389 k142 = [harbour_15x, harbour_15y] 390 390 391 harbour_polygon_2, zone = convert_ points_from_latlon_to_utm([k02, k112, k122, k12, k22, k62, k72, k82, k102, k42, k52]) #worked391 harbour_polygon_2, zone = convert_from_latlon_to_utm([k02, k112, k122, k12, k22, k62, k72, k82, k102, k42, k52]) #worked 392 392 assert zone == refzone 393 393 … … 426 426 j92 = [bb_10x, bb_10y] 427 427 428 botanybay_polygon_2, zone = convert_ points_from_latlon_to_utm([j92, j12, j22, j62, j82, j72, j42]) # worked428 botanybay_polygon_2, zone = convert_from_latlon_to_utm([j92, j12, j22, j62, j82, j72, j42]) # worked 429 429 430 430 … … 450 450 hp2 = [hnorth, heast] 451 451 hp3 = [hnorth, hwest] 452 polygon_h, zone = convert_ points_from_latlon_to_utm([hp0, hp1, hp2, hp3])452 polygon_h, zone = convert_from_latlon_to_utm([hp0, hp1, hp2, hp3]) 453 453 454 454 #Interior regions - the Harbour - take 1 … … 470 470 k3 = [harbour_north, harbour_west] 471 471 472 harbour_polygon, zone = convert_ points_from_latlon_to_utm([k0, k1, k2, k3])472 harbour_polygon, zone = convert_from_latlon_to_utm([k0, k1, k2, k3]) 473 473 474 474 # setting up problem area for doing just around Botany Bay … … 482 482 bp2 = [bnorth, beast] 483 483 bp3 = [bnorth, bwest] 484 polygon_bb, zone = convert_ points_from_latlon_to_utm([bp0, bp1, bp2, bp3])484 polygon_bb, zone = convert_from_latlon_to_utm([bp0, bp1, bp2, bp3]) 485 485 486 486 #Interior region - Botany Bay - take 1 … … 495 495 j3 = [botanybay_north, botanybay_west] 496 496 497 botanybay_polygon, zone = convert_ points_from_latlon_to_utm([j0, j1, j2, j3])497 botanybay_polygon, zone = convert_from_latlon_to_utm([j0, j1, j2, j3]) 498 498 assert zone == refzone 499 499
Note: See TracChangeset
for help on using the changeset viewer.