1 | """Common filenames and locations for topographic data, meshes and outputs. |
---|
2 | """ |
---|
3 | |
---|
4 | from os import sep, environ, getenv, getcwd |
---|
5 | from os.path import expanduser |
---|
6 | import sys |
---|
7 | from time import localtime, strftime, gmtime |
---|
8 | from anuga.utilities.polygon import read_polygon, plot_polygons, polygon_area, is_inside_polygon, number_mesh_triangles |
---|
9 | from anuga.coordinate_transforms.redfearn import degminsec2decimal_degrees, convert_from_latlon_to_utm |
---|
10 | from anuga.utilities.system_tools import get_user_name |
---|
11 | |
---|
12 | # file and system info |
---|
13 | #--------------------------------- |
---|
14 | codename = 'project.py' |
---|
15 | |
---|
16 | home = getenv('INUNDATIONHOME') #Sandpit's parent dir |
---|
17 | user = get_user_name() |
---|
18 | |
---|
19 | # INUNDATIONHOME is the inundation directory, not the data directory. |
---|
20 | home += sep +'data' |
---|
21 | |
---|
22 | #time stuff |
---|
23 | time = strftime('%Y%m%d_%H%M%S',localtime()) #gets time for new dir |
---|
24 | gtime = strftime('%Y%m%d_%H%M%S',gmtime()) #gets time for new dir |
---|
25 | build_time = time+'_build' |
---|
26 | run_time = time+'_run' |
---|
27 | temp_time = time+'_temp' |
---|
28 | print 'gtime: ', gtime |
---|
29 | |
---|
30 | tide = 2.4 |
---|
31 | |
---|
32 | #Making assumptions about the location of scenario data |
---|
33 | state = 'western_australia' |
---|
34 | scenario_name = 'dampier' |
---|
35 | scenario = 'dampier_tsunami_scenario_2006' |
---|
36 | |
---|
37 | # onshore data provided by WA DLI |
---|
38 | onshore_name = 'DLI_DTED_raster_clipped' # original |
---|
39 | |
---|
40 | # AHO + DPI data + colin French coastline |
---|
41 | coast_name = 'coastline_edited_w_DEM' |
---|
42 | offshore_name = 'clipped_bathy' |
---|
43 | offshore1_name = 'elev_501' |
---|
44 | offshore2_name = 'inferrec_e' |
---|
45 | |
---|
46 | #final topo name |
---|
47 | combined_name ='dampier_combined_elevation' |
---|
48 | combined_smaller_name = 'dampier_combined_elevation_small' |
---|
49 | combined_smallest_name = 'dampier_combined_elevation_smallest' |
---|
50 | |
---|
51 | topographies_in_dir = home+sep+state+sep+scenario+sep+'elevation_final'+sep+'070112'+sep+'points'+sep |
---|
52 | topographies_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'topographies'+sep |
---|
53 | topographies_time_dir = topographies_dir+build_time+sep |
---|
54 | |
---|
55 | temp_dir = home+sep+state+sep+scenario+sep+'anuga'+sep |
---|
56 | temp_dir_name = temp_dir + temp_time+sep |
---|
57 | |
---|
58 | # input topo file location |
---|
59 | onshore_in_dir_name = topographies_in_dir + onshore_name |
---|
60 | coast_in_dir_name = topographies_in_dir + coast_name |
---|
61 | offshore_in_dir_name = topographies_in_dir + offshore_name |
---|
62 | offshore1_in_dir_name = topographies_in_dir + offshore1_name |
---|
63 | offshore2_in_dir_name = topographies_in_dir + offshore2_name |
---|
64 | |
---|
65 | onshore_dir_name = topographies_dir + onshore_name |
---|
66 | coast_dir_name = topographies_dir + coast_name |
---|
67 | offshore_dir_name = topographies_dir + offshore_name |
---|
68 | offshore1_dir_name = topographies_dir + offshore1_name |
---|
69 | offshore2_dir_name = topographies_dir + offshore2_name |
---|
70 | |
---|
71 | #final topo files |
---|
72 | combined_dir_name = topographies_dir + combined_name |
---|
73 | combined_time_dir_name = topographies_time_dir + combined_name |
---|
74 | combined_smaller_dir_name = topographies_dir + combined_smaller_name |
---|
75 | combined_smallest_dir_name = topographies_dir + combined_smallest_name |
---|
76 | #combined_time_dir_final_name = topographies_time_dir + combined_final_name |
---|
77 | |
---|
78 | meshes_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'meshes'+sep |
---|
79 | meshes_dir_name = meshes_dir + scenario_name |
---|
80 | |
---|
81 | polygons_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'polygons'+sep+'2007polys'+sep |
---|
82 | tide_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'tide_data'+sep |
---|
83 | |
---|
84 | boundaries_source = '' |
---|
85 | boundaries_name = 'o' |
---|
86 | boundaries_name1 = 'o_new1' |
---|
87 | boundaries_name2 = 'o_test' |
---|
88 | |
---|
89 | #boundaries locations |
---|
90 | #boundaries_in_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'boundaries'+sep |
---|
91 | boundaries_in_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'boundaries'+sep+'urs'+sep+'1_10000'+sep |
---|
92 | boundaries_in_dir_name = boundaries_in_dir + boundaries_name |
---|
93 | boundaries_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'boundaries'+sep |
---|
94 | boundaries_dir_name = boundaries_dir + boundaries_name |
---|
95 | boundaries_dir_name1 = boundaries_dir + boundaries_name1 |
---|
96 | boundaries_dir_name2 = boundaries_dir + boundaries_name2 |
---|
97 | boundaries_dir_name3 = boundaries_dir + boundaries_name+'_test_8500_12000' |
---|
98 | boundaries_dir_name4 = boundaries_dir + boundaries_name+'_8500_12000_no_zone' |
---|
99 | |
---|
100 | #boundaries_time_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'boundaries'+sep+build_time+sep |
---|
101 | #boundaries_time_dir_name = boundaries_time_dir + boundaries_name #Used by post processing |
---|
102 | |
---|
103 | #output locations |
---|
104 | output_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'outputs'+sep |
---|
105 | output_build_time_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'outputs'+sep+build_time+sep |
---|
106 | output_run_time_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'outputs'+sep+run_time+sep |
---|
107 | output_run_time_dir_name = output_run_time_dir + scenario_name #Used by post processing |
---|
108 | |
---|
109 | #gauges |
---|
110 | gauge_name = 'dampier_gauges_up2.csv' #'dampier.csv' |
---|
111 | gauge_name_test = 'dampier_gauges_up_test.csv' #'dampier.csv' |
---|
112 | gauges_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'gauges'+sep |
---|
113 | gauges_dir_name = gauges_dir + gauge_name |
---|
114 | gauges_dir_name_test = gauges_dir + gauge_name_test |
---|
115 | |
---|
116 | |
---|
117 | #buildings_filename = gauges_dir + 'dampier_res_nexis.csv' |
---|
118 | buildings_filename_damage_out = 'dampier_res_nexis_modified.csv' |
---|
119 | ############################### |
---|
120 | # Domain definitions |
---|
121 | ############################### |
---|
122 | |
---|
123 | refzone = 50 |
---|
124 | south_boundary = degminsec2decimal_degrees(-20,58,0) |
---|
125 | #north_boundary = degminsec2decimal_degrees(-20,13,0) |
---|
126 | north_boundary = degminsec2decimal_degrees(-19,30,0) |
---|
127 | west_boundary = degminsec2decimal_degrees(116,15,0) |
---|
128 | east_boundary = degminsec2decimal_degrees(117,11,0) |
---|
129 | ## |
---|
130 | ##p0 = [south, degminsec2decimal_degrees(116,32,0)] |
---|
131 | ##p1 = [south, west] |
---|
132 | ##p2 = [degminsec2decimal_degrees(-20,23,0), west] |
---|
133 | ##p3 = [north, degminsec2decimal_degrees(116,45,0)] |
---|
134 | ##p4 = [north, degminsec2decimal_degrees(117,0,0)] |
---|
135 | ##p5 = [p2[0], degminsec2decimal_degrees(117,8,0)] |
---|
136 | ##p6 = [degminsec2decimal_degrees(-20,30,0), east] |
---|
137 | ##p7 = [degminsec2decimal_degrees(-20,38,0), east] |
---|
138 | ##p8 = [south, east] |
---|
139 | ## |
---|
140 | ##poly_all, zone = convert_from_latlon_to_utm([p0, p1, p2, p3, p4, p5, p6, p7, p8]) |
---|
141 | ##refzone = zone |
---|
142 | poly_all = read_polygon(polygons_dir+'extent.csv') |
---|
143 | print 'Area of bounding polygon', polygon_area(poly_all)/1000000.0 |
---|
144 | |
---|
145 | res_poly_all = 400000 |
---|
146 | #res_poly_all = 500000 |
---|
147 | |
---|
148 | ############################### |
---|
149 | # Interior region definitions |
---|
150 | ############################### |
---|
151 | |
---|
152 | poly_region = read_polygon(polygons_dir+'region.csv') |
---|
153 | res_region = 50000 |
---|
154 | |
---|
155 | poly_dampier = read_polygon(polygons_dir+'dampier_town.csv') |
---|
156 | res_dampier = 1000 |
---|
157 | #res_dampier = 500 |
---|
158 | #res_dampier = 5000 |
---|
159 | |
---|
160 | poly_karratha = read_polygon(polygons_dir+'karrathav2.csv') |
---|
161 | res_karratha = 15000 |
---|
162 | |
---|
163 | poly_karratha_town = read_polygon(polygons_dir+'karratha_townv2.csv') |
---|
164 | res_karratha_town = 1000 |
---|
165 | #res_karratha_town = 500 |
---|
166 | #res_karratha_town = 5000 |
---|
167 | |
---|
168 | poly_facility = read_polygon(polygons_dir+'facility.csv') |
---|
169 | res_facility = 1000 |
---|
170 | |
---|
171 | poly_delambre = read_polygon(polygons_dir+'delambre.csv') |
---|
172 | res_delambre = 5000 |
---|
173 | |
---|
174 | poly_coast = read_polygon(polygons_dir+'coastpoly.csv') |
---|
175 | res_coast = 1000 |
---|
176 | #res_coast = 10000 |
---|
177 | |
---|
178 | poly_NWislands = read_polygon(polygons_dir+'nw_islands_area.csv') |
---|
179 | res_NWislands = 50000 |
---|
180 | |
---|
181 | poly_island0 = read_polygon(polygons_dir+'island0.csv') |
---|
182 | res_island0 = res_poly_all |
---|
183 | |
---|
184 | poly_island1 = read_polygon(polygons_dir+'island1.csv') |
---|
185 | res_island0 = res_poly_all |
---|
186 | |
---|
187 | poly_island2 = read_polygon(polygons_dir+'island2.csv') |
---|
188 | res_island0 = res_poly_all |
---|
189 | |
---|
190 | poly_island3 = read_polygon(polygons_dir+'island3.csv') |
---|
191 | res_island0 = res_poly_all |
---|
192 | |
---|
193 | res_islands = 5000 |
---|
194 | #res_islands = 15000 |
---|
195 | |
---|
196 | poly_ref_nw4 = read_polygon(polygons_dir+'ref_nw4.csv') |
---|
197 | res_ref_nw4 = res_islands |
---|
198 | |
---|
199 | poly_island4 = read_polygon(polygons_dir+'island4.csv') |
---|
200 | res_island0 = res_poly_all |
---|
201 | |
---|
202 | poly_ref_nw5 = read_polygon(polygons_dir+'ref_nw5.csv') |
---|
203 | res_ref_nw5 = res_islands |
---|
204 | |
---|
205 | poly_island5 = read_polygon(polygons_dir+'island5.csv') |
---|
206 | res_island0 = res_poly_all |
---|
207 | |
---|
208 | poly_ref_nw6 = read_polygon(polygons_dir+'ref_nw6.csv') |
---|
209 | res_ref_nw6 = res_islands |
---|
210 | |
---|
211 | poly_island6 = read_polygon(polygons_dir+'island6.csv') |
---|
212 | res_island0 = res_poly_all |
---|
213 | |
---|
214 | poly_ref_nw7 = read_polygon(polygons_dir+'ref_nw7.csv') |
---|
215 | res_ref_nw7 = res_islands |
---|
216 | |
---|
217 | poly_island7 = read_polygon(polygons_dir+'island7.csv') |
---|
218 | res_island0 = res_poly_all |
---|
219 | |
---|
220 | poly_ref_nw8 = read_polygon(polygons_dir+'ref_nw8.csv') |
---|
221 | res_ref_nw8 = res_islands |
---|
222 | |
---|
223 | poly_island8 = read_polygon(polygons_dir+'island8.csv') |
---|
224 | res_island0 = res_poly_all |
---|
225 | |
---|
226 | |
---|
227 | ##plot_polygons([poly_dampier,poly_karratha,poly_karratha_town,poly_delambre, |
---|
228 | ## poly_coast,poly_NWislands,poly_island0,poly_island1,poly_island2, |
---|
229 | ## poly_island3,poly_island4,poly_island5,poly_island6, |
---|
230 | ## poly_island7,poly_island8,poly_ref_nw4,poly_ref_nw5, |
---|
231 | ## poly_ref_nw6,poly_ref_nw7,poly_ref_nw8,poly_all],'poly_pic') |
---|
232 | |
---|
233 | interior_regions = [[poly_dampier,res_dampier], |
---|
234 | [poly_karratha,res_karratha],[poly_karratha_town,res_karratha_town], |
---|
235 | [poly_delambre,res_delambre],[poly_coast,res_coast], |
---|
236 | [poly_facility,res_facility], |
---|
237 | #[poly_NWislands,res_NWislands], |
---|
238 | [poly_island0,res_island0],[poly_island1,res_island0], |
---|
239 | [poly_island2,res_island0],[poly_island3,res_island0], |
---|
240 | [poly_island4,res_island0],[poly_island5,res_island0], |
---|
241 | [poly_island6,res_island0],[poly_island7,res_island0], |
---|
242 | [poly_island8,res_island0],[poly_ref_nw4,res_ref_nw4], |
---|
243 | [poly_ref_nw5,res_ref_nw5],[poly_ref_nw6,res_ref_nw6], |
---|
244 | [poly_ref_nw7,res_ref_nw7],[poly_ref_nw8,res_ref_nw8]] |
---|
245 | |
---|
246 | interior_regions_test = [[poly_dampier,res_dampier], |
---|
247 | [poly_karratha,res_karratha],[poly_karratha_town,res_karratha_town]] |
---|
248 | |
---|
249 | trigs_min = number_mesh_triangles(interior_regions_test, poly_all, res_poly_all) |
---|
250 | |
---|
251 | print 'min number triangles', trigs_min |
---|
252 | |
---|
253 | ################################################################### |
---|
254 | # Clipping regions for export to asc and regions for clipping data |
---|
255 | ################################################################### |
---|
256 | |
---|
257 | poly_bathy = read_polygon(polygons_dir+'mainland_only.csv') |
---|
258 | |
---|
259 | # exporting asc grid - Dampier |
---|
260 | e_min_area = 474000 |
---|
261 | e_max_area = 480000 |
---|
262 | n_min_area = 7719000 |
---|
263 | n_max_area = 7725000 |
---|
264 | |
---|
265 | # exporting asc grid - Karratha |
---|
266 | ##e_min_area = |
---|
267 | ##e_max_area = |
---|
268 | ##n_min_area = |
---|
269 | ##n_max_area = |
---|
270 | |
---|
271 | """ |
---|
272 | # used in the CIPMA 2006 scenario |
---|
273 | # CIPMA point of interest |
---|
274 | cipma_latitude = -20.588456 |
---|
275 | cipma_longitude = 116.771527 |
---|
276 | |
---|
277 | k0 = [cipma_latitude-0.02, cipma_longitude-0.02] |
---|
278 | k1 = [cipma_latitude-0.02, cipma_longitude+0.02] |
---|
279 | k2 = [cipma_latitude+0.02, cipma_longitude+0.02] |
---|
280 | k3 = [cipma_latitude+0.02, cipma_longitude-0.02] |
---|
281 | |
---|
282 | cipma_polygon, zone = convert_from_latlon_to_utm([k0, k1, k2, k3]) |
---|
283 | assert zone == refzone |
---|
284 | |
---|
285 | poly_facility = read_polygon(polygons_dir+'facility.csv') |
---|
286 | poly_pipeline = read_polygon(polygons_dir+'pipeline2.csv') |
---|
287 | poly_interior = read_polygon(polygons_dir+'interior.csv') |
---|
288 | poly_coast = read_polygon(polygons_dir+'coast_final.csv') |
---|
289 | clip_poly_e = read_polygon(polygons_dir+'gap_e.csv') |
---|
290 | clip_poly_nw = read_polygon(polygons_dir+'gap_nw.csv') |
---|
291 | clip_poly_mid_w = read_polygon(polygons_dir+'gap_mid_w.cvs') |
---|
292 | clip_poly_mid_e = read_polygon(polygons_dir+'gap_mid_e.cvs') |
---|
293 | |
---|
294 | # exporting asc grid |
---|
295 | e_min_area = 474000 |
---|
296 | e_max_area = 480000 |
---|
297 | n_min_area = 7719000 |
---|
298 | n_max_area = 7725000 |
---|
299 | |
---|
300 | # used in the original 2005 scenario |
---|
301 | #Interior regions |
---|
302 | karratha_south = degminsec2decimal_degrees(-20,44,0) |
---|
303 | karratha_north = degminsec2decimal_degrees(-20,42,0) |
---|
304 | karratha_west = degminsec2decimal_degrees(116,48,0) |
---|
305 | karratha_east = degminsec2decimal_degrees(116,53,30) |
---|
306 | |
---|
307 | k0 = [karratha_south, karratha_west] |
---|
308 | k1 = [karratha_south, karratha_east] |
---|
309 | k2 = [karratha_north, karratha_east] |
---|
310 | k3 = [karratha_north, karratha_west] |
---|
311 | |
---|
312 | karratha_polygon, zone = convert_from_latlon_to_utm([k0, k1, k2, k3]) |
---|
313 | assert zone == refzone |
---|
314 | |
---|
315 | #Interior regions |
---|
316 | dampier_south = degminsec2decimal_degrees(-20,40,0) |
---|
317 | dampier_north = degminsec2decimal_degrees(-20,38,10) |
---|
318 | dampier_west = degminsec2decimal_degrees(116,43,0) |
---|
319 | dampier_east = degminsec2decimal_degrees(116,45,0) |
---|
320 | |
---|
321 | d0 = [dampier_south, dampier_west] |
---|
322 | d1 = [dampier_south, dampier_east] |
---|
323 | d2 = [dampier_north, dampier_east] |
---|
324 | d3 = [dampier_north, dampier_west] |
---|
325 | |
---|
326 | dampier_polygon, zone = convert_from_latlon_to_utm([d0, d1, d2, d3]) |
---|
327 | assert zone == refzone |
---|
328 | |
---|
329 | #Interior regions |
---|
330 | refinery_south = degminsec2decimal_degrees(-20,37,50) |
---|
331 | refinery_north = degminsec2decimal_degrees(-20,36,0) |
---|
332 | refinery_west = degminsec2decimal_degrees(116,44,0) |
---|
333 | refinery_east = degminsec2decimal_degrees(116,46,10) |
---|
334 | |
---|
335 | d0 = [refinery_south, refinery_west] |
---|
336 | d1 = [refinery_south, refinery_east] |
---|
337 | d2 = [refinery_north, refinery_east] |
---|
338 | d3 = [refinery_north, refinery_west] |
---|
339 | |
---|
340 | refinery_polygon, zone = convert_from_latlon_to_utm([d0, d1, d2, d3]) |
---|
341 | assert zone == refzone |
---|
342 | |
---|
343 | #Interior region around 468899, 7715177: |
---|
344 | #lat (-20, 39, 44.93753), lon (116, 42, 5.09106) |
---|
345 | |
---|
346 | point_south = degminsec2decimal_degrees(-20,39,46) |
---|
347 | point_north = degminsec2decimal_degrees(-20,39,42) |
---|
348 | point_west = degminsec2decimal_degrees(116,42,0) |
---|
349 | point_east = degminsec2decimal_degrees(116,42,10) |
---|
350 | |
---|
351 | d0 = [point_south, point_west] |
---|
352 | d1 = [point_south, point_east] |
---|
353 | d2 = [point_north, point_east] |
---|
354 | d3 = [point_north, point_west] |
---|
355 | |
---|
356 | point_polygon, zone = convert_from_latlon_to_utm([d0, d1, d2, d3]) |
---|
357 | assert zone == refzone |
---|
358 | |
---|
359 | #Neils areas around interesting points |
---|
360 | neil1_point1 = [degminsec2decimal_degrees(-20,35,34), |
---|
361 | degminsec2decimal_degrees(116,45,18)] |
---|
362 | neil1_point2 = [degminsec2decimal_degrees(-20,36,15), |
---|
363 | degminsec2decimal_degrees(116,46,18)] |
---|
364 | neil1_point3 = [degminsec2decimal_degrees(-20,35,9), |
---|
365 | degminsec2decimal_degrees(116,47,17)] |
---|
366 | neil1_point4 = [degminsec2decimal_degrees(-20,34,26), |
---|
367 | degminsec2decimal_degrees(116,46,17)] |
---|
368 | |
---|
369 | neil1_polygon, zone = convert_from_latlon_to_utm([neil1_point1, |
---|
370 | neil1_point2, |
---|
371 | neil1_point3, |
---|
372 | neil1_point4]) |
---|
373 | assert zone == refzone |
---|
374 | |
---|
375 | neil2_point1 = [degminsec2decimal_degrees(-20,39,36), |
---|
376 | degminsec2decimal_degrees(116,41,33)] |
---|
377 | neil2_point2 = [degminsec2decimal_degrees(-20,40,10), |
---|
378 | degminsec2decimal_degrees(116,42,13)] |
---|
379 | neil2_point3 = [degminsec2decimal_degrees(-20,38,39), |
---|
380 | degminsec2decimal_degrees(116,43,49)] |
---|
381 | neil2_point4 = [degminsec2decimal_degrees(-20,38,5), |
---|
382 | degminsec2decimal_degrees(116,43,9)] |
---|
383 | |
---|
384 | neil2_polygon, zone = convert_from_latlon_to_utm([neil2_point1, |
---|
385 | neil2_point2, |
---|
386 | neil2_point3, |
---|
387 | neil2_point4]) |
---|
388 | assert zone == refzone |
---|
389 | |
---|
390 | #Withnell bay |
---|
391 | wb_point1 = [degminsec2decimal_degrees(-20,35,34), |
---|
392 | degminsec2decimal_degrees(116,45,18)] |
---|
393 | wb_point2 = [degminsec2decimal_degrees(-20,36,15), |
---|
394 | degminsec2decimal_degrees(116,46,18)] |
---|
395 | wb_point3 = [degminsec2decimal_degrees(-20,35,9), |
---|
396 | degminsec2decimal_degrees(116,47,17)] |
---|
397 | wb_point4 = [degminsec2decimal_degrees(-20,34,26), |
---|
398 | degminsec2decimal_degrees(116,46,17)] |
---|
399 | |
---|
400 | wb_polygon, zone = convert_from_latlon_to_utm([wb_point1, wb_point2, |
---|
401 | wb_point3, wb_point4]) |
---|
402 | assert zone == refzone |
---|
403 | |
---|
404 | #Larger Withnell bay |
---|
405 | lwb_point1 = [degminsec2decimal_degrees(-20,35,59), |
---|
406 | degminsec2decimal_degrees(116,42,00)] |
---|
407 | lwb_point2 = [degminsec2decimal_degrees(-20,36,50), |
---|
408 | degminsec2decimal_degrees(116,46,50)] |
---|
409 | lwb_point3 = [degminsec2decimal_degrees(-20,34,00), |
---|
410 | degminsec2decimal_degrees(116,47,39)] |
---|
411 | lwb_point4 = [degminsec2decimal_degrees(-20,33,00), |
---|
412 | degminsec2decimal_degrees(116,42,50)] |
---|
413 | |
---|
414 | lwb_polygon, zone = convert_from_latlon_to_utm([lwb_point1, lwb_point2, |
---|
415 | lwb_point3, lwb_point4]) |
---|
416 | |
---|
417 | assert zone == refzone |
---|
418 | """ |
---|