Ignore:
Timestamp:
Oct 14, 2005, 6:44:45 AM (19 years ago)
Author:
ole
Message:

Refactored pyvolution to use polygon functionality from new utilities package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/data_manager.py

    r1875 r1911  
    12611261
    12621262    from Numeric import array, Float, concatenate, NewAxis, zeros, reshape, sometrue
    1263 
     1263    from utilities.polygon import inside_polygon
     1264   
    12641265    msg = 'Format must be either asc or ers'
    12651266    assert format.lower() in ['asc', 'ers'], msg
     
    13991400    #Interpolate
    14001401    from least_squares import Interpolation
    1401     from util import inside_polygon
     1402   
    14021403
    14031404    #FIXME: This should be done with precrop = True (?), otherwise it'll
     
    28802881    from Numeric import array, Float, concatenate, NewAxis, zeros,\
    28812882         sometrue
    2882 
     2883    from utilities.polygon import inside_polygon
    28832884
    28842885    #FIXME: Should be variable
     
    29842985    #Interpolate
    29852986    from least_squares import Interpolation
    2986     from util import inside_polygon
     2987   
    29872988
    29882989    #FIXME: This should be done with precrop = True, otherwise it'll
     
    30973098    from Numeric import array, Float, concatenate, NewAxis, zeros, reshape, sometrue
    30983099    import ermapper_grids
     3100    from utilities.polygon import inside_polygon   
    30993101
    31003102    header = {}
     
    32023204    #Interpolate
    32033205    from least_squares import Interpolation
    3204     from util import inside_polygon
     3206   
    32053207
    32063208    #FIXME: This should be done with precrop = True (?), otherwise it'll
Note: See TracChangeset for help on using the changeset viewer.