Changeset 902


Ignore:
Timestamp:
Feb 17, 2005, 9:08:01 AM (20 years ago)
Author:
duncan
Message:

height/depth fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/interpolate_sww.py

    r863 r902  
    2323from least_squares import Interpolation
    2424
    25 DEFAULT_QUANTITY = "height"
     25DEFAULT_QUANTITY = "depth"
    2626
    2727class Interpolate_sww:
     
    5555            print vertex_coordinates
    5656            print "****************************"
    57 
     57       
    5858        self.interp = Interpolation(vertex_coordinates, volumes, alpha=0)
    5959        self.time = time
     
    108108                z = fid.variables['elevation'][:]
    109109                stage = fid.variables['stage'][:,:]
    110                 quantity = stage - z  # 2D, using broadcasting
     110                quantity = stage - z  # 2D, using broadcasting
     111                #print quantity
    111112            else:
    112113                quantity = fid.variables[quantity_name][:,:]   # 2D
Note: See TracChangeset for help on using the changeset viewer.