Ignore:
Timestamp:
Jan 21, 2005, 2:40:39 PM (20 years ago)
Author:
ole
Message:

Changed quantity name 'level' to 'stage'

File:
1 edited

Legend:

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

    r686 r773  
    3333    #(when I get around to it) so it should be removed from here. 
    3434   
    35     # set the water level to be the elevation
     35    # set the water stage to be the elevation
    3636    # This doesn't work on the domain instance.
    37     if vertex_quantity_dict.has_key('elevation') and not vertex_quantity_dict.has_key('level'):
    38         vertex_quantity_dict['level'] = vertex_quantity_dict['elevation']
     37    if vertex_quantity_dict.has_key('elevation') and not vertex_quantity_dict.has_key('stage'):
     38        vertex_quantity_dict['stage'] = vertex_quantity_dict['elevation']
    3939    domain.set_quantity_vertices_dict(vertex_quantity_dict)
    4040    #print "vertex_quantity_dict",vertex_quantity_dict
Note: See TracChangeset for help on using the changeset viewer.