Changeset 2902 for production/onslow_2006
- Timestamp:
- May 18, 2006, 10:01:58 AM (19 years ago)
- Location:
- production/onslow_2006
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
production/onslow_2006/export_results.py
r2773 r2902 7 7 from os import sep 8 8 9 time_dir = "200604 19_071046"9 time_dir = "20060426_004517" 10 10 directory = project.outputdir 11 11 name = directory + time_dir +sep + "source" -
production/onslow_2006/project.py
r2863 r2902 3 3 """ 4 4 5 from os import sep, environ 5 from os import sep, environ, getenv, getcwd 6 6 from os.path import expanduser 7 7 from utilities.polygon import read_polygon … … 14 14 from time import localtime, strftime 15 15 16 from os import getcwd17 16 18 17 #Making assumptions about the location of scenario data … … 36 35 if sys.platform == 'win32': 37 36 home = environ['INUNDATIONHOME'] #Sandpit's parent dir 37 # home = environ['INUNDATIONHOME'] #Sandpit's parent dir 38 38 else: 39 home = environ['INUNDATIONHOME'] #Sandpit's parent dir 40 # home = expanduser('~') 39 home = getenv('INUNDATIONHOME', sep+'d'+sep+'cit'+sep+'1'+sep+'cit'+sep+'risk_assessment_methods_project'+sep+'inundation') 41 40 42 41 #Derive subdirectories and filenames -
production/onslow_2006/run_onslow.py
r2863 r2902 131 131 ''' 132 132 #new 133 region_res = 25000133 region_res = 50000 134 134 coast_res = 2500 135 135 onslow_res = 500 … … 147 147 'bottom': [4], 'bottomright': [5], 148 148 'topright':[6]}, 149 'maximum_triangle_area': 100000,149 'maximum_triangle_area': 200000, 150 150 'filename': meshname, 151 151 'interior_regions': interior_regions},
Note: See TracChangeset
for help on using the changeset viewer.