Ignore:
Timestamp:
Jul 7, 2006, 2:13:32 PM (18 years ago)
Author:
sexton
Message:

update export coords for pthedland

Location:
production/pt_hedland_2006
Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • production/pt_hedland_2006/export_results.py

    r3288 r3289  
    88
    99time_dir = '20060706_235036' #test with coarse grid
    10 #time_dir = '' #MSL DLI data
    11 #time_dir = '' #HAT DLI data
    12 #time_dir = '' #LAT DLI data
     10#time_dir = '20060707_001859' #MSL DLI data
     11#time_dir = '20060707_003301' #HAT DLI data
     12#time_dir = '20060707_003424' #LAT DLI data
    1313directory = project.outputdir
    1414name = directory + time_dir +sep + 'source'
  • production/pt_hedland_2006/get_building_inundation.py

    r3271 r3289  
    2929
    3030# Inputs
    31 #timestampdir = '' # MSL
    32 #timestampdir = '' # HAT
    33 timestampdir = '' # LAT
     31#timestampdir = '20060707_001859' # MSL
     32#timestampdir = '20060707_003301' # HAT
     33timestampdir = '20060707_003424' # LAT
    3434file_loc = project.outputdir + timestampdir + sep
    3535swwfile = file_loc + project.basename + '.sww'
  • production/pt_hedland_2006/make_report.py

    r3190 r3289  
    7070report_title = 'Tsunami impact modelling for the North West shelf: %s' %scenario_name.title()
    7171
    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
     81production_dirs = {'20060707_001859': 'MSL',
     82                   '20060707_003301': 'HAT',
     83                   '20060707_003424': 'LAT'}
     84
     85max_maps = {'MSL': 'MSL_map',
     86            'HAT': 'HAT_map',
     87            'LAT': 'LAT_map'}
    7988
    8089gauge_map = 'pt_hedland_gauge_map.jpg'
     90
     91compare_output = 'compare_output_datasets'
    8192
    8293# Create sections and graphs for each designated production directory
     
    137148\usepackage{lscape} %landcape pages support
    138149\usepackage{setspace}
     150\include{appendix}
    139151\setstretch{1.25}
    140152\\topmargin 0pt
     
    148160fid.write(s)
    149161
    150 s = '\\title{%s} \n' %report_title
    151 fid.write(s)
     162#s = '\\title{%s} \n' %report_title
     163#fid.write(s)
    152164
    153165s = """
    154166\date{\\today}
    155 \\author{Geoscience Australia}
     167%\\author{Geoscience Australia}
     168
    156169\\begin{document}
     170\\title{
     171\\begin{figure}[hbt]
     172  \centerline{ \includegraphics[scale=0.4]{../report_figures/GAlogo.jpg}}
     173\end{figure}
     174"""
     175fid.write(s)
     176s = '%s} '%report_title
     177fid.write(s)
     178s = """
    157179  \maketitle
    158  
     180
    159181  \\tableofcontents
    160182
    161    \section{Executive Summary}
     183    \section{Executive Summary}
    162184    \label{sec:execsum}
    163185  \input{execsum}
     
    191213
    192214# 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_title
    196 fid.write(s)
    197 s = """
    198 \\begin{center}
     215s = '\\begin{table} \\begin{center} \n'
     216fid.write(s)
     217s = '\caption{Defined point locations for %s study area.}' %scenario
     218fid.write(s)
     219s = """
     220\label{table:locations}
    199221\\begin{tabular}{|l|l|l|l|}\hline
    200222\\bf{Point Name} & \\bf{Easting} & \\bf{Northing} & \\bf{Elevation}\\\\ \hline
     
    217239
    218240s  = """
    219 \caption{Point locations used for Onslow study.} 
     241\caption{Point locations used for Port Hedland study.} 
    220242\label{fig:points}
    221243\end{figure}
     
    251273
    252274s = """
    253    \section{Summary}
     275   \section{Impact due to data accuracy}
     276     \input{discussion}
     277     \label{sec:issues}
     278
     279     \section{Summary}
    254280     \input{summary}
    255281     
    256    \section{References}
    257282    \input{references}
     283
     284    \appendix
    258285   
    259286   \section{Metadata}
     
    268295s = '\input{%s} \n \clearpage \n \n' %latex_output[0]
    269296fid.write(s)
    270      
     297
     298s="""
     299   \section{Damage modelling inputs}
     300     \label{sec:damageinputs}
     301     \input{damage_inputs}
     302
     303        \section{Time series}
     304     \label{sec:timeseriescompare}
     305
     306"""
     307fid.write(s)
     308
     309s = '\input{%s} \n \clearpage \n \n' %compare_output
     310fid.write(s)
     311
    271312s = '\end{document}'
    272313fid.write(s)
  • production/pt_hedland_2006/project.py

    r3287 r3289  
    9999
    100100# region to export (used from export_results.py)
    101 e_min_area = 633000
    102 e_max_area = 690000
    103 n_min_area = 7740000
     101e_min_area = 638000
     102e_max_area = 685000
     103n_min_area = 7745000
    104104n_max_area = 7761000
    105105
     106export_region = [[e_min_area,n_min_area],[e_min_area,n_max_area],[e_max_area,n_max_area],[e_max_area,n_min_area]]
     107                 
    106108refzone = 50
    107109
Note: See TracChangeset for help on using the changeset viewer.