Changeset 2588


Ignore:
Timestamp:
Mar 24, 2006, 1:26:20 PM (18 years ago)
Author:
ole
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/geospatial_data/test_geospatial_data.py

    r2584 r2588  
    204204    def test_add1 (self):
    205205        """
    206         difference in Geo_reference resolved
    207         """
    208         points = [[1.0, 2.1], [3.0, 5.3]]
    209         points1 = [[5.0, 6.1], [6.0, 3.3]]
    210         attributes = [2, 4]
    211         attributes1 = [5, 76]
    212         geo_ref = Geo_reference(55, 1.0, 2.0)
    213         geo_ref1 = Geo_reference(zone = 55, xllcorner = 0.1,
    214                                 yllcorner = 3.0, datum = 'wgs84',
    215                                 projection = 'UTM', units = 'm')
     206        Difference in Geo_reference resolved
     207        """
     208        points1 = [[1.0, 2.1], [3.0, 5.3]]
     209        points2 = [[5.0, 6.1], [6.0, 3.3]]
     210        attributes1= [2, 4]
     211        attributes2 = [5, 76]
     212        geo_ref1= Geo_reference(55, 1.0, 2.0)
     213        geo_ref2 = Geo_reference(zone = 55, xllcorner = 0.1,
     214                                 yllcorner = 3.0, datum = 'wgs84',
     215                                 projection = 'UTM', units = 'm')
    216216                               
    217         G1 = Geospatial_data(points, attributes, geo_ref)
    218         G2 = Geospatial_data(points1, attributes1, geo_ref1)
     217        G1 = Geospatial_data(points1 attributes1 geo_ref1
     218        G2 = Geospatial_data(points2, attributes2, geo_ref2)
    219219
    220220        G = G1 + G2
Note: See TracChangeset for help on using the changeset viewer.