Changeset 5865


Ignore:
Timestamp:
Oct 27, 2008, 3:18:07 PM (16 years ago)
Author:
kristy
Message:

Changed urs2sts so that the first boundary point does not have to be in the zone allocated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/data_manager.py

    r5862 r5865  
    52385238
    52395239    # Check zone boundaries
    5240     refzone, _, _ = redfearn(latitudes[0],longitudes[0]) 
    5241 
     5240    if zone is None:
     5241        refzone, _, _ = redfearn(latitudes[0],longitudes[0])
     5242    else:
     5243        refzone = zone
     5244
     5245    old_zone = refzone
     5246   
    52425247    for i in range(number_of_points):
    52435248        zone, easting, northing = redfearn(latitudes[i],longitudes[i], zone=zone)
Note: See TracChangeset for help on using the changeset viewer.