Changeset 2425
- Timestamp:
- Feb 17, 2006, 6:42:25 PM (19 years ago)
- Location:
- development
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
development/okushiri_2005/create_mesh.py
r2271 r2425 133 133 m.generateMesh('pzq28.0za1000000a') 134 134 135 import filenames136 m.export_mesh_file( filenames.mesh_filename)135 import project 136 m.export_mesh_file(project.mesh_filename) 137 137 -
development/okushiri_2005/lwru2.py
r2229 r2425 11 11 12 12 13 #use_variable_mesh = True #Use large variable mesh generated by create_mesh.py14 use_variable_mesh = False #Use small structured mesh for speed13 use_variable_mesh = True #Use large variable mesh generated by create_mesh.py 14 #use_variable_mesh = False #Use small structured mesh for speed 15 15 16 16 -
development/stochastic_study/create_mesh.py
r2424 r2425 115 115 116 116 base_resolution = 1 117 #base_resolution = 10117 base_resolution = 10 118 118 119 119 ocean = m.addRegionEN(xleft+.1, ybottom+.1) … … 121 121 122 122 mid = m.addRegionEN(point_mbottom[0]+.1, ybottom+.1) 123 #mid.setMaxArea(0.0005*base_resolution) 124 mid.setMaxArea(0.005*base_resolution) 125 123 mid.setMaxArea(0.0005*base_resolution) 126 124 127 125 inner = m.addRegionEN(island_3[0]+.1, island_3[1]+.1) -
development/stochastic_study/extract_timeseries.py
r2424 r2425 5 5 from os import sep 6 6 from caching import cache 7 import project 7 8 8 9 sys.path.append('..'+sep+'..'+sep) … … 21 22 22 23 #Input wave 23 filename = ' Benchmark_2_input.tms'24 filename = 'input_wave.tms' 24 25 print 'Reading', filename 25 26 from Scientific.IO.NetCDF import NetCDFFile … … 60 61 61 62 #Read model output 62 #filename = 'output.sww' 63 filename = 'lwru2.sww' 64 #filename = 'lwru2_.05s.sww' 63 filename = project.basename + '.sww' 65 64 66 #f = file_function(filename, 67 # quantities = 'stage', 68 # interpolation_points = gauges, 69 # verbose = True) 70 71 f = cache(file_function,filename, 65 f = cache(file_function, filename, 72 66 {'quantities': 'stage', 73 67 'interpolation_points': gauges,
Note: See TracChangeset
for help on using the changeset viewer.