Changeset 2920
- Timestamp:
- May 18, 2006, 6:48:31 PM (19 years ago)
- Location:
- production
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
production/onslow_2006/plot_data_extent.py
r2914 r2920 6 6 from utilities.polygon import inside_polygon 7 7 import project 8 from pyvolution.util import plot_polygons8 from utilities.polygon import plot_polygons, poly_xy 9 9 10 10 datadir = project.datadir … … 12 12 13 13 plot_data = True 14 plot_with_poly = False14 plot_with_poly = True 15 15 16 16 if plot_data == True: … … 26 26 if plot_with_poly == True: 27 27 figname = 'onslow_data_poly' 28 x1, y1 = poly_xy(project.polyAll) 29 x2, y2 = poly_xy(project.poly_onslow) 30 x3, y3 = poly_xy(project.poly_coast) 31 x4, y4 = poly_xy(project.poly_region) 28 32 figure(1) 29 33 plot(pts1[:,0],pts1[:,1],'g.', 30 pts2[:,0],pts2[:,1],'b.') 31 vec = plot_polygons(project.polyAll, 32 [project.poly_onslow, project.poly_coast, project.poly_region], 33 figname, 34 verbose = True) 35 axis([]) 34 pts2[:,0],pts2[:,1],'b.', 35 x1,y1,'r-',x2,y2,'r-',x3,y3,'r-',x4,y4,'r-') 36 xlabel('Eastings') 37 ylabel('Northings') 36 38 savefig(figname) 37 39 else: … … 39 41 plot(pts1[:,0],pts1[:,1],'g.', 40 42 pts2[:,0],pts2[:,1],'b.') 41 xlabel(' x')42 ylabel(' y')43 xlabel('Eastings') 44 ylabel('Northings') 43 45 savefig('onslow_data_extent') 44 46 else: … … 46 48 figure(3) 47 49 figname = 'onslow_polys' 48 vec = plot_polygons( project.polyAll,49 [project.poly_onslow, project.poly_coast, project.poly_region],50 vec = plot_polygons([project.polyAll, 51 project.poly_onslow, project.poly_coast, project.poly_region], 50 52 figname, 51 53 verbose = True) -
production/onslow_2006/results.tex
r2901 r2920 3 3 computational time and desired resolution in areas of interest, 4 4 particularly in the interface between the on and offshore. The 5 following figures illustrate the study extent for the 6 scenario and the resulting computational mesh, highlighting areas 7 of refinement around areas of particular interest. 5 following figure illustrates the data extent for the 6 scenario and where further mesh refinement has been made. The choice 7 of the refinement is based around the important inter-tidal zones and 8 other important features such as islands and rivers. 9 The resultant computational mesh is then seen in \ref{fig.mesh_onslow}. 8 10 9 11 \begin{figure}[hbt] 10 12 11 %\centerline{ \includegraphics[width=75mm, height=75mm]{.png}}13 \centerline{ \includegraphics[width=75mm, height=75mm]{onslow_data_poly.png}} 12 14 13 \caption{Study area for Onslow scenario }15 \caption{Study area for Onslow scenario highlighting areas of increased refinement.} 14 16 \label{fig:onslow_area} 15 17 \end{figure} -
production/pt_hedland_2006/data.tex
r2900 r2920 56 56 57 57 \caption{Data extent for Pt Hedland scenario. Offshore data shown in blue and onshore data 58 in green. The bounding polygon used for the simulation is shown in red.}58 in green.} 59 59 \label{fig:pt_hedland_data_area} 60 60 \end{figure} -
production/pt_hedland_2006/results.tex
r2838 r2920 2 2 cover the available data. The resolution is chosen to balance 3 3 computational time and desired resolution in areas of interest, 4 particularly in the interface between the on and offshore. The 5 following series of figures illustrate the study extent for the 6 scenario and the resulting computational mesh, highlighting areas 7 of refinement around areas of particular interest. 4 particularly in the interface between the on and offshore. he 5 following figure illustrates the data extent for the 6 scenario and where further mesh refinement has been made. The choice 7 of the refinement is based around the important inter-tidal zones and 8 other important features such as islands and rivers. 9 The resultant computational mesh is then seen in \ref{fig.mesh_onslow}. 8 10 9 11 10 12 \begin{figure}[hbt] 11 13 12 %\centerline{ \includegraphics[width=75mm, height=75mm]{figures/.eps}}14 \centerline{ \includegraphics[width=75mm, height=75mm]{pt_hedland_data_poly.png}} 13 15 14 16 \caption{Study area for Pt Hedland scenario} … … 19 21 \begin{figure}[hbt] 20 22 21 %\centerline{ \includegraphics[width=75mm, height=75mm]{ figures/.eps}}23 %\centerline{ \includegraphics[width=75mm, height=75mm]{}} 22 24 23 25 \caption{Computational mesh for Pt Hedland study area}
Note: See TracChangeset
for help on using the changeset viewer.