Changeset 1821 for production/karratha_2005/project.py
- Timestamp:
- Sep 12, 2005, 6:10:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
production/karratha_2005/project.py
r1818 r1821 5 5 from os import sep 6 6 from os.path import expanduser 7 import sys 7 8 8 home = expanduser('~') 9 #Making assumptions abot the location of scenario data 10 scenario_dir_name = 'karratha_tsunami_scenario_2005' 11 basename = 'karratha_250m' 12 boundary_basename = 'SU-AU' 9 13 10 14 11 meshdir = home+sep+'karratha_tsunami_scenario_2005'+sep+'meshes'+sep 12 datadir = home+sep+'karratha_tsunami_scenario_2005'+sep+'topographies'+sep 13 outputdir = home+sep+'karratha_tsunami_scenario_2005'+sep+'output'+sep 14 boundarydir = home+sep+'karratha_tsunami_scenario_2005'+sep+'boundaries'+sep 15 if sys.platform == 'win32': 16 home = '..\..\..\..\..' #Sandpit's parent dir 17 else: 18 home = expanduser('~') 15 19 16 20 17 basename = 'karratha_100m' 21 #Derive subdirectories and filenames 22 meshdir = home+sep+scenario_dir_name+sep+'meshes'+sep 23 datadir = home+sep+scenario_dir_name+sep+'topographies'+sep 24 outputdir = home+sep+scenario_dir_name+sep+'output'+sep 25 boundarydir = home+sep+scenario_dir_name+sep+'boundaries'+sep 26 18 27 meshname = meshdir + basename 19 28 demname = datadir + basename 20 boundaryname = boundarydir + 'SU-AU' 21 22 boundary_basename = 'SU-AU' 29 boundaryname = boundarydir + boundary_basename 23 30 24 31 #Georeferencing … … 30 37 east = degminsec2decimal_degrees(117,0,0) 31 38 32 33 39 refzone = 50
Note: See TracChangeset
for help on using the changeset viewer.