Changeset 9403
- Timestamp:
- Jan 14, 2015, 10:20:39 AM (10 years ago)
- Location:
- trunk/anuga_core/validation_tests/experimental_data/okushiri
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/validation_tests/experimental_data/okushiri/create_okushiri.py
r9273 r9403 159 159 prepare_timeboundary(project.boundary_filename, verbose) 160 160 161 161 162 163 162 164 163 165 meshname = project.mesh_filename + '.msh' … … 175 177 if elevation_in_mesh is True: 176 178 from anuga.fit_interpolate.fit import fit_to_mesh_file 179 180 181 if verbose: print 'Reading xya from zip' 182 import zipfile as zf 183 zf.ZipFile(project.bathymetry_filename_stem+'.zip').\ 184 extract(project.bathymetry_filename_stem+'.xya') 185 186 if verbose: print 'Reading pts from xya' 187 anuga.xya2pts(project.bathymetry_filename_stem+'.pts', verbose = verbose) 188 177 189 fit_to_mesh_file(project.mesh_filename, project.bathymetry_filename, 178 190 project.mesh_filename, verbose = verbose) -
trunk/anuga_core/validation_tests/experimental_data/okushiri/plot_results.py
r9345 r9403 37 37 38 38 try: 39 from matplotlib import pyplot40 from pyplot import ion, hold, plot, title, legend41 from pyplot import xlabel, ylabel, savefig39 import matplotlib 40 from matplotlib.pyplot import ion, hold, plot, title, legend 41 from matplotlib.pyplot import xlabel, ylabel, savefig 42 42 hold(False) # Check if this command can be issued 43 43 except: -
trunk/anuga_core/validation_tests/experimental_data/okushiri/project.py
r8676 r9403 11 11 12 12 # Digital Elevation Model 13 bathymetry_filename = 'Benchmark_2_Bathymetry.pts' 13 bathymetry_filename_stem = 'Benchmark_2_Bathymetry' 14 bathymetry_filename = bathymetry_filename_stem + '.pts' 14 15 15 16 # Triangular mesh
Note: See TracChangeset
for help on using the changeset viewer.