Changeset 7273
- Timestamp:
- Jun 29, 2009, 4:27:55 PM (16 years ago)
- Location:
- anuga_work/production/exmouth_2009
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/exmouth_2009/Arc_asc2raster_GDA94z50.py
r7209 r7273 22 22 gp.overwriteoutput = 1 23 23 24 scenario_dir = "\\\\nas2\\gemd\\georisk_models\\inundation\\data\\western_australia\\ onslow_tsunami_scenario_2009\\"24 scenario_dir = "\\\\nas2\\gemd\\georisk_models\\inundation\\data\\western_australia\\exmouth_tsunami_scenario_2009\\" 25 25 output_dir="anuga\\outputs\\" 26 26 27 time_dir1 = '200906 16_154908_run_final_0.0_27283_mhingee'28 ##time_dir2 = ' 20090416_072538_run_final_0_27338_1307_Tb__kvanputt'29 ##time_dir3 = ' 20090417_021634_run_final_0_70337_1307_Tb__kvanputt'27 time_dir1 = '20090624_145617_run_final_0.0_27283_mhingee' 28 ##time_dir2 = '' 29 ##time_dir3 = '' 30 30 31 ##time_dir2 = ' 20090422_102457_run_final_0_70844_1307_Tb_internal_mhingee'31 ##time_dir2 = '' 32 32 33 33 time_dirs = [time_dir1]#, time_dir2]#, time_dir3] … … 48 48 49 49 #replication dictionary 50 replicate = ((' onslow', ''),('_', ''),('max','_M'),50 replicate = (('exmouth', ''),('_', ''),('max','_M'), 51 51 ('CBD', 'CDB'),('All',''), 52 52 ('depth','_depth'),('speed', '_speed'), … … 54 54 55 55 generate_filename = [] 56 input_ascii = glob.glob(folder + '* elevation.asc')56 input_ascii = glob.glob(folder + '*.asc') 57 57 58 58 for infile in input_ascii: … … 73 73 print 'Process: Define Projection' 74 74 #GDA_1994_MGA_Zone_54 75 gp.DefineProjection_management(output_DEM, "PROJCS[' GDA_1994_MGA_Zone_50',GEOGCS['GCS_GDA_1994',DATUM['D_GDA_1994',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]]"76 ",PROJECTION['Transverse_Mercator'],PARAMETER['False_Easting',500000.0],PARAMETER['False_Northing',10000000.0],PARAMETER['Central_Meridian',11 7.0],PARAMETER['Scale_Factor',0.9996]"75 gp.DefineProjection_management(output_DEM, "PROJCS['CM_114',GEOGCS['GCS_GDA_1994',DATUM['D_GDA_1994',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]]" 76 ",PROJECTION['Transverse_Mercator'],PARAMETER['False_Easting',500000.0],PARAMETER['False_Northing',10000000.0],PARAMETER['Central_Meridian',114.0],PARAMETER['Scale_Factor',0.9996]" 77 77 ",PARAMETER['Latitude_Of_Origin',0.0],UNIT['Meter',1.0]]") 78 78 ## output_extract = output_DEM + 'E' -
anuga_work/production/exmouth_2009/build_elevation.py
r7209 r7273 45 45 #------------------------------------------------------------------------------ 46 46 47 print 'project.bounding_polygon', project.bounding_polygon48 print 'project.combined_elevation_basename', project.combined_elevation_basename47 ##print 'project.bounding_polygon', project.bounding_polygon 48 ##print 'project.combined_elevation_basename', project.combined_elevation_basename 49 49 50 50 # Create Geospatial data from ASCII files -
anuga_work/production/exmouth_2009/export_results.py
r7209 r7273 22 22 directory = project.output_folder 23 23 24 time_dir1 = '200906 16_154908_run_final_0.0_27283_mhingee'25 time_dir2 = '20090617_110255_run_final_0.0_27283_mhingee'24 time_dir1 = '20090624_145617_run_final_0.0_27283_mhingee' 25 ##time_dir2 = '' 26 26 ##time_dir3 = '' 27 27 ##time_dir4 = '' … … 29 29 ##time_dir6 = '' 30 30 ## 31 time_dirs = [time_dir 2]#, time_dir2]# , time_dir4, time_dir5, time_dir6]31 time_dirs = [time_dir1]#, time_dir2]# , time_dir4, time_dir5, time_dir6] 32 32 33 33 … … 42 42 ###### 43 43 44 #area = [' Bunbury', 'Busselton'] # strings must match keys in var_equations below44 #area = ['Exmouth'] # strings must match keys in var_equations below 45 45 area = ['All'] # 'All' means no special areas - the whole thing 46 46 … … 56 56 57 57 # one or more key strings from var_equations above 58 var = ['elevation' ]58 var = ['elevation','stage'] 59 59 60 60 ######
Note: See TracChangeset
for help on using the changeset viewer.