source: anuga_work/production/gippsland_2005/project.py @ 4482

Last change on this file since 4482 was 2604, checked in by duncan, 19 years ago

check in unknown changes

File size: 1.5 KB
Line 
1"""Common filenames and locations for topographic data, meshes and outputs.
2"""
3
4
5from os import sep
6from os import environ
7from os.path import expanduser
8import sys
9
10#Making assumptions about the location of scenario data
11# Assumes the INUNDATIONHOME environ variable exists
12
13scenario_dir_name = 'gippsland_storm_surge_scenario_2005'
14basename = 'lakes_100'
15boundary_basename = 'csiro_bondary'
16
17if sys.platform == 'win32':
18    home = environ["INUNDATIONHOME"]     #Sandpit's parent dir
19else:   
20    home = expanduser('~')
21
22
23#Derive subdirectories and filenames
24meshdir = home+sep+scenario_dir_name+sep+'meshes'+sep
25datadir = home+sep+scenario_dir_name+sep+'topographies'+sep
26outputdir = home+sep+scenario_dir_name+sep+'output'+sep
27boundarydir = home+sep+scenario_dir_name+sep+'boundaries'+sep
28bath_dir = boundarydir + 'bathymetry_expanded'
29elevation_dir =  boundarydir + 'elev_expanded'
30ucur_dir =  boundarydir + 'ucur_expanded'
31vcur_dir =  boundarydir + 'vcur_expanded'
32
33meshname = meshdir + basename + '.tsh'
34mesh_elevname = meshdir + basename + '_elev' + '.tsh'
35demname = datadir + basename + '.dem'
36#demname = datadir + 'lakes_100'
37pointname = datadir + basename + '.pts'
38boundaryname = boundarydir + boundary_basename + '.sww'
39outputname = outputdir + basename  + '.sww' #Used by post processing
40
41gauge_filename = 'gauges.csv'
42
43tide = 0.0
44
45
46#-------------------------------------------------------------
47if __name__ == "__main__":
48    print "mesh_elevname",mesh_elevname
49    update_names(999)
50    print "mesh_elevname",mesh_elevname
Note: See TracBrowser for help on using the repository browser.