Changeset 4927
- Timestamp:
- Jan 10, 2008, 6:04:35 PM (17 years ago)
- Location:
- anuga_work/production
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/onslow_2006/convert2latlon.py
r4887 r4927 30 30 from os import sep 31 31 32 timedir = '20070906_061418_run_final_1.5_jsexton_exmouth_original' 33 #filename = project.outputdir + timedir + sep + 'stage0_interp.csv' 32 #timedir = '20070608_060316_run_final_1.5_onslow_nbartzis' # HAT 1 in Onslow 10000 yr 33 timedir = '20070613_034754_run_final_1.5_dampier_nbartzis' 34 #timedir = '20070906_061418_run_final_1.5_jsexton_exmouth_original' 35 filename = project.outputdir + timedir + sep + 'stage0_interp.csv' 34 36 #filename = project.outputdir + timedir + sep + 'stage5_interp.csv' 35 filename = project.outputdir+ timedir + sep + 'stage20_interp.csv'37 #filename = project.outputdir+ timedir + sep + 'stage20_interp.csv' 36 38 #filename = project.outputdir+ timedir + sep + 'stage80_interp.csv' 37 #filename_out = project.outputdir + timedir + sep + 'stage0_convert.csv'39 filename_out = project.outputdir + timedir + sep + 'stage0_convert.csv' 38 40 #filename_out = project.outputdir + timedir + sep + 'stage5_convert.csv' 39 filename_out = project.outputdir + timedir + sep + 'stage20_convert.csv'41 #filename_out = project.outputdir + timedir + sep + 'stage20_convert.csv' 40 42 #filename_out = project.outputdir + timedir + sep + 'stage80_convert.csv' 41 43 alter_file(filename,filename_out) -
anuga_work/production/onslow_2006/plot_contour_data.py
r4890 r4927 3 3 4 4 import project 5 from pylab import plot, xlabel, ylabel, savefig, ion, close, axis, title, legend 5 from pylab import plot, xlabel, ylabel, savefig, ion, close, axis, title, legend, grid 6 6 from os import sep 7 7 8 8 directory = project.outputdir 9 9 timedir = '20070906_061418_run_final_1.5_jsexton_exmouth_original' 10 #timedir = '20070608_060316_run_final_1.5_onslow_nbartzis' 11 #timedir = '20070613_034754_run_final_1.5_dampier_nbartzis' 10 12 11 13 def get_data(filename): … … 32 34 33 35 from anuga.abstract_2d_finite_volumes.util import greens_law 36 from Numeric import arange 34 37 d1 = 80. 35 d2 = range(d1,5,-1)38 d2 = arange(d1,0.15,-0.1) 36 39 h1 = max_stage 40 #h1 = 4.0 37 41 green = [] 38 42 for d in d2: … … 46 50 title('ANUGA modelled maximum stage versus Green\'s approximation \n \ 47 51 Magnitude 9.3 event (Java) at Onslow') 52 #title('ANUGA modelled maximum stage versus Green\'s approximation \n \ 53 #Magnitude 9.1 event (Sumba) at Onslow') 54 #title('ANUGA modelled maximum stage versus Green\'s approximation \n \ 55 #Magnitude 9.0 event (Sumba) at Onslow') 48 56 legend(['ANUGA','Green\'s law']) 49 57 axis([-5,85,min(stage_max)*0.9,max(stage_max)*1.1]) 50 savefig('stratification') 58 grid(True) 59 #savefig('stratification_onslow_gun') 60 savefig('stratification_exmouth_gun') 61 #savefig('stratification_dampier_gun') 51 62 52 63 close('all')
Note: See TracChangeset
for help on using the changeset viewer.