Changeset 3289 for production/pt_hedland_2006/make_report.py
- Timestamp:
- Jul 7, 2006, 2:13:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
production/pt_hedland_2006/make_report.py
r3190 r3289 70 70 report_title = 'Tsunami impact modelling for the North West shelf: %s' %scenario_name.title() 71 71 72 production_dirs = {'': '3.6 AHD', 73 '': '-3.9 AHD', 74 '': '0 AHD'} 75 76 max_maps = {'3.6 AHD': 'HAT_map', 77 '-3.9 AHD': 'LAT_map', 78 '0 AHD': 'MSL_map'} 72 # DTED data 73 #production_dirs = {'20060426_004129': '1.5 AHD', 74 # '20060426_004237': '-1.5 AHD', 75 # '20060515_001733': '0 AHD'} 76 #damage_maps = {'1.5 AHD': 'HAT_damage', 77 # '-1.5 AHD': 'LAT_damage', 78 # '0 AHD': 'MSL_damage'} 79 80 # WA DLI data 81 production_dirs = {'20060707_001859': 'MSL', 82 '20060707_003301': 'HAT', 83 '20060707_003424': 'LAT'} 84 85 max_maps = {'MSL': 'MSL_map', 86 'HAT': 'HAT_map', 87 'LAT': 'LAT_map'} 79 88 80 89 gauge_map = 'pt_hedland_gauge_map.jpg' 90 91 compare_output = 'compare_output_datasets' 81 92 82 93 # Create sections and graphs for each designated production directory … … 137 148 \usepackage{lscape} %landcape pages support 138 149 \usepackage{setspace} 150 \include{appendix} 139 151 \setstretch{1.25} 140 152 \\topmargin 0pt … … 148 160 fid.write(s) 149 161 150 s = '\\title{%s} \n' %report_title151 fid.write(s)162 #s = '\\title{%s} \n' %report_title 163 #fid.write(s) 152 164 153 165 s = """ 154 166 \date{\\today} 155 \\author{Geoscience Australia} 167 %\\author{Geoscience Australia} 168 156 169 \\begin{document} 170 \\title{ 171 \\begin{figure}[hbt] 172 \centerline{ \includegraphics[scale=0.4]{../report_figures/GAlogo.jpg}} 173 \end{figure} 174 """ 175 fid.write(s) 176 s = '%s} '%report_title 177 fid.write(s) 178 s = """ 157 179 \maketitle 158 180 159 181 \\tableofcontents 160 182 161 \section{Executive Summary}183 \section{Executive Summary} 162 184 \label{sec:execsum} 163 185 \input{execsum} … … 191 213 192 214 # Generate latex output for location points 193 s = '\\begin{table} \ label{table:locations} \n'194 fid.write(s) 195 s = '\caption{Defined point locations for %s study area.}' % report_title196 fid.write(s) 197 s = """ 198 \ \begin{center}215 s = '\\begin{table} \\begin{center} \n' 216 fid.write(s) 217 s = '\caption{Defined point locations for %s study area.}' %scenario 218 fid.write(s) 219 s = """ 220 \label{table:locations} 199 221 \\begin{tabular}{|l|l|l|l|}\hline 200 222 \\bf{Point Name} & \\bf{Easting} & \\bf{Northing} & \\bf{Elevation}\\\\ \hline … … 217 239 218 240 s = """ 219 \caption{Point locations used for Onslowstudy.}241 \caption{Point locations used for Port Hedland study.} 220 242 \label{fig:points} 221 243 \end{figure} … … 251 273 252 274 s = """ 253 \section{Summary} 275 \section{Impact due to data accuracy} 276 \input{discussion} 277 \label{sec:issues} 278 279 \section{Summary} 254 280 \input{summary} 255 281 256 \section{References}257 282 \input{references} 283 284 \appendix 258 285 259 286 \section{Metadata} … … 268 295 s = '\input{%s} \n \clearpage \n \n' %latex_output[0] 269 296 fid.write(s) 270 297 298 s=""" 299 \section{Damage modelling inputs} 300 \label{sec:damageinputs} 301 \input{damage_inputs} 302 303 \section{Time series} 304 \label{sec:timeseriescompare} 305 306 """ 307 fid.write(s) 308 309 s = '\input{%s} \n \clearpage \n \n' %compare_output 310 fid.write(s) 311 271 312 s = '\end{document}' 272 313 fid.write(s)
Note: See TracChangeset
for help on using the changeset viewer.