Changeset 8586
- Timestamp:
- Sep 18, 2012, 5:24:33 PM (13 years ago)
- Location:
- trunk/anuga_work/development/uqwave
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/uqwave/run_UQwave.py
r8584 r8586 25 25 from anuga.utilities.file_utils import copy_code_files 26 26 from anuga.file.csv_file import load_csv_as_dict 27 from numerical_tools import err 27 from numerical_tools import err 28 29 from anuga.file_conversion.file_conversion import timefile2netcdf 28 30 29 # from anuga.shallow_water.data_manager import timefile2netcdf30 31 31 32 # Application specific imports … … 123 124 124 125 bore_file = 'bore' 125 #timefile2netcdf(bore_file, 126 # quantity_names = ['stage','xmomentum', 'ymomentum']) 126 timefile2netcdf(bore_file + '.txt', 127 quantity_names = ['stage','xmomentum', 'ymomentum'], 128 time_as_seconds=True) 127 129 F = anuga.File_boundary(bore_file + '.tms', domain) 128 130 … … 150 152 # Calculate gauge info 151 153 #------------------------------------------------------------------------- 152 interpolate_sww2csv(project.outputtimedir + project.basename \ 153 + id+".sww", 154 points, 155 project.depth_filename + id + '.csv', 156 project.velocity_x_filename + id + '.csv', 157 project.velocity_y_filename + id + '.csv') 154 if True: 155 interpolate_sww2csv(project.outputtimedir + project.basename \ 156 + id+".sww", 157 points, 158 project.depth_filename + id + '.csv', 159 project.velocity_x_filename + id + '.csv', 160 project.velocity_y_filename + id + '.csv') 158 161 #------------------------------------------------------------- 159 162 if __name__ == "__main__":
Note: See TracChangeset
for help on using the changeset viewer.