- Timestamp:
- Nov 16, 2006, 9:12:18 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/util.py
r3994 r3996 944 944 thisfile = file_loc[j]+sep+'gauges_time_series'+'_'+gaugeloc+'.csv' 945 945 fid_out = open(thisfile, 'w') 946 s = 'Time, Stage, Momentum, Speed \n'946 s = 'Time, Stage, Momentum, Speed, Elevation \n' 947 947 fid_out.write(s) 948 948 … … 972 972 thisgauge = gauges[k] 973 973 eastings[i,k,j] = thisgauge[0] 974 s = '%.2f, %.2f, %.2f, %.2f \n' %(t, w, m, vel)974 s = '%.2f, %.2f, %.2f, %.2f, %.2f\n' %(t, w, m, vel, z) 975 975 fid_out.write(s) 976 976 if t/60.0 <= 13920: tindex = i … … 981 981 982 982 983 s = '%.2f, %.2f, %.2f, % s\n' %(max_stage, min_stage, z, leg_label[j])983 s = '%.2f, %.2f, %.2f, %.2f, %s\n' %(max_stage, min_stage, z, thisgauge[0], leg_label[j]) 984 984 fid_compare.write(s) 985 985 max_stages.append(max_stage) … … 1184 1184 north = thisgauge[1] 1185 1185 elev_output.append([locations[k],east,north,elevations[0,k,j]]) 1186 1186 1187 1187 s = '\end{tabular} \n \\caption{%s} \n \label{fig:%s} \n \end{figure} \n \n' %(caption, label) 1188 1188 fid.write(s)
Note: See TracChangeset
for help on using the changeset viewer.