Changeset 3668
- Timestamp:
- Sep 26, 2006, 11:11:36 AM (18 years ago)
- Location:
- anuga_work/production/hobart_2006
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/hobart_2006/export_results.py
r3666 r3668 42 42 sww2dem(name, basename_out = outname, 43 43 quantity = quantityname, 44 cellsize = 25, # would prefer this at 2544 cellsize = 30, # would prefer this at 25 45 45 # define region for viz purposes 46 easting_min = project.e_min_area,47 easting_max = project.e_max_area,48 northing_min = project.n_min_area,49 northing_max = project.n_max_area,46 #easting_min = project.e_min_area, 47 #easting_max = project.e_max_area, 48 #northing_min = project.n_min_area, 49 #northing_max = project.n_max_area, 50 50 reduction = max, #this is because we want max quantityname 51 51 verbose = True, -
anuga_work/production/hobart_2006/project.py
r3667 r3668 52 52 if sys.platform == 'win32': 53 53 home = getenv('INUNDATIONHOME') 54 user = getenv('USERPROFILE') 54 user = getenv('USERPROFILE') 55 55 56 else: 56 home = getenv('INUNDATIONHOME', sep+'d'+sep+'xrd'+sep+'gem'+sep+'2'+sep+'ramp'+sep+'risk_assessment_methods_project'+sep+'inundation' +sep+'data')57 home = getenv('INUNDATIONHOME', sep+'d'+sep+'xrd'+sep+'gem'+sep+'2'+sep+'ramp'+sep+'risk_assessment_methods_project'+sep+'inundation') 57 58 user = getenv('LOGNAME') 58 59 print 'USER:', user 60 61 # INUNDATIONHOME is the inundation directory, not the data directory. 62 home += sep +'data' 59 63 60 64 #Derive subdirectories and filenames
Note: See TracChangeset
for help on using the changeset viewer.