Changeset 2990


Ignore:
Timestamp:
May 27, 2006, 7:15:27 PM (18 years ago)
Author:
sexton
Message:

update to plot in mins rather than secs for sww2timeseries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/util.py

    r2981 r2990  
    844844                    vel = m / (depth + 1.e-30)
    845845                bearing = calc_bearing(uh, vh)
    846                 model_time[i,k] = t         
     846                model_time[i,k] = t/60.0         
    847847                stages[i,k] = w
    848848                elevations[i,k] = z
     
    867867        #### finished generating quantities #####
    868868
    869     stage_axis = axis([time_min, time_max, min(min_stages), max(max_stages)*1.1])
    870     vel_axis = axis([time_min, time_max, min(max_velocitys), max(max_velocitys)*1.1])
    871     mom_axis = axis([time_min, time_max, min(max_momentums), max(max_momentums)*1.1])
     869    stage_axis = axis([time_min/60.0, time_max/60.0, min(min_stages),
     870max(max_stages)*1.1])
     871    vel_axis = axis([time_min/60.0, time_max/60.0, min(max_velocitys),
     872max(max_velocitys)*1.1])
     873    mom_axis = axis([time_min/60.0, time_max/60.0, min(max_momentums),
     874max(max_momentums)*1.1])
    872875   
    873876    nn = len(plot_quantity)
Note: See TracChangeset for help on using the changeset viewer.