Changeset 7300
- Timestamp:
- Jul 3, 2009, 4:47:17 PM (15 years ago)
- Location:
- DVD_images
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
DVD_images/Jonos_README.txt
r7205 r7300 39 39 # To include new data please prepare data in the same formats as those above. 40 40 # For further information on ANUGA file formats please see the ANUGA User Maunal section 6.1 41 42 Interior regions -
DVD_images/extra_files/BatemansBay/analysis.html
r7265 r7300 39 39 <li> You must determine how many SWW files your simulation produced and create as many lines like this: 40 40 <pre><font color="brown"> time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt' 41 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt' 42 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 43 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt' 44 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt' 45 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'</font></pre> 41 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt'</font></pre> 46 42 as necessary. Then modify the line: 47 <pre><font color="brown"> time_dirs = [time_dir1, time_dir2 , time_dir3, time_dir4, time_dir5, time_dir6]</font></pre>43 <pre><font color="brown"> time_dirs = [time_dir1, time_dir2]</font></pre> 48 44 to include each of the variables you defined above. 49 45 <p> 46 <li> Your SWW output will have a name like <font color="red">batemans_bay.sww</font>. For a large model you 47 may have more than one output file with extra filenames like <font color="red">batemans_bay_37860_0.sww</font>, 48 where the <b>37860</b> tells us that the timestep at the start of this file is 37860 sec. The 49 <font color="red">export_results_max.py</font> script needs to examine all SWW output files, so we specify 50 all the files produced by the model run to create a maximum over the entire time. 51 We do this by specifying the start times of all the extra SWW files: 52 <p> 53 <pre><font color="brown"> times = [37860]</font></pre> 54 <p> 55 Note we do not have to specify the first SWW file, only the extra file start times. If there are no extra SWW files, 56 just do: 57 <p> 58 <pre><font color="brown"> times = []</font></pre> 59 <p> 50 60 <li> Modify the <b>cellsize</b> value to set the size of the raster you require. For example: 51 61 <pre><font color="brown"> cellsize = 20 # raster cell size in metres</font></pre> 52 53 <li> Now set the timestep at which you want the raster generated. Either set the actual timestep required or use 54 <b>None</b> to indicate that you want the maximum values in the raster over all timesteps: 55 <pre><font color="brown"> timestep = 1000 56 #timestep = None # over all timesteps</font></pre> 62 <p> 63 <li> You can get the maximum of a variable or expression over the entire model time, or for a single time in the simulation. 64 Set <b>timestep</b> to the required time you want the maximum for, or set it to <b>None</b> to indicate that you want 65 the maximum values in the raster over all timesteps: 66 <pre><font color="brown"> timestep = None # over all timesteps 67 #timestep = 0</font></pre> 68 <p> 69 Note that if you want the elevation use <b>timestep = 0</b>. Elevation does not change over time and you only need the 70 first SWW file. 57 71 <p> 58 Note that if you specify a particular timestep here you may not need to include all SWW files in the59 <b>time_dirs</b> list above. For example, if you wanted data from timestep 0 only then you would need60 to include only the first SWW file in the list.61 62 72 <li> If you want to clip the raster to one or more small regions then put the names of the regions of interest 63 73 into the <b>area</b> list: 64 <pre><font color="brown"> area = [' Hobart', 'NW', 'South']</font></pre>74 <pre><font color="brown"> area = ['Batemans_Bay', 'NW', 'South']</font></pre> 65 75 Note that the name strings you put into the <b>area</b> list must match the names used in the 66 76 <font color="red">project.py</font> file. That is, if you use a name such as 'NW', then the … … 74 84 If you don't want to clip to a region of interest, then do this: 75 85 <pre><font color="brown"> area = ['All'] # no region of interest</font></pre> 76 77 <li> Nowyou must decide which variable or expression values you want sampled on your raster.78 Define a list <b>var</b> that contains strings defining the required variable /expression:86 <p> 87 <li> Finally you must decide which variable or expression values you want sampled on your raster. 88 Define a list <b>var</b> that contains strings defining the required variable or expression: 79 89 <pre><font color="brown"> var = ['depth', 'speed']</font></pre> 80 90 Note that the strings you supply must be defined in the <b>var_equations</b> dictionary … … 96 106 <li> You must determine how many SWW files your simulation produced and create as many lines like this: 97 107 <pre><font color="brown"> time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt' 98 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt' 99 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 100 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt' 101 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt' 102 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt'</font></pre> 108 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt'</font></pre> 103 109 as necessary. Then modify the line: 104 <pre><font color="brown"> time_dirs = [time_dir1, time_dir2 , time_dir3, time_dir4, time_dir5, time_dir6]</font></pre>110 <pre><font color="brown"> time_dirs = [time_dir1, time_dir2]</font></pre> 105 111 to include each of the variables you defined above. 106 112 <p> 107 113 <li> Make sure that the <b>gauges</b> list in <font color="red">projects.py</font> contains one or more CSV files 108 114 defining the gauges within the simulation that you want the timeseries data for. 115 The gauge file must have this format: 116 <pre><font color="brown"> easting,northing,name,elevation 117 559134.8963,5251176.875,Connelly,2 118 532441.5164,5239639.686,Opossum,2</font></pre> 109 119 </ul> 110 120 </body> -
DVD_images/extra_files/BatemansBay/index.html
r7265 r7300 34 34 software necessary to reproduce and potentially augment the models underpinning the report. This will allow the Jurisdiction 35 35 to rerun the models with minor modifications or new elevation data as needed and also potentially replicate the methodology 36 to other locations if desired.36 to other locations within the model extent, if desired. 37 37 <p> 38 38 The data provided on this DVD is: 39 39 <ul> 40 <li> The Professional Opinion Report 2009/XX entitled <i>Capacity Building for Tsunami Planning and Preparation: 41 Inundation Models for Four East Coast Australian Communities</i> 42 <li> Elevation data used with the tsunami inundation model 43 <li> Input data for a range of tsunami events 40 <li> The Professional Opinion Report 2009/XX entitled <blink><i><a href="documents/not_there.pdf">Capacity Building for Tsunami Planning and Preparation: 41 Inundation Models for Four East Coast Australian Communities</a> <b><font color="red">UNFINISHED</font></b></i></blink> 42 <li> <a href="documents/Figures">Figures</a> of maximum inundation and maximum speed 43 <li> Generated <a href="data/new_south_wales/batemans_bay_tsunami_scenario_2009/anuga/outputs">Arc grids</a> of maximum inundation and maximum speed for the areas of interest 44 <li> Generated <a href="data/new_south_wales/batemans_bay_tsunami_scenario_2009/anuga/outputs">timeseries</a> from the models 45 <li> Combined <a href="data/new_south_wales/batemans_bay_tsunami_scenario_2009/anuga/topographies">elevation data</a> used by the simulation 46 <li> The <a href="data/new_south_wales/batemans_bay_tsunami_scenario_2009/anuga/outputs/elevation">Arc grid</a> of the resulting elevation generated by ANUGA 44 47 <li> The Python scripts used to run the models 45 48 </ul> 46 49 <p> 47 The inputwave data on this disk are all derived from events available in the Australian Tsunami50 The tsunami wave data on this disk are all derived from events available in the Australian Tsunami 48 51 Hazard Map. As this dataset is very large, this DVD only contains the events 49 52 described in the report. 50 53 51 <a name="requirements"><h3><b>Re quirements</b></h3></a>54 <a name="requirements"><h3><b>Report Figures</b></h3></a> 52 55 53 The tsunami inundation simulations are based on the Open Source software package called ANUGA. 54 For more information about ANUGA visit <a href="https://datamining.anu.edu.au/anuga">https://datamining.anu.edu.au/anuga</a>. 55 <p> 56 ANUGA has been developed and tested under the Windows XP and Linux (Ubuntu, Mint and Red Hat) operating systems. 57 ANUGA may also be installed on a Windows Vista system and Debian Linux, but these have not been extensively tested. 58 <p> 59 The ANUGA scripts on this DVD require a minimum of 3GB of memory and possibly more, if mesh resolutions are increased. For this reason 60 we recommend using 64 bit Ubuntu Linux as this operating system can use more than 3GB of memory, whereas Windows XP cannot. 56 The figures from the report may be found <a href="documents/Figures">here</a>. 61 57 62 <a name="install ing"><h3><b>Installing ANUGA</b></h3></a>58 <a name="installation"><h3><b>Simulation Installation and Usage</b></h3></a> 63 59 64 You must install ANUGA according to the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>. 65 As the installation procedure comprises a number of steps we suggest that it is carried out by someone with a 66 basic understanding of how to install software packages on the operating system of choice. 60 Information for installing and using the simulation is <a href="installation.html">here</a>. 67 61 68 <a name="simulating"><h3><b>How to run a simulation</b></h3></a>69 70 This is how you should run the model on this DVD.71 We assume that you are using Windows and will give examples for that operating system.72 The translation to Linux should be obvious, but the <a href="#userslist">ANUGA user's mailing list</a>73 can be used to get help.74 <p>75 76 <p>77 <hr align="left" width="100">78 <p>79 First, it is assumed you have installed the ANUGA software according to the80 <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>.81 <p>82 <hr align="left" width="100">83 <p>84 Next, you must copy the entire contents of the DVD to a place in your filesystem. Let's assume85 that you want to put the data into <b>C:\ANUGA</b>. You would do this in a Command Prompt window:86 <table class="code"><tr><td>87 C:<br>88 cd \<br>89 mkdir ANUGA<br>90 xcopy /e X:\ ANUGA91 </td></tr></table>92 <p>93 Of course, you could just drag all files on the DVD (X:\ is the assumed drive letter) to the desired target directory with Explorer.94 <p>95 <hr align="left" width="100">96 <p>97 Now you must create an environment variable <b>ANUGADATA</b> that points to the directory you just created:98 <table class="code"><tr><td>99 set ANUGADATA=C:\ANUGA100 </td></tr></table>101 <p>102 Doing the above in a Command Prompt window is temporary - if you open another103 window you will not have the ANUGADATA environment variable defined. To make104 the variable permanent you must set it in the <b>Start|Settings|Control Panel|System</b>105 tool (<b>Advanced</b> tab). See the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>106 if you don't know how to do this.107 <p>108 <hr align="left" width="100">109 <p>110 Next, you prepare and execute the model:111 <table class="code"><tr><td>112 cd C:\ANUGA<br>113 cd project<br>114 python setup_model.py<br >115 python run_model.py116 </td></tr></table>117 <p>118 <hr align="left" width="100">119 <p>120 This should all run to completion though it may take several days, depending on121 the hardware used.122 <p>123 If you get an error from <font color="red">setup_model.py</font>124 or <font color="red">run_model.py</font> look for some explanation in the log125 files, which you will find under <b>C:\ANUGA\data</b>. Just keep126 drilling down from that point until you find a directory called <b>outputs</b>.127 The latest directory in <b>outputs</b> should contain a file called <font color="red">screen_error.txt</font>128 with an explanation of the error at the end.129 <p>130 Once the simulation has completed you may view the results using the ANUGA131 viewer as described in the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>132 and <a href="documents/anuga_user_manual.pdf">User Manual</a>. You may also133 generate rasters suitable for GIS mapping or write dedicated scripts extracting timeseries at selected134 locations. Some hints to help you do this are at the <a href="analysis.html">analysis page</a>.135 <p>136 The ANUGA <a href="documents/anuga_user_manual.pdf">User Manual</a> describes137 how to use the ANUGA system in general and provides some examples of its use.138 139 <a name="auxscripts"><h3><b>How to extract data from the simulation output files</b></h3></a>140 141 After you have run a simulation you may wish to extract information from the generated SWW file.142 On this disk there are a selection of example analysis scripts that you can use or modify.143 The <a href="analysis.html">analysis scripts</a> page explains how to use the scripts.144 145 <a name="modifications"><h3><b>How to modify a simulation</b></h3></a>146 147 After you have run the supplied simulation you may wish to change it in some way, such as adding improved bathymetry data, for example.148 The <a href="modifications.html">modifications</a> page explains how to do this.149 150 <a name="userslist"><h3><b>How to join the ANUGA user's mailing list</b></h3></a>151 152 One of the quickest ways to get your ANUGA questions answered is by asking them on the <b>ANUGA-user</b> mailing list.153 You can <a href="https://lists.sourceforge.net/lists/listinfo/anuga-user">subscribe to the list</a>154 and can view the mailing list <a href="https://sourceforge.net/mailarchive/forum.php?forum_name=anuga-user">archives</a>.155 <p>156 It costs nothing to register and you can choose to have list mail sent to you as individual emails or have them batched157 into a few emails per day. You can unsubscribe at any time through the subscribe link above.158 159 <a name="FAQ"><h3><b>Frequently Asked Questions</b></h3></a>160 161 There is a <b>Frequently Asked Questions</b> (FAQ) page at162 <a href="https://datamining.anu.edu.au/anuga/wiki/FrequentlyAskedQuestions">https://datamining.anu.edu.au/anuga/wiki/FrequentlyAskedQuestions</a>.163 Look in there and search the mailing list archives before asking questions on the ANUGA user's mailing list.164 Someone may already have asked your question!165 <p>166 Note that you can edit the FAQ pages, so it is helpful if you can update the FAQ with your question and its answer if you feel167 it would be helpful to others.168 62 </body> 169 63 </html> -
DVD_images/extra_files/BatemansBay/modifications.html
r7271 r7300 26 26 Here we talk about how you change a simulation. Why would you need to change a simulation? Well, 27 27 you might have some better elevation data, you want to run the simulation on a finer mesh in certain 28 areas, or maybe you want to see the result ofdifferent events.28 areas, or maybe you want to see the result for different events. 29 29 <p> 30 30 First we describe the uses of the script files you might change, then we walk through a few examples … … 37 37 <table class="code"> 38 38 <tr><td><font color="red">project.py</font></td><td>Defines the input data used, where to place output, etc.</td></tr> 39 <tr><td><font color="red">build_ boundary.py</font></td><td>Builds ...</td></tr>39 <tr><td><font color="red">build_elevation.py</font></td><td>Builds a PTS file of all elevation data specified by <font color="red">project.py</font></td></tr> 40 40 <tr><td><font color="red">setup_model.py</font></td><td>Prepares the simulation before actually running it</td></tr> 41 41 <tr><td><font color="red">run_model.py</font></td><td>Runs the simulation</td></tr> … … 44 44 <a name="project.py"><h4><b>project.py</b></h4></a> 45 45 46 This file is the heart of the simulation. Here we specify many things, including the tide level, the simulation 47 star and stop times, input data files, and so on. Because we are using python as the programming language in 46 This file is the heart of the simulation. The project script introduces all files that are necessary to run all accompanying scripts. 47 By changing one of the variables in this script the output could be completely different. 48 For further details on changing parameters see <a href="#change">Making changes to a simulation</a>. 49 50 <!-- This file is the heart of the simulation. Here we specify many things, including the tide level, the simulation 51 start and stop times, input data files, and so on. Because we are using python as the programming language in 48 52 these files, we can use the power of the language to speed up our development. We use this by <i>parameterising</i> 49 53 data as much as possible. 50 54 <p> 51 As an example, let's look at the <b>model</b> variable we define in <font color="red">project.py</font>: 55 Parameters that you might change 56 As an example, let's look at the <b>scenario_name</b> variable we define in <font color="red">project.py</font>: 52 57 <table class="code"> 53 <tr><td> model = 'small' # different size model - 'small' or 'large'</td></tr>58 <tr><td>scenario_name = 'hobart' # name of the scenario</td></tr> 54 59 </table> 55 60 <p> 56 We define this variable solely to quickly change other input filenames. Where we want a different input file 61 We define this variable solely to quickly change other input filenames. Where we want a different input files for 62 a different scenario, 57 63 depending on whether we want a 'small' or 'large' model, we build the filenames using the <b>model</b> variable. 58 64 Some examples are: 59 65 <p> 60 66 <table class="code"> 61 <tr ><td>bounding_polygon_filename = 'bounding_polygon_'+ model + '.csv'</td></tr>62 <tr ><td>land_initial_conditions_filename = [['initial_conditions_' + model +'.csv', 0]]</td></tr>63 <tr ><td>landward_boundary_filename = 'landward_boundary_'+ model +'.csv'</td></tr>67 <tr height="25"><td>bounding_polygon_filename = 'bounding_polygon_'+ model + '.csv'</td></tr> 68 <tr height="25"><td>land_initial_conditions_filename = [['initial_conditions_' + model +'.csv', 0]]</td></tr> 69 <tr height="25"><td>landward_boundary_filename = 'landward_boundary_'+ model +'.csv'</td></tr> 64 70 </table> 65 71 <p> … … 71 77 This speeds up development and make errors less likely. If you want to add another model to the two 72 78 we show above, just set <b>model</b> to 'medium' and create appropriate input files with the string 73 'medium' in the filename. 79 'medium' in the filename. --> 74 80 75 <a name="build_ boundary.py"><h4><b>build_boundary.py</b></h4></a>81 <a name="build_elevation.py"><h4><b>build_elevation.py</b></h4></a> 76 82 77 [text about build_boundary.py]<br> 78 [In particular, need to run this if elevation data changes.] 83 This script combines all input elevation files into one PTS file. 84 We have provided you with the PTS file used to create the outputs on this DVD. 85 If you would like to change the elevation see <a href="#change">Making changes to a simulation</a>. 79 86 <p> 80 87 81 88 <a name="setup_model.py"><h4><b>setup_model.py</b></h4></a> 82 89 83 [text about project.py] 90 This script is used to transform data into a specific format for <font color="red">run_model.py</font>, 91 if required, and to generate warning messages if you are missing data. 84 92 <p> 85 93 86 94 <a name="run_model.py"><h4><b>run_model.py</b></h4></a> 87 95 88 [text about project.py] 96 This script runs a tsunami inundation scenario. It relies on the parameters set in <font color="red">project.py</font> 97 as well as the PTS and STS files. 98 An STS file has been generated for each event listed in the boundaries directory. For further details on events see 99 <a href="#change">Making changes to a simulation</a>. 89 100 <p> 90 101 91 102 <a name="change"><h3><b>Making changes to a simulation</b></h3></a> 92 103 93 Now we walk through some examples of changes you might make. There are many ways to change a simulation - here94 we discuss just a few.104 There are many parameters that you can change within the <font color="red">project.py</font> script, 105 but the following four parameters are those most commonly changed. 95 106 <p> 96 107 97 <a name=" events"><h4><b>Changing events</b></h4></a>108 <a name="tide"><h4><b>Tide</b></h4></a> 98 109 99 [some events text here] 110 The <b>tide</b> parameter is used to change the mean stage of the simulation. When <b>tide</b> is set to 0 111 the initial water level will be at Mean Sea Level. If you increase the <b>tide</b> value the water level will become deeper. 112 However land is masked out using initial conditions. Within ANUGA <b>tide</b> is modelled as a constant. 100 113 <p> 101 114 102 <a name="e levation"><h4><b>Changing elevation data</b></h4></a>115 <a name="events"><h4><b>Events</b></h4></a> 103 116 104 [some elevation text here] 117 The <b>event_number</b> variable contains the event number that initiates the tsunami we are modelling. 118 You can change <b>event_number</b> to any event number in the anuga/boundaries directory. 119 As we said above, a new STS file must be generated for <font color="red">run_model.py</font> to work. 120 <p> 121 The event numbers correspond to a quake ID from the probabilistic tsunami hazard map of Australia. 122 <table class="code"> 123 <tr><td><pre>event_number = 51436 # 1 in 10000 yr event from New Hebrides</pre></td></tr> 124 </table> 105 125 <p> 106 126 127 <a name="elevation"><h4><b>Elevation</b></h4></a> 128 129 Elevation data can be changed in the <font color="red">project.py</font> elevation script. 130 Elevation data can be read as either a point file, comma delimited, or as an ASCII grid file 131 (ASC) with an accompanying projection file (PRJ). All elevation input must be projected in the correct UTM zone. 132 <p> 133 134 A header for a CSV file has the format: 135 <table class="code"> 136 <tr><td><pre>x,y,elevation</pre></td></tr> 137 </table> 138 <p> 139 140 An ASC file header has the format: 141 <table class="code"> 142 <tr><td><pre>ncols 868 143 nrows 856 144 xllcorner 418933.86055096 145 yllcorner 5151810.6668096 146 cellsize 250 147 NODATA_value -9999</pre></td></tr> 148 </table> 149 <p> 150 151 The header of a PRJ file has the format: 152 <table class="code"> 153 <tr><td><pre>Projection UTM 154 Zone 55 155 Datum D_GDA_1994 156 Zunits NO 157 Units METERS 158 Spheroid GRS_1980 159 Xshift 500000 160 Yshift 10000000 161 Parameters</pre></td></tr> 162 </table> 163 <p> 164 165 The elevation filenames must be listed in either <b>point_filenames</b> or <b>ascii_grid_filenames</b> 166 depending on their format. Point files need to have their extension shown however the ascii grid files have the .asc extension assumed: 167 <table class="code"> 168 <tr><td><pre>point_filenames = ['SD100031996_jgriffin_clip.csv', 169 'tomaga_offshore_AHD_MGA_1997.csv', 170 'Batemans_BBHD_MGA_1995.csv', 171 'moruya_AHD_MGA_2000.csv'] 172 173 ascii_grid_filenames = ['sd100031996_p', 174 'sd100031996_p2', 175 'sd100031996_p3', 176 'sd100031996_p4']</pre></td></tr> 177 </table> 178 <p> 179 180 For further information on ANUGA file formats please see the ANUGA User Manual, section 6.1. 181 <p> 182 183 <a name="interior_regions"><h4><b>Interior regions</b></h4></a> 184 185 The <b>interior_regions</b> parameter allows you to change the mesh of the model. 186 <p> 107 187 </body> 108 188 </html> -
DVD_images/extra_files/BatemansBay/project/project.py
r7205 r7300 29 29 30 30 # the event number or the mux file name 31 ##event_number = 58129 #1 in 200 yr Puyesgur32 ##event_number = 58115 #1 in 500 yr Puysegur33 ##event_number = 58226 #1 in 1000 yr Puysegur34 ##event_number = 58284 #1 in 2000 yr Puysegur35 ##event_number = 58286 #1 in 5000 yr Puysegur36 ##event_number = 58346 #1 in 10000 yr Puysegur 37 38 ##event_number = 51077 #1 in 200 yr New Hebrides39 ##event_number = 51378 #1 in 500 yr New Hebrides40 ##event_number = 51347 #1 in 1000 yr New Hebrides41 ##event_number = 51292 #1 in 2000 yr New Hebrides42 event_number = 51424#1 in 5000 yr New Hebrides43 ##event_number = 51204 #1 in 10000 yr New Hebrides 44 45 ######event_number = 58368 #1 in 100 000 yr Puysegur!!!46 ######event_number = 51436 #1 in 100 000 yr New Hebrides!!!47 ######event_number = 58272 #1 in 10000 yr Puysegur????48 ######event_number = 51445 #1 in 10000 yr New Hebrides????31 ##event_number = 58129 #1 in 200 yr Puyesgur 32 ##event_number = 58115 #1 in 500 yr Puysegur 33 ##event_number = 58226 #1 in 1000 yr Puysegur 34 ##event_number = 58284 #1 in 2000 yr Puysegur (Event 3) 35 ##event_number = 58286 #1 in 5000 yr Puysegur 36 event_number = 58346 #1 in 10000 yr Puysegur (Event 1) 37 38 ##event_number = 51077 #1 in 200 yr New Hebrides 39 ##event_number = 51378 #1 in 500 yr New Hebrides 40 ##event_number = 51347 #1 in 1000 yr New Hebrides 41 ##event_number = 51292 #1 in 2000 yr New Hebrides 42 ##event_number = 51424 #1 in 5000 yr New Hebrides 43 ##event_number = 51204 #1 in 10000 yr New Hebrides (Event 2) 44 45 ######event_number = 58368 #1 in 100 000 yr Puysegur 46 ######event_number = 51436 #1 in 100 000 yr New Hebrides 47 ######event_number = 58272 #1 in ~15000 yr Puysegur 48 ######event_number = 51445 #1 in ~15000 yr New Hebrides 49 49 50 50 alpha = 0.1 # smoothing parameter for mesh … … 78 78 # Used in build_elevation.py 79 79 # Format for ascii grids, as produced in ArcGIS + a projection file 80 ascii_grid_filenames = ['1a',# Topographic data 81 '1b', 82 '2b', 83 '2a_3', 84 '3b', 85 '3a', 86 '4a_2', 87 '4b', 88 'off1', 89 'off2', 90 'off3', 91 'bbhd', 92 'sd100031996_p', 93 'sd100031996_p2', 94 'sd100031996_p3', 95 'sd100031996_p4'] 80 ascii_grid_filenames = [] 96 81 97 82 # Format for point is x,y,elevation (with header) 98 point_filenames = ['SD100031996_jgriffin_clip.csv', 99 'tomaga_offshore_AHD_MGA_1997.csv', 100 'Batemans_BBHD_MGA_1995.csv', 101 'moruya_AHD_MGA_2000.csv'] 83 point_filenames = [] 102 84 103 85 … … 135 117 # Used in run_building_inundation.py 136 118 # Format latitude,longitude etc (geographic) 137 ##building_exposure_filename = ' busselton_res_clip.csv' # from NEXIS119 ##building_exposure_filename = '' # from NEXIS 138 120 139 121 # AREA OF IMAGES - Extent of each image to find out highest runup 140 122 # Header - easting,northing,id,value 141 123 # Used in get_runup.py 142 images_filename = ' images.csv'124 images_filename = '' 143 125 144 126 # BOUNDING POLYGON - used in build_boundary.py and run_model.py respectively … … 218 200 # create paths generated from environment variables. 219 201 home = join(os.getenv(ENV_INUNDATIONHOME), 'data') # Absolute path for data folder 220 202 221 203 # check various directories/files that must exist 222 204 anuga_folder = join(home, state, scenario_folder, 'anuga') -
DVD_images/extra_files/BatemansBay/project/setup_model.py
r7265 r7300 61 61 if not exists(project.gauges_folder): 62 62 print "Sorry, gauges directory '%s' doesn't exist" % project.gauges_folder 63 sanity_error = True 64 65 if not exists(project.meshes_folder): 66 print "Sorry, meshes directory '%s' doesn't exist" % project.meshes_folder 63 67 sanity_error = True 64 68 -
DVD_images/extra_files/GoldCoast/index.html
r7265 r7300 21 21 </table> 22 22 <hr> 23 <!--24 <ul class="navbar">25 <li><a href="#introduction">Introduction</a>26 <li><a href="#installing">Installing</a>27 <li><a href="#simulating">Running</a>28 <li><a href="#userslist">Mailing list</a>29 <li><a href="#auxscripts">Auxiliary scripts</a>30 <li><a href="#FAQ">Frequently Asked Questions</a>31 <li><a href="#extra">Extra stuff</a>32 </ul>33 -->34 23 35 24 <a name="introduction"><h3><b>Introduction</b></h3></a> 25 36 26 The information on this DVD and the associated report is intended to assist emergency managers in developing preparation and 37 27 response plans that can be used during a tsunami threat or emergency. 38 28 <p> 39 29 The Attorney General's Department (AGD) has supported Geoscience Australia (GA) in developing a range of products to support 40 the understanding of tsunami hazard through the Australian Tsunami Warning System Project. The work reported here is intended30 the understanding of tsunami hazard through the Australian Probabilistic Tsunami Warning System Project. The work reported here is intended 41 31 to further build the capacity of the Jurisdictions in developing inundation models for prioritised locations. 42 32 <p> … … 44 34 software necessary to reproduce and potentially augment the models underpinning the report. This will allow the Jurisdiction 45 35 to rerun the models with minor modifications or new elevation data as needed and also potentially replicate the methodology 46 to other locations if desired.36 to other locations within the model extent, if desired. 47 37 <p> 48 38 The data provided on this DVD is: 49 39 <ul> 50 <li> The Professional Opinion Report 2009/XX entitled <i>Capacity Building for Tsunami Planning and Preparation: 51 Inundation Models for Four East Coast Australian Communities</i> 52 <li> Elevation data used with the tsunami inundation model 53 <li> Input data for a range of tsunami events 40 <li> The Professional Opinion Report 2009/XX entitled <blink><i><a href="documents/not_there.pdf">Capacity Building for Tsunami Planning and Preparation: 41 Inundation Models for Four East Coast Australian Communities</a> <b><font color="red">UNFINISHED</font></b></i></blink> 42 <li> <a href="documents/Figures">Figures</a> of maximum inundation and maximum speed 43 <li> Generated <a href="data/queensland/gold_coast_tsunami_scenario_2009/anuga/outputs">Arc grids</a> of maximum inundation and maximum speed for the areas of interest 44 <li> Generated <a href="data/queensland/gold_coast_tsunami_scenario_2009/anuga/outputs">timeseries</a> from the models 45 <li> Combined <a href="data/queensland/gold_coast_tsunami_scenario_2009/anuga/topographies">elevation data</a> used by the simulation 46 <li> The <a href="data/queensland/gold_coast_tsunami_scenario_2009/anuga/outputs/elevation">Arc grid</a> of the resulting elevation generated by ANUGA 54 47 <li> The Python scripts used to run the models 55 48 </ul> 49 <p> 50 The tsunami wave data on this disk are all derived from events available in the Australian Tsunami 51 Hazard Map. As this dataset is very large, this DVD only contains the events 52 described in the report. 56 53 57 <a name="requirements"><h3><b>Re quirements</b></h3></a>54 <a name="requirements"><h3><b>Report Figures</b></h3></a> 58 55 59 The tsunami inundation simulations are based on the Open Source software package called ANUGA. 60 For more information about ANUGA visit <a href="https://datamining.anu.edu.au/anuga">https://datamining.anu.edu.au/anuga</a>. 61 <p> 62 ANUGA has been developed and tested under the Windows XP and Linux (Ubuntu, Mint and Red Hat) operating systems. 63 ANUGA may also be installed on a Windows Vista system and Debian Linux, but these have not been extensively tested. 64 <p> 65 The ANUGA scripts on this DVD require a minimum of 3GB of memory and possibly more, if mesh resolutions are increased. For this reason 66 we recommend using 64 bit Ubuntu Linux as this operating system can use more than 3GB of memory, whereas Windows XP cannot. 56 The figures from the report may be found <a href="documents/Figures">here</a>. 67 57 68 <a name="install ing"><h3><b>Installing ANUGA</b></h3></a>58 <a name="installation"><h3><b>Simulation Installation and Usage</b></h3></a> 69 59 70 You must install ANUGA according to the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>. 71 As the installation procedure comprises a number of steps we suggest that it is carried out by someone with a 72 basic understanding of how to install software packages on the operating system of choice. 60 Information for installing and using the simulation is <a href="installation.html">here</a>. 73 61 74 <a name="simulating"><h3><b>How to run a simulation</b></h3></a>75 76 This is how a user should run the model on this DVD.77 We assume that you are using Windows and will give examples for that operating system.78 The translation to Linux is left as an exercise for the student!79 <p>80 <hr align="left" width="100">81 <p>82 First, it is assumed you have installed the ANUGA software according to the83 <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>.84 <p>85 <hr align="left" width="100">86 <p>87 Next, you must copy the entire contents of the DVD to a place in your filesystem. Let's assume88 that you want to put the data into <b>C:\ANUGA</b>. You would do this in a Command Prompt window:89 <table class="code"><tr><td>90 C:<br>91 cd \<br>92 mkdir ANUGA<br>93 xcopy /e X:\ ANUGA94 </td></tr></table>95 <p>96 Of course, you could just drag all files on the DVD (X:\ is the assumed drive letter) to the desired target directory with Explorer.97 <p>98 <hr align="left" width="100">99 <p>100 Now you must create an environment variable <b>ANUGADATA</b> that points to the directory you just created:101 <table class="code"><tr><td>102 set ANUGADATA=C:\ANUGA103 </td></tr></table>104 <p>105 Doing the above in a Command Prompt window is temporary - if you open another106 window you will not have the ANUGADATA environment variable defined. To make107 the variable permanent you must set it in the <b>Start|Settings|Control Panel|System</b>108 tool (<b>Advanced</b> tab). See the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>109 if you don't know how to do this.110 <p>111 <hr align="left" width="100">112 <p>113 At this point you should run the <font color="red">build_elevation.py</font>114 script to convert the raw elevation data to a set of 'combined_elevation'115 files ready to be used by the ANUGA system. It is possible that you have not116 been given the elevation data on the DVD as it is too large. In that case you117 cannot run the <font color="red">build_elevation.py</font> script and you118 should skip to the next step.119 <table class="code"><tr><td>120 cd C:\ANUGA<br>121 cd project<br>122 python build_elevation.py123 </td></tr></table>124 <p>125 When you get to the point of running the model with your own data, you must126 run <font color="red">build_elevation.py</font> to recreate the combined elevation files every time127 you change the elevation data.128 <p>129 <hr align="left" width="100">130 <p>131 Next, you prepare and execute the model:132 <table class="code"><tr><td>133 python setup_model.py<br >134 python run_model.py135 </td></tr></table>136 <p>137 <hr align="left" width="100">138 <p>139 This should all run to completion, though it may take several days, depending on140 the hardware used.141 <p>142 If you do get an error from <font color="red">setup_model.py</font>143 or <font color="red">run_model.py</font> look for some explanation in the log144 files, which you should find somewhere under <b>C:\ANUGA\data</b>. Just keep145 drilling down from that point until you find a directory called <b>outputs</b>.146 The latest directory in <b>outputs</b> should contain a file called <font color="red">screen_error.txt</font>147 with an explanation of the error at the end.148 <p>149 Once the simulation has completed you may view the results using the ANUGA150 viewer as described in the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>151 and <a href="documents/anuga_user_manual.pdf">User Manual</a>, run the script152 <font color="red">export_results_max.py</font> to generate rasters suitable153 for GIS mapping, or write dedicated scripts extracting timeseries at selected154 locations.155 <p>156 The input waves are all derived from events available in the Australian Tsunami157 Hazard Map. As this dataset is very large, this DVD only contains the events158 described in the report. If other events from the Hazard Map are obtained,159 the script <font color="red">build_urs_boundary.py</font> has been designed160 to prepare the associated input wave for ingestion into ANUGA. This script161 is documented in the <a href="documents/anuga_user_manual.pdf">User Manual</a>.162 <p>163 The ANUGA <a href="documents/anuga_user_manual.pdf">User Manual</a> describes164 how to use the ANUGA system in general and provides some examples of its use.165 166 <a name="userslist"><h3><b>How to join the ANUGA user's mailing list</b></h3></a>167 168 One of the quickest ways to get your ANUGA questions answered is by asking them on the <b>ANUGA-user</b> mailing list.169 You can subscribe to the list <a href="https://lists.sourceforge.net/lists/listinfo/anuga-user">here</a>170 and can view the mailing list <a href="https://sourceforge.net/mailarchive/forum.php?forum_name=anuga-user">archives</a>.171 <p>172 It costs nothing to register and you can choose to have list mail sent to you as individual emails or have them batched173 into a few emails per day. You can unsubscribe at any time through the subscribe link above.174 175 <a name="auxscripts"><h3><b>How to use the auxiliary scripts</b></h3></a>176 177 On this disk there are a selection of auxiliary scripts that you can use to extract various pieces of information178 from the generated SWW files. The <a href="auxiliary_scripts.html">auxiliary scripts</a> page explains how to use the scripts.179 180 <a name="FAQ"><h3><b>Frequently Asked Questions</b></h3></a>181 182 There is a <b>Frequently Asked Questions</b> (FAQ) page at183 <a href="https://datamining.anu.edu.au/anuga/wiki/FrequentlyAskedQuestions">https://datamining.anu.edu.au/anuga/wiki/FrequentlyAskedQuestions</a>.184 Look in here and search the mailing list archives before asking questions on the ANUGA user's mailing list.185 Someone may already have asked your question!186 <p>187 Note that you can edit the FAQ pages, so it is helpful if you can update the FAQ with your question and its answer if you feel188 it would be helpful to others.189 62 </body> 190 63 </html> -
DVD_images/extra_files/GoldCoast/project/project.py
r7205 r7300 36 36 event_number = 51469 # the event number or the mux file name 37 37 38 event_number_list = [51469, 50863, 51392] # To piggy back multiple events 39 40 tide = 0 38 event_number_list = [51469, 51392, 50863] # To piggy back multiple events 39 40 # Event Details: 41 # Event 1 (51469) 42 # Source Zone = New Hebrides 43 # Return Period = 10 000 years 44 # Wave height at 100 m = 2.3 m 45 # 46 # Event 2 (51392) 47 # Source Zone = New Hebrides 48 # Return Period = 5000 years 49 # Wave height at 100 m = 1.7 m 50 # 51 # Event 3 (50863) 52 # Source Zone = New Hebrides 53 # Return Period = 200 years 54 # Wave height at 100 m = 0.3 m 55 56 tide = 0 # Mean Sea Level = 0, 57 # Highest Astronomical Tide = 1.1 m for Gold Coast 41 58 alpha = 0.1 # smoothing parameter for mesh 42 friction =0.01 # manning's friction coefficient43 starttime =0 # start time for simulation44 finaltime =80000 # final time for simulation59 friction = 0.01 # manning's friction coefficient 60 starttime = 0 # start time for simulation 61 finaltime = 80000 # final time for simulation 45 62 46 63 setup = 'final' # This can be one of three values … … 60 77 #------------------------------------------------------------------------------- 61 78 62 output_comment = [setup, tide, '250m',event_number]79 output_comment = [setup, tide, event_number] 63 80 64 81 #------------------------------------------------------------------------------- … … 69 86 # Used in build_elevation.py 70 87 # Format for ascii grids, as produced in ArcGIS + a projection file 71 ascii_grid_filenames = ['grid250m_all_pro'] # 2005 250m grid 72 ## ['GC_DTM_30m']] # supplied DEM 88 ascii_grid_filenames = [] 73 89 74 90 # Format for point is x,y,elevation (with header) 75 91 point_filenames = [] 76 77 ### Add csv header list to all files in point_filenames78 ##headerlist = ['x', 'y', 'elevation']79 ##for f in point_filenames:80 ## add_csv_header(join(topographies_folder, f), headerlist)81 92 82 93 # BOUNDING POLYGON - for data clipping and estimate of triangles in mesh 83 94 # Used in build_elevation.py 84 95 # Format for points easting,northing (no header) 85 bounding_polygon_filename = 'bounding_polygon _sml.csv'96 bounding_polygon_filename = 'bounding_polygon.csv' 86 97 bounding_polygon_maxarea = 125000 87 98 … … 89 100 # Used in run_model.py 90 101 # Format for points easting,northing (no header) 91 interior_regions_data = [] 102 interior_regions_data = [['area_of_interest.csv', 500], 103 ['intermediate.csv', 25000]] 92 104 93 105 # LAND - used to set the initial stage/water to be offcoast only 94 106 # Used in run_model.py. Format for points easting,northing (no header) 95 land_initial_conditions_filename = [['initial_conditions _sml.csv', 0]]107 land_initial_conditions_filename = [['initial_conditions.csv', 0]] 96 108 97 109 # GAUGES - for creating timeseries at a specific point … … 103 115 # Used in run_building_inundation.py 104 116 # Format latitude,longitude etc (geographic) 105 building_exposure_filename = ' gold_coast_res_clip.csv' # from NEXIS117 building_exposure_filename = '' # from NEXIS 106 118 107 119 # AREA OF IMAGES - Extent of each image to find out highest runup … … 118 130 # Thinned ordering file from Hazard Map (geographic) 119 131 # Format is index,latitude,longitude (with header) 120 urs_order_filename = 'urs_order _sml.csv'132 urs_order_filename = 'urs_order.csv' 121 133 122 134 # Landward bounding points 123 135 # Format easting,northing (no header) 124 landward_boundary_filename = 'landward_boundary _sml.csv'136 landward_boundary_filename = 'landward_boundary.csv' 125 137 126 138 # MUX input filename. … … 138 150 #------------------------------------------------------------------------------- 139 151 140 # ASCII export grid for Gold Coast 141 xminGold_Coast = 541500 142 xmaxGold_Coast = 546000 143 yminGold_Coast = 6893500 144 ymaxGold_Coast = 6898500 145 146 # ASCII export grid for dune study 147 xminDune = 536710 148 xmaxDune = 556150 149 yminDune = 6881125 150 ymaxDune = 6926860 152 153 151 154 152 155 ################################################################################ … … 172 175 # Output filename for elevation 173 176 # this is a combination of all the data generated in build_elevation.py 174 combined_elevation_basename = scenario_name + '_combined_elevation _250m'177 combined_elevation_basename = scenario_name + '_combined_elevation' 175 178 176 179 #------------------------------------------------------------------------------- … … 246 249 images = join(polygons_folder, images_filename) 247 250 248 # full path to where MUX files (or meta-files) live 249 mux_input = join(event_folder, mux_input_filename) 250 251 -
DVD_images/extra_files/GoldCoast/project/setup_model.py
r7205 r7300 77 77 sanity_error = True 78 78 79 # if multi_mux is True, check if multi-mux file exists80 if project.multi_mux:81 if not exists(project.mux_input):82 print ("Sorry, MUX input file '%s' doesn't exist"83 % project.mux_input)84 sanity_error = True85 86 79 #----- 87 80 # If this directory don't exist, EventSelection hasn't been run. -
DVD_images/extra_files/Gosford/index.html
r7265 r7300 21 21 </table> 22 22 <hr> 23 <!--24 <ul class="navbar">25 <li><a href="#introduction">Introduction</a>26 <li><a href="#installing">Installing</a>27 <li><a href="#simulating">Running</a>28 <li><a href="#userslist">Mailing list</a>29 <li><a href="#auxscripts">Auxiliary scripts</a>30 <li><a href="#FAQ">Frequently Asked Questions</a>31 <li><a href="#extra">Extra stuff</a>32 </ul>33 -->34 23 35 24 <a name="introduction"><h3><b>Introduction</b></h3></a> 25 36 26 The information on this DVD and the associated report is intended to assist emergency managers in developing preparation and 37 27 response plans that can be used during a tsunami threat or emergency. 38 28 <p> 39 29 The Attorney General's Department (AGD) has supported Geoscience Australia (GA) in developing a range of products to support 40 the understanding of tsunami hazard through the Australian Tsunami Warning System Project. The work reported here is intended30 the understanding of tsunami hazard through the Australian Probabilistic Tsunami Warning System Project. The work reported here is intended 41 31 to further build the capacity of the Jurisdictions in developing inundation models for prioritised locations. 42 32 <p> … … 44 34 software necessary to reproduce and potentially augment the models underpinning the report. This will allow the Jurisdiction 45 35 to rerun the models with minor modifications or new elevation data as needed and also potentially replicate the methodology 46 to other locations if desired.36 to other locations within the model extent, if desired. 47 37 <p> 48 38 The data provided on this DVD is: 49 39 <ul> 50 <li> The Professional Opinion Report 2009/XX entitled <i>Capacity Building for Tsunami Planning and Preparation: 51 Inundation Models for Four East Coast Australian Communities</i> 52 <li> Elevation data used with the tsunami inundation model 53 <li> Input data for a range of tsunami events 40 <li> The Professional Opinion Report 2009/XX entitled <blink><i><a href="documents/not_there.pdf">Capacity Building for Tsunami Planning and Preparation: 41 Inundation Models for Four East Coast Australian Communities</a> <b><font color="red">UNFINISHED</font></b></i></blink> 42 <li> <a href="documents/Figures">Figures</a> of maximum inundation and maximum speed 43 <li> Generated <a href="data/new_south_wales/gosford_tsunami_scenario_2009/anuga/outputs">Arc grids</a> of maximum inundation and maximum speed for the areas of interest 44 <li> Generated <a href="data/new_south_wales/gosford_tsunami_scenario_2009/anuga/outputs">timeseries</a> from the models 45 <li> Combined <a href="data/new_south_wales/gosford_tsunami_scenario_2009/anuga/topographies">elevation data</a> used by the simulation 46 <li> The <a href="data/new_south_wales/gosford_tsunami_scenario_2009/anuga/outputs/elevation">Arc grid</a> of the resulting elevation generated by ANUGA 54 47 <li> The Python scripts used to run the models 55 48 </ul> 49 <p> 50 The tsunami wave data on this disk are all derived from events available in the Australian Tsunami 51 Hazard Map. As this dataset is very large, this DVD only contains the events 52 described in the report. 56 53 57 <a name="requirements"><h3><b>Re quirements</b></h3></a>54 <a name="requirements"><h3><b>Report Figures</b></h3></a> 58 55 59 The tsunami inundation simulations are based on the Open Source software package called ANUGA. 60 For more information about ANUGA visit <a href="https://datamining.anu.edu.au/anuga">https://datamining.anu.edu.au/anuga</a>. 61 <p> 62 ANUGA has been developed and tested under the Windows XP and Linux (Ubuntu, Mint and Red Hat) operating systems. 63 ANUGA may also be installed on a Windows Vista system and Debian Linux, but these have not been extensively tested. 64 <p> 65 The ANUGA scripts on this DVD require a minimum of 3GB of memory and possibly more, if mesh resolutions are increased. For this reason 66 we recommend using 64 bit Ubuntu Linux as this operating system can use more than 3GB of memory, whereas Windows XP cannot. 56 The figures from the report may be found <a href="documents/Figures">here</a>. 67 57 68 <a name="install ing"><h3><b>Installing ANUGA</b></h3></a>58 <a name="installation"><h3><b>Simulation Installation and Usage</b></h3></a> 69 59 70 You must install ANUGA according to the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>. 71 As the installation procedure comprises a number of steps we suggest that it is carried out by someone with a 72 basic understanding of how to install software packages on the operating system of choice. 60 Information for installing and using the simulation is <a href="installation.html">here</a>. 73 61 74 <a name="simulating"><h3><b>How to run a simulation</b></h3></a>75 76 This is how a user should run the model on this DVD.77 We assume that you are using Windows and will give examples for that operating system.78 The translation to Linux is left as an exercise for the student!79 <p>80 <hr align="left" width="100">81 <p>82 First, it is assumed you have installed the ANUGA software according to the83 <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>.84 <p>85 <hr align="left" width="100">86 <p>87 Next, you must copy the entire contents of the DVD to a place in your filesystem. Let's assume88 that you want to put the data into <b>C:\ANUGA</b>. You would do this in a Command Prompt window:89 <table class="code"><tr><td>90 C:<br>91 cd \<br>92 mkdir ANUGA<br>93 xcopy /e X:\ ANUGA94 </td></tr></table>95 <p>96 Of course, you could just drag all files on the DVD (X:\ is the assumed drive letter) to the desired target directory with Explorer.97 <p>98 <hr align="left" width="100">99 <p>100 Now you must create an environment variable <b>ANUGADATA</b> that points to the directory you just created:101 <table class="code"><tr><td>102 set ANUGADATA=C:\ANUGA103 </td></tr></table>104 <p>105 Doing the above in a Command Prompt window is temporary - if you open another106 window you will not have the ANUGADATA environment variable defined. To make107 the variable permanent you must set it in the <b>Start|Settings|Control Panel|System</b>108 tool (<b>Advanced</b> tab). See the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>109 if you don't know how to do this.110 <p>111 <hr align="left" width="100">112 <p>113 At this point you should run the <font color="red">build_elevation.py</font>114 script to convert the raw elevation data to a set of 'combined_elevation'115 files ready to be used by the ANUGA system. It is possible that you have not116 been given the elevation data on the DVD as it is too large. In that case you117 cannot run the <font color="red">build_elevation.py</font> script and you118 should skip to the next step.119 <table class="code"><tr><td>120 cd C:\ANUGA<br>121 cd project<br>122 python build_elevation.py123 </td></tr></table>124 <p>125 When you get to the point of running the model with your own data, you must126 run <font color="red">build_elevation.py</font> to recreate the combined elevation files every time127 you change the elevation data.128 <p>129 <hr align="left" width="100">130 <p>131 Next, you prepare and execute the model:132 <table class="code"><tr><td>133 python setup_model.py<br >134 python run_model.py135 </td></tr></table>136 <p>137 <hr align="left" width="100">138 <p>139 This should all run to completion, though it may take several days, depending on140 the hardware used.141 <p>142 If you do get an error from <font color="red">setup_model.py</font>143 or <font color="red">run_model.py</font> look for some explanation in the log144 files, which you should find somewhere under <b>C:\ANUGA\data</b>. Just keep145 drilling down from that point until you find a directory called <b>outputs</b>.146 The latest directory in <b>outputs</b> should contain a file called <font color="red">screen_error.txt</font>147 with an explanation of the error at the end.148 <p>149 Once the simulation has completed you may view the results using the ANUGA150 viewer as described in the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>151 and <a href="documents/anuga_user_manual.pdf">User Manual</a>, run the script152 <font color="red">export_results_max.py</font> to generate rasters suitable153 for GIS mapping, or write dedicated scripts extracting timeseries at selected154 locations.155 <p>156 The input waves are all derived from events available in the Australian Tsunami157 Hazard Map. As this dataset is very large, this DVD only contains the events158 described in the report. If other events from the Hazard Map are obtained,159 the script <font color="red">build_urs_boundary.py</font> has been designed160 to prepare the associated input wave for ingestion into ANUGA. This script161 is documented in the <a href="documents/anuga_user_manual.pdf">User Manual</a>.162 <p>163 The ANUGA <a href="documents/anuga_user_manual.pdf">User Manual</a> describes164 how to use the ANUGA system in general and provides some examples of its use.165 166 <a name="userslist"><h3><b>How to join the ANUGA user's mailing list</b></h3></a>167 168 One of the quickest ways to get your ANUGA questions answered is by asking them on the <b>ANUGA-user</b> mailing list.169 You can subscribe to the list <a href="https://lists.sourceforge.net/lists/listinfo/anuga-user">here</a>170 and can view the mailing list <a href="https://sourceforge.net/mailarchive/forum.php?forum_name=anuga-user">archives</a>.171 <p>172 It costs nothing to register and you can choose to have list mail sent to you as individual emails or have them batched173 into a few emails per day. You can unsubscribe at any time through the subscribe link above.174 175 <a name="auxscripts"><h3><b>How to use the auxiliary scripts</b></h3></a>176 177 On this disk there are a selection of auxiliary scripts that you can use to extract various pieces of information178 from the generated SWW files. The <a href="auxiliary_scripts.html">auxiliary scripts</a> page explains how to use the scripts.179 180 <a name="FAQ"><h3><b>Frequently Asked Questions</b></h3></a>181 182 There is a <b>Frequently Asked Questions</b> (FAQ) page at183 <a href="https://datamining.anu.edu.au/anuga/wiki/FrequentlyAskedQuestions">https://datamining.anu.edu.au/anuga/wiki/FrequentlyAskedQuestions</a>.184 Look in here and search the mailing list archives before asking questions on the ANUGA user's mailing list.185 Someone may already have asked your question!186 <p>187 Note that you can edit the FAQ pages, so it is helpful if you can update the FAQ with your question and its answer if you feel188 it would be helpful to others.189 62 </body> 190 63 </html> -
DVD_images/extra_files/Gosford/project/project.py
r7205 r7300 9 9 from os.path import join, exists 10 10 import csv 11 #import run_model_later 11 12 12 13 … … 25 26 #------------------------------------------------------------------------------- 26 27 27 28 # Model specific parameters. 29 # One or all can be changed each time the run_model script is executed 30 tide = 0.0 # difference between MSL and HAT in metres 28 tide = 0.0 29 # difference between MSL and HAT in metres 31 30 zone = 56 # specify zone of model 32 31 #event_number = 58242 # Puysegur 1 in 10 000 # the event number or the mux file name 33 event_number = 51436 # New Hebrides 1 in 10 00032 #event_number = 51436 # New Hebrides 1 in 10 000 34 33 #event_number = 58349 # Puysegur 1 in 5000 35 34 #event_number = 58284 # Puysegur 1 in 2000 36 35 #event_number = 58187 # Puysegur 1 in 1000 37 36 #event_number = 58113 # Puysegur 1 in 500 38 #event_number = 58025 # Puysegur 1 in 200 39 37 event_number = 58025 # Puysegur 1 in 200 40 38 41 39 alpha = 0.1 # smoothing parameter for mesh … … 69 67 # Used in build_elevation.py 70 68 # Format for ascii grids, as produced in ArcGIS + a projection file 71 ascii_grid_filenames = ['e151_s34_clip2', 72 'aus197_topo2raster_clip2', 73 'hydro_topo2raster_clip2'] 74 #'aus197_topo2raster_terrigal'] #GA data?? 69 ascii_grid_filenames = [] 75 70 76 77 78 #Get long list of Lidar filenames.79 ENV_INUNDATIONHOME = 'ANUGADATA'80 home = join(os.getenv(ENV_INUNDATIONHOME), 'data')81 anuga_folder = join(home, state, scenario_folder, 'anuga')82 topographies_folder = join(anuga_folder, 'topographies/original')83 84 #This reads a file containing lidar filenames and appends to a list85 file_list = join(topographies_folder, 'file_list.csv')86 fid = csv.reader(open(file_list))87 lidar_filenames = []88 for row in fid:89 lidar_filenames.append(','.join(row))90 91 92 71 # Format for point is x,y,elevation (with header) 93 point_filenames = ['estuaries.txt', 94 ## 'XYHI341_HSDB_SD100035103', 95 ## 'XYAHD', 96 ## 'XYSCHOOL_11_99_HSDB_SD100021002_MGA', 97 'ENT5C1S08_03_AHD_prepared.txt', 98 'ENT5C1S09_03_AHD_prepared.txt', 99 'ENT5C1S10_03_AHD_prepared.txt', 100 ## 'XYAHD', 101 ## 'XYHI341_HSDB_SD100035103_MGA', 102 ## 'XYHI339_F_HSDB_SD100031669_MGA', 103 ## 'AUS197_MGA_AHD_1972.txt', 104 'hydro_clip_neg.txt' 105 ] 106 point_filenames.extend(lidar_filenames) 107 #print point_filenames 108 109 110 ### Add csv header list to all files in point_filenames 111 ##headerlist = ['x', 'y', 'elevation'] 112 ##for f in point_filenames: 113 ## add_csv_header(join(topographies_folder, f), headerlist) 114 115 # BOUNDING POLYGON - for data clipping and estimate of triangles in mesh 72 point_filenames = [] 73 74 75 # BOUNDING POLYGON - for data clipping and estimate of triangles in mesh 116 76 # Used in build_elevation.py 117 77 # Format for points easting,northing (no header) … … 147 107 # Header - easting,northing,id,value 148 108 # Used in get_runup.py 149 images_filename = ' images.csv'109 images_filename = '' 150 110 151 111 # BOUNDING POLYGON - used in build_boundary.py and run_model.py respectively … … 201 161 host = get_host_name() 202 162 163 # Environment variable names. 164 # The inundation directory, not the data directory. 165 ENV_INUNDATIONHOME = 'ANUGADATA' 166 203 167 #------------------------------------------------------------------------------- 204 168 # Output Elevation Data … … 221 185 # create paths generated from environment variables. 222 186 home = join(os.getenv(ENV_INUNDATIONHOME), 'data') # Absolute path for data folder 223 187 224 188 # check various directories/files that must exist 225 189 anuga_folder = join(home, state, scenario_folder, 'anuga') 226 topographies_folder = join(anuga_folder, 'topographies /original')190 topographies_folder = join(anuga_folder, 'topographies') 227 191 polygons_folder = join(anuga_folder, 'polygons') 228 192 boundaries_folder = join(anuga_folder, 'boundaries') -
DVD_images/extra_files/Gosford/project/run_model.py
r7205 r7300 157 157 158 158 t0 = time.time() 159 ##for t in domain.evolve(yieldstep=project.yieldstep,160 ## finaltime=1440,161 ## skip_initial_step=False):162 ## print domain.timestepping_statistics()163 ## print domain.boundary_statistics(tags='ocean')164 ##165 ##for t in domain.evolve(yieldstep=5,166 ## finaltime=6000,167 ## skip_initial_step=True):168 ## print domain.timestepping_statistics()169 ## print domain.boundary_statistics(tags='ocean')170 171 159 172 160 for t in domain.evolve(yieldstep=project.yieldstep, … … 175 163 print domain.timestepping_statistics() 176 164 print domain.boundary_statistics(tags='ocean') 165 print domain.volumetric_balance_statistics() 177 166 178 167 print 'Simulation took %.2f seconds' % (time.time()-t0) -
DVD_images/extra_files/Hobart/index.html
r7265 r7300 21 21 </table> 22 22 <hr> 23 <!--24 <ul class="navbar">25 <li><a href="#introduction">Introduction</a>26 <li><a href="#installing">Installing</a>27 <li><a href="#simulating">Running</a>28 <li><a href="#userslist">Mailing list</a>29 <li><a href="#auxscripts">Auxiliary scripts</a>30 <li><a href="#FAQ">Frequently Asked Questions</a>31 <li><a href="#extra">Extra stuff</a>32 </ul>33 -->34 23 35 24 <a name="introduction"><h3><b>Introduction</b></h3></a> 25 36 26 The information on this DVD and the associated report is intended to assist emergency managers in developing preparation and 37 27 response plans that can be used during a tsunami threat or emergency. 38 28 <p> 39 29 The Attorney General's Department (AGD) has supported Geoscience Australia (GA) in developing a range of products to support 40 the understanding of tsunami hazard through the Australian Tsunami Warning System Project. The work reported here is intended30 the understanding of tsunami hazard through the Australian Probabilistic Tsunami Warning System Project. The work reported here is intended 41 31 to further build the capacity of the Jurisdictions in developing inundation models for prioritised locations. 42 32 <p> … … 44 34 software necessary to reproduce and potentially augment the models underpinning the report. This will allow the Jurisdiction 45 35 to rerun the models with minor modifications or new elevation data as needed and also potentially replicate the methodology 46 to other locations if desired.36 to other locations within the model extent, if desired. 47 37 <p> 48 38 The data provided on this DVD is: 49 39 <ul> 50 <li> The Professional Opinion Report 2009/XX entitled <i>Capacity Building for Tsunami Planning and Preparation: 51 Inundation Models for Four East Coast Australian Communities</i> 52 <li> Elevation data used with the tsunami inundation model 53 <li> Input data for a range of tsunami events 40 <li> The Professional Opinion Report 2009/XX entitled <blink><i><a href="documents/not_there.pdf">Capacity Building for Tsunami Planning and Preparation: 41 Inundation Models for Four East Coast Australian Communities</a> <b><font color="red">UNFINISHED</font></b></i></blink> 42 <li> <a href="documents/Figures">Figures</a> of maximum inundation and maximum speed 43 <li> Generated <a href="data/tasmania/hobart_tsunami_scenario_2009/anuga/outputs">Arc grids</a> of maximum inundation and maximum speed for the areas of interest 44 <li> Generated <a href="data/tasmania/hobart_tsunami_scenario_2009/anuga/outputs">timeseries</a> from the models 45 <li> Combined <a href="data/tasmania/hobart_tsunami_scenario_2009/anuga/topographies">elevation data</a> used by the simulation 46 <li> The <a href="data/tasmania/hobart_tsunami_scenario_2009/anuga/outputs/elevation">Arc grid</a> of the resulting elevation generated by ANUGA 54 47 <li> The Python scripts used to run the models 55 48 </ul> 49 <p> 50 The tsunami wave data on this disk are all derived from events available in the Australian Tsunami 51 Hazard Map. As this dataset is very large, this DVD only contains the events 52 described in the report. 56 53 57 <a name="requirements"><h3><b>Re quirements</b></h3></a>54 <a name="requirements"><h3><b>Report Figures</b></h3></a> 58 55 59 The tsunami inundation simulations are based on the Open Source software package called ANUGA. 60 For more information about ANUGA visit <a href="https://datamining.anu.edu.au/anuga">https://datamining.anu.edu.au/anuga</a>. 61 <p> 62 ANUGA has been developed and tested under the Windows XP and Linux (Ubuntu, Mint and Red Hat) operating systems. 63 ANUGA may also be installed on a Windows Vista system and Debian Linux, but these have not been extensively tested. 64 <p> 65 The ANUGA scripts on this DVD require a minimum of 3GB of memory and possibly more, if mesh resolutions are increased. For this reason 66 we recommend using 64 bit Ubuntu Linux as this operating system can use more than 3GB of memory, whereas Windows XP cannot. 56 The figures from the report may be found <a href="documents/Figures">here</a>. 67 57 68 <a name="install ing"><h3><b>Installing ANUGA</b></h3></a>58 <a name="installation"><h3><b>Simulation Installation and Usage</b></h3></a> 69 59 70 You must install ANUGA according to the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>. 71 As the installation procedure comprises a number of steps we suggest that it is carried out by someone with a 72 basic understanding of how to install software packages on the operating system of choice. 60 Information for installing and using the simulation is <a href="installation.html">here</a>. 73 61 74 <a name="simulating"><h3><b>How to run a simulation</b></h3></a>75 76 This is how a user should run the model on this DVD.77 We assume that you are using Windows and will give examples for that operating system.78 The translation to Linux is left as an exercise for the student!79 <p>80 <hr align="left" width="100">81 <p>82 First, it is assumed you have installed the ANUGA software according to the83 <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>.84 <p>85 <hr align="left" width="100">86 <p>87 Next, you must copy the entire contents of the DVD to a place in your filesystem. Let's assume88 that you want to put the data into <b>C:\ANUGA</b>. You would do this in a Command Prompt window:89 <table class="code"><tr><td>90 C:<br>91 cd \<br>92 mkdir ANUGA<br>93 xcopy /e X:\ ANUGA94 </td></tr></table>95 <p>96 Of course, you could just drag all files on the DVD (X:\ is the assumed drive letter) to the desired target directory with Explorer.97 <p>98 <hr align="left" width="100">99 <p>100 Now you must create an environment variable <b>ANUGADATA</b> that points to the directory you just created:101 <table class="code"><tr><td>102 set ANUGADATA=C:\ANUGA103 </td></tr></table>104 <p>105 Doing the above in a Command Prompt window is temporary - if you open another106 window you will not have the ANUGADATA environment variable defined. To make107 the variable permanent you must set it in the <b>Start|Settings|Control Panel|System</b>108 tool (<b>Advanced</b> tab). See the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>109 if you don't know how to do this.110 <p>111 <hr align="left" width="100">112 <p>113 At this point you should run the <font color="red">build_elevation.py</font>114 script to convert the raw elevation data to a set of 'combined_elevation'115 files ready to be used by the ANUGA system. It is possible that you have not116 been given the elevation data on the DVD as it is too large. In that case you117 cannot run the <font color="red">build_elevation.py</font> script and you118 should skip to the next step.119 <table class="code"><tr><td>120 cd C:\ANUGA<br>121 cd project<br>122 python build_elevation.py123 </td></tr></table>124 <p>125 When you get to the point of running the model with your own data, you must126 run <font color="red">build_elevation.py</font> to recreate the combined elevation files every time127 you change the elevation data.128 <p>129 <hr align="left" width="100">130 <p>131 Next, you prepare and execute the model:132 <table class="code"><tr><td>133 python setup_model.py<br >134 python run_model.py135 </td></tr></table>136 <p>137 <hr align="left" width="100">138 <p>139 This should all run to completion, though it may take several days, depending on140 the hardware used.141 <p>142 If you do get an error from <font color="red">setup_model.py</font>143 or <font color="red">run_model.py</font> look for some explanation in the log144 files, which you should find somewhere under <b>C:\ANUGA\data</b>. Just keep145 drilling down from that point until you find a directory called <b>outputs</b>.146 The latest directory in <b>outputs</b> should contain a file called <font color="red">screen_error.txt</font>147 with an explanation of the error at the end.148 <p>149 Once the simulation has completed you may view the results using the ANUGA150 viewer as described in the <a href="documents/anuga_installation_guide.pdf">Installation Guide</a>151 and <a href="documents/anuga_user_manual.pdf">User Manual</a>, run the script152 <font color="red">export_results_max.py</font> to generate rasters suitable153 for GIS mapping, or write dedicated scripts extracting timeseries at selected154 locations.155 <p>156 The input waves are all derived from events available in the Australian Tsunami157 Hazard Map. As this dataset is very large, this DVD only contains the events158 described in the report. If other events from the Hazard Map are obtained,159 the script <font color="red">build_urs_boundary.py</font> has been designed160 to prepare the associated input wave for ingestion into ANUGA. This script161 is documented in the <a href="documents/anuga_user_manual.pdf">User Manual</a>.162 <p>163 The ANUGA <a href="documents/anuga_user_manual.pdf">User Manual</a> describes164 how to use the ANUGA system in general and provides some examples of its use.165 166 <a name="userslist"><h3><b>How to join the ANUGA user's mailing list</b></h3></a>167 168 One of the quickest ways to get your ANUGA questions answered is by asking them on the <b>ANUGA-user</b> mailing list.169 You can subscribe to the list <a href="https://lists.sourceforge.net/lists/listinfo/anuga-user">here</a>170 and can view the mailing list <a href="https://sourceforge.net/mailarchive/forum.php?forum_name=anuga-user">archives</a>.171 <p>172 It costs nothing to register and you can choose to have list mail sent to you as individual emails or have them batched173 into a few emails per day. You can unsubscribe at any time through the subscribe link above.174 175 <a name="auxscripts"><h3><b>How to use the auxiliary scripts</b></h3></a>176 177 On this disk there are a selection of auxiliary scripts that you can use to extract various pieces of information178 from the generated SWW files. The <a href="auxiliary_scripts.html">auxiliary scripts</a> page explains how to use the scripts.179 180 <a name="FAQ"><h3><b>Frequently Asked Questions</b></h3></a>181 182 There is a <b>Frequently Asked Questions</b> (FAQ) page at183 <a href="https://datamining.anu.edu.au/anuga/wiki/FrequentlyAskedQuestions">https://datamining.anu.edu.au/anuga/wiki/FrequentlyAskedQuestions</a>.184 Look in here and search the mailing list archives before asking questions on the ANUGA user's mailing list.185 Someone may already have asked your question!186 <p>187 Note that you can edit the FAQ pages, so it is helpful if you can update the FAQ with your question and its answer if you feel188 it would be helpful to others.189 62 </body> 190 63 </html> -
DVD_images/extra_files/Hobart/project/project.py
r7206 r7300 8 8 from time import localtime, strftime, gmtime 9 9 from os.path import join, exists 10 11 #-------------------------------------------------------------------------------12 # Fitting Scenario13 #-------------------------------------------------------------------------------14 15 extent = None #'small' #None #'sw' # 'aos1' ##'aos1'16 extent_maxarea = 3000017 10 18 11 #------------------------------------------------------------------------------- … … 32 25 # Model specific parameters. 33 26 # One or all can be changed each time the run_model script is executed 34 tide = 0.8 # difference between MSL and HAT in metres 27 tide = 0 # difference between MSL and HAT in metres 28 # Highest Astronomical Tide = 0.8 m for Hobart 35 29 zone = 55 # specify UTM zone of model 36 event_number = 58292 # 58280, 64477 the event number or the mux file name 30 event_number = 58260 # 58280, 64477 the event number - See event_chosen.xls 31 # in anuga/boundaries for more details 37 32 alpha = 0.1 # smoothing parameter for mesh 38 33 friction=0.01 # manning's friction coefficient … … 56 51 #------------------------------------------------------------------------------- 57 52 58 output_comment = [setup, tide, event_number , extent]53 output_comment = [setup, tide, event_number] 59 54 60 55 #------------------------------------------------------------------------------- … … 64 59 # ELEVATION DATA 65 60 # Used in build_elevation.py 66 if extent == None: 67 ascii_grid_filenames = ['topo_grid_notsw', 'fitting_problem_sw_elevation'] 68 point_filenames = [] 69 elif extent == 'sw': 70 # Format for ascii grids, as produced in ArcGIS + a projection file 71 ascii_grid_filenames = ['hob3_pro_extract', 'grid_250m_project', 'ldr_bbay', 72 'ldr_bellerive', 'ldr_brunyislandneck', 73 'ldr_calvertsbeach', 'ldr_carltonbeach', 74 'ldr_connelly', 'ldr_cremorne', 'ldr_dodge1', 75 'ldr_dodge2', 'ldr_kingston', 'ldr_lauderdale', 76 'ldr_linersfarne', 'ldr_oppossumbay', 'ldr_primrose', 77 'ldr_rosny', 'ldr_sandybay', 'ldr_selfspoint', 78 'ldr_sevenmile', 'ldr_southarm1', 'ldr_southarm2', 79 'ldr_sullivanscove', 'ldr_tranmere', 'tasdem_mask'] 80 81 # Format for point is x,y,elevation (with header) 82 point_filenames = ['Topo_1.txt','Topo_2.txt','Topo_3.txt', 83 'tasmania_data.txt', # The data from Tasmania 84 'hydro_data.txt'] # Data from Hydro 85 86 ### Add csv header list to all files in point_filenames 61 ascii_grid_filenames = [] 62 ## Add csv header list to all files in point_filenames 87 63 ##headerlist = ['x', 'y', 'elevation'] 88 ##for f in point_filenames: 89 ## add_csv_header(join(topographies_folder, f), headerlist) 64 point_filenames = [] 65 90 66 91 67 # BOUNDING POLYGON - for data clipping and estimate of triangles in mesh … … 98 74 # Used in run_model.py 99 75 # Format for points easting,northing (no header) 100 if extent == 'sw': 101 interior_regions_data = [['aos1.csv', 1500], 102 ['aos2.csv', 1500]] 103 PriorityArea_filename = 'PriorityAreas.csv' 104 elif extent == 'aos1': 105 interior_regions_data = [] 106 PriorityArea_filename = 'PriorityAreas_aos1.csv' 107 elif extent == 'aos2': 108 interior_regions_data = [] 109 PriorityArea_filename = 'PriorityAreas_aos2.csv' 110 elif extent == 'small': 111 interior_regions_data = [['aoi_bruny.csv', 500], 112 ['aoi_S_arms.csv', 500], 113 ['aos1_small.csv', 1500], 114 ['aos2.csv', 1500], 115 ['sw.csv', 30000]] 116 PriorityArea_filename = None 117 elif extent == None: 118 interior_regions_data = [['aos1.csv', 1500], 119 ['aos2.csv', 1500], 120 ['sw.csv', 30000]] 121 PriorityArea_filename = 'PriorityAreas.csv' 76 interior_regions_data = [['aos1.csv', 1500], 77 ['aos2.csv', 1500], 78 ['sw.csv', 30000]] 79 PriorityArea_filename = 'PriorityAreas.csv' 122 80 123 81 # LAND - used to set the initial stage/water to be offcoast only 124 82 # Used in run_model.py. Format for points easting,northing (no header) 125 land_initial_conditions_filename = 'initial_conditions. txt'83 land_initial_conditions_filename = 'initial_conditions.csv' 126 84 127 85 # GAUGES - for creating timeseries at a specific point 128 86 # Used in get_timeseries.py. 129 87 # Format easting,northing,name,elevation (with header) 130 gauges_filename = 'time_of_arrival_hobart.csv' #'TideGaugesPoints.csv' #'tsunamipointsMGA.csv' 131 132 # BUILDINGS EXPOSURE - for identifying inundated houses 133 # Used in run_building_inundation.py 134 # Format latitude,longitude etc (geographic) 135 building_exposure_filename = 'busselton_res_clip.csv' # from NEXIS 136 137 # AREA OF IMAGES - Extent of each image to find out highest runup 138 # Header - easting,northing,id,value 139 # Used in get_runup.py 140 images_filename = 'images.csv' 141 142 # BOUNDING POLYGON - used in build_boundary.py and run_model.py respectively 88 gauges_filename = 'time_of_arrival_all.csv' #'TideGaugesPoints.csv' 89 #'tsunamipointsMGA.csv' 90 91 # FINAL BOUNDING POLYGON - used in build_boundary.py and run_model.py respectively 143 92 # NOTE: when files are put together the points must be in sequence 144 93 # For ease go clockwise! … … 153 102 landward_boundary_filename = 'landward_boundary.csv' 154 103 155 # MUX input filename.156 # If a meta-file from EventSelection is used, set 'multi-mux' to True.157 # If a single MUX stem filename (*.grd) is used, set 'multi-mux' to False.158 ##mux_input_filename = event_number # to be found in event_folder159 # (ie boundaries/event_number/)160 ##multi_mux = False161 mux_input_filename = 'event.list'162 multi_mux = True163 164 104 #------------------------------------------------------------------------------- 165 105 # Clipping regions for export to asc and regions for clipping data … … 167 107 #------------------------------------------------------------------------------- 168 108 169 # ASCII export grid for Bruny 170 xminBruny = 523900 171 xmaxBruny = 533200 172 yminBruny = 5204300 173 ymaxBruny = 5213100 174 175 # ASCII export grid for South Arms 176 xminSArms = 532497 177 xmaxSArms = 534326 178 yminSArms = 5237028 179 ymaxSArms = 5238465 180 181 # ASCII export grid for Hobart Large 109 # ASCII export grid for Hobart Communities 182 110 xminHobart = 520000 183 111 xmaxHobart = 545000 … … 283 211 gauges = join(gauges_folder, gauges_filename) 284 212 285 # The absolute pathname for the building file286 # Used for run_building_inundation.py287 if building_exposure_filename:288 building_exposure = join(gauges_folder, building_exposure_filename)289 290 # The absolute pathname for the image file291 # Used for get_runup.py292 if images_filename:293 images = join(polygons_folder, images_filename)294 295 296 # full path to where MUX files (or meta-files) live297 mux_input = join(event_folder, mux_input_filename)298 299 213 #Multiple polygons in one CSV file to make internal polygons 300 if not PriorityArea_filename == None: 301 PriorityAreas = join(polygons_folder, PriorityArea_filename) 302 303 214 PriorityAreas = join(polygons_folder, PriorityArea_filename) 215 216 -
DVD_images/extra_files/Hobart/project/run_model.py
r7206 r7300 68 68 # Create the STS file 69 69 if not os.path.exists(project.event_sts + '.sts'): 70 bub.build_urs_boundary(project.mux_input_filename, project.event_sts)70 print 'sts file has not been generated' 71 71 72 72 # Read in boundary from ordered sts file -
DVD_images/extra_files/Hobart/project/setup_model.py
r7206 r7300 77 77 sanity_error = True 78 78 79 # if multi_mux is True, check if multi-mux file exists80 if project.multi_mux:81 if not exists(project.mux_input):82 print ("Sorry, MUX input file '%s' doesn't exist"83 % project.mux_input)84 sanity_error = True85 86 79 #----- 87 80 # If this directory don't exist, EventSelection hasn't been run. … … 154 147 % type(project.land_initial_conditions_filename)) 155 148 raise Exception, msg 149 156 150 # Create list of interior polygons with scaling factor 157 151 project.interior_regions = [] -
DVD_images/extra_files/browser_files/style.css
r7205 r7300 16 16 table.code { 17 17 border-width: 1px 1px 1px 1px; 18 border-spacing: 0px;18 border-spacing: -10px; 19 19 border-style: dashed dashed dashed dashed; 20 20 border-color: gray gray gray gray; 21 21 border-collapse: separate; 22 background-color: rgb(250, 240, 230); 23 } 24 table.code th { 25 border-width: 5px 5px 5px 5px; 26 padding: 5px 5px 5px 5px; 27 border-style: none none none none; 28 border-color: gray gray gray gray; 29 background-color: white; 30 -moz-border-radius: 0px 0px 0px 0px; 22 background-color: #ffffe6; 23 -moz-border-radius: 5px 5px 5px 5px; 31 24 } 32 25 table.code td { 33 border-width: 5px 5px 5px 5px; 34 padding: 5px 5px 5px 5px; 26 height: 20px; 27 border-width: 0px 0px 0px 0px; 28 padding: 0px 0px 0px 0px; 35 29 border-style: none none none none; 36 30 border-color: gray gray gray gray; 37 31 background-color: #ffffe6; 38 -moz-border-radius: 0px 0px 0px 0px;39 32 } 33 34 -
DVD_images/update_DVD_images.py
r7271 r7300 65 65 'copy_proj_files': ['build_elevation.py', 'project.py', 'run_model.py', 66 66 'export_results_max.py', 'get_timeseries.py', 67 'setup_model.py' ],67 'setup_model.py', 'build_urs_boundary.py'], 68 68 69 69 # copy 'visualisations' files or directories … … 80 80 'data_src_path': 'data/new_south_wales/batemans_bay_tsunami_scenario_2009/anuga', 81 81 'arcgis_src_path': 'data/new_south_wales/batemans_bay_tsunami_scenario_2009/ArcGIS', 82 'viz_src_path': 'data/ tasmania/hobart_tsunami_scenario_2009/visualisations',82 'viz_src_path': 'data/new_south_wales/batemans_bay_tsunami_scenario_2009/visualisations', 83 83 'proj_src_path': 'sandpits/jgriffin/ANUGA/anuga_work/production/new_south_wales/batemans_bay', 84 84 … … 118 118 'setup_model.py', 'build_elevation.py', 119 119 'export_results_max.py', 120 'file_length.py' ],120 'file_length.py', 'build_urs_boundary.py'], 121 121 122 122 # copy 'arcgis' files or directories … … 130 130 'data_src_path': 'data/new_south_wales/gosford_tsunami_scenario_2009/anuga', 131 131 'arcgis_src_path': 'data/new_south_wales/gosford_tsunami_scenario_2009/ArcGIS', 132 'viz_src_path': 'data/ tasmania/hobart_tsunami_scenario_2009/visualisations',132 'viz_src_path': 'data/new_south_wales/gosford_tsunami_scenario_2009/visualisations', 133 133 'proj_src_path': 'sandpits/jgriffin/ANUGA/anuga_work/production/new_south_wales/gosford', 134 134 … … 163 163 'copy_proj_files': ['export_results_max.py', 'file_length.py', 164 164 'project.py', 'run_model.py', 'build_elevation.py', 165 'get_timeseries.py', 'setup_model.py' 165 'get_timeseries.py', 'setup_model.py', 166 'build_urs_boundary.py' 166 167 ], 167 168 … … 176 177 'data_src_path': 'data/queensland/gold_coast_tsunami_scenario_2009/anuga', 177 178 'arcgis_src_path': 'data/queensland/gold_coast_tsunami_scenario_2009/ArcGIS', 178 'viz_src_path': 'data/ tasmania/hobart_tsunami_scenario_2009/visualisations',179 'viz_src_path': 'data/queensland/gold_coast_tsunami_scenario_2009/visualisations', 179 180 'proj_src_path': 'sandpits/lfountain/anuga_work/production/gold_coast_2009', 180 181 … … 208 209 'copy_proj_files': ['build_elevation.py', 'export_results_max.py', 'file_length.py', 209 210 'project.py', 'run_model.py', 'setup_model.py', 210 'get_timeseries.py' 211 'get_timeseries.py', 'build_urs_boundary.py' 211 212 ], 212 213
Note: See TracChangeset
for help on using the changeset viewer.