Changeset 3769


Ignore:
Timestamp:
Oct 13, 2006, 12:24:30 PM (18 years ago)
Author:
ole
Message:

Changed references to convert_points_from_latlon_to_utm to the new convert_from_latlan_to_utm as introduced in changeset:3739

Location:
anuga_work/production
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/broome_2006/project.py

    r3669 r3769  
    66#from anuga.utilities.polygon import read_polygon
    77import sys
    8 from anuga.pmesh.create_mesh import convert_points_from_latlon_to_utm
     8from anuga.pmesh.create_mesh import convert_from_latlon_to_utm
    99from anuga.coordinate_transforms.redfearn import degminsec2decimal_degrees
    1010from time import localtime, strftime
  • anuga_work/production/hobart_2006/project.py

    r3732 r3769  
    88from time import localtime, strftime, gmtime
    99from 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
     10from anuga.coordinate_transforms.redfearn import degminsec2decimal_degrees
     11from anuga.coordinate_transforms.redfearn import convert_from_latlon_to_utm
    1112
    1213if sys.platform == 'win32':
     
    139140d2 = [north, east]
    140141d3 = [north, west]
    141 polyAll2, zone = convert_points_from_latlon_to_utm([d0, d1, d2, d3])
     142polyAll2, zone = convert_from_latlon_to_utm([d0, d1, d2, d3])
    142143refzone = zone
    143144
  • anuga_work/production/onslow_2006/make_gauges.py

    r3535 r3769  
    77from anuga.utilities.polygon import poly_xy, is_inside_polygon
    88from Numeric import arange
    9 from anuga.pmesh.create_mesh import convert_points_from_latlon_to_utm
     9from anuga.pmesh.create_mesh import convert_from_latlon_to_utm
    1010
    1111x_bound, y_bound = poly_xy(project.polyAll)
     
    1919p2 = [MOST_north, MOST_east]
    2020p3 = [MOST_north, MOST_west]
    21 MOSTpoly, zone = convert_points_from_latlon_to_utm([p0, p1, p2, p3])
     21MOSTpoly, zone = convert_from_latlon_to_utm([p0, p1, p2, p3])
    2222
    2323MOSTymax = 0
  • anuga_work/production/onslow_2006/plot_data_extent.py

    r3535 r3769  
    11from pylab import *
    22from anuga.geospatial_data.geospatial_data import *
    3 from anuga.pmesh.create_mesh import convert_points_from_latlon_to_utm
     3from anuga.pmesh.create_mesh import convert_from_latlon_to_utm
    44from anuga.coordinate_transforms.redfearn import degminsec2decimal_degrees
    55from os import sep
  • anuga_work/production/onslow_2006/project.py

    r3669 r3769  
    88import sys
    99
    10 from anuga.coordinate_transforms.redfearn import convert_points_from_latlon_to_utm
     10from anuga.coordinate_transforms.redfearn import convert_from_latlon_to_utm
    1111
    1212from anuga.coordinate_transforms.redfearn import degminsec2decimal_degrees
  • anuga_work/production/sydney_2006/project.py

    r3669 r3769  
    88import sys
    99
    10 from anuga.pmesh.create_mesh import convert_points_from_latlon_to_utm
     10from anuga.pmesh.create_mesh import convert_from_latlon_to_utm
    1111               
    1212
     
    9292p3 = [north, west]
    9393   
    94 polygonall, zone = convert_points_from_latlon_to_utm([p0, p1, p2, p3])
     94polygonall, zone = convert_from_latlon_to_utm([p0, p1, p2, p3])
    9595refzone = zone
    9696
     
    122122dp12 = [dsouth2, deast2]
    123123dp34 = [dnorth, deast2]
    124 diffpolygonall, zone = convert_points_from_latlon_to_utm([dp0, dp1, dp2, dp3, dp4, dp5, dp6, dp7])
     124diffpolygonall, zone = convert_from_latlon_to_utm([dp0, dp1, dp2, dp3, dp4, dp5, dp6, dp7])
    125125# 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])
     126diffpolygonall2, zone = convert_from_latlon_to_utm([dp0, dp1, dp12, dp34, dp4, dp5, dp6, dp7])
    127127
    128128# clipping used for look at increasingly finer resolution
     
    389389k142 = [harbour_15x, harbour_15y]
    390390
    391 harbour_polygon_2, zone = convert_points_from_latlon_to_utm([k02, k112, k122, k12, k22, k62, k72, k82, k102, k42, k52]) #worked
     391harbour_polygon_2, zone = convert_from_latlon_to_utm([k02, k112, k122, k12, k22, k62, k72, k82, k102, k42, k52]) #worked
    392392assert zone == refzone
    393393
     
    426426j92 = [bb_10x, bb_10y]
    427427
    428 botanybay_polygon_2, zone = convert_points_from_latlon_to_utm([j92, j12, j22, j62, j82, j72, j42]) # worked
     428botanybay_polygon_2, zone = convert_from_latlon_to_utm([j92, j12, j22, j62, j82, j72, j42]) # worked
    429429
    430430
     
    450450hp2 = [hnorth, heast]
    451451hp3 = [hnorth, hwest]
    452 polygon_h, zone = convert_points_from_latlon_to_utm([hp0, hp1, hp2, hp3])
     452polygon_h, zone = convert_from_latlon_to_utm([hp0, hp1, hp2, hp3])
    453453
    454454#Interior regions - the Harbour - take 1
     
    470470k3 = [harbour_north, harbour_west]   
    471471
    472 harbour_polygon, zone = convert_points_from_latlon_to_utm([k0, k1, k2, k3])
     472harbour_polygon, zone = convert_from_latlon_to_utm([k0, k1, k2, k3])
    473473
    474474# setting up problem area for doing just around Botany Bay
     
    482482bp2 = [bnorth, beast]
    483483bp3 = [bnorth, bwest]
    484 polygon_bb, zone = convert_points_from_latlon_to_utm([bp0, bp1, bp2, bp3])
     484polygon_bb, zone = convert_from_latlon_to_utm([bp0, bp1, bp2, bp3])
    485485
    486486#Interior region - Botany Bay - take 1
     
    495495j3 = [botanybay_north, botanybay_west]   
    496496
    497 botanybay_polygon, zone = convert_points_from_latlon_to_utm([j0, j1, j2, j3])
     497botanybay_polygon, zone = convert_from_latlon_to_utm([j0, j1, j2, j3])
    498498assert zone == refzone
    499499
Note: See TracChangeset for help on using the changeset viewer.