Difference between revisions of "QGIS ARR to TUFLOW"

From Tuflow
Jump to navigation Jump to search
 
(119 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The ARR to TUFLOW utility has been developed to help users set up a TUFLOW model that uses Australian Rainfall and Runoff (ARR) input parameters and the Austalian Bureau of Meteorology (BOM) rainfall by automating the collection and processing of the data. The inputs and outputs of the tool are explained in detail below. '''''Note:''''' this tool helps with data processing however is not a substitute to reading ARR. Similarly this wiki page discusses the use of the tool and the options, however context should be derived from ARR directly. Please see the [http://arr.ga.gov.au/arr-guideline| ARR Website] for more information.<br><br>
+
The ARR to TUFLOW utility has been developed to help users set up a TUFLOW model that uses Australian Rainfall and Runoff (ARR) input parameters and the Australian Bureau of Meteorology (BOM) rainfall by automating the collection and processing of the data. The inputs and outputs of the tool are explained in detail below. '''''Note:''''' this tool helps with data processing, however is not a substitute to reading ARR. Similarly this wiki page discusses the use of the tool and the options, however context should be derived from ARR directly. Please see the [https://arr.ga.gov.au/arr-guideline| ARR Website] for more information.<br><br>
 
__TOC__
 
__TOC__
 
<br>
 
<br>
 
=Getting Started=
 
=Getting Started=
==Installation==
+
===Installation===
The ARR to TUFLOW tool is a free tool that comes as part of the TUFLOW plugin in QGIS. For instructions on how to install the plugin, read the following wiki page:<br><br>
+
The ARR to TUFLOW tool is a free tool that comes as part of the TUFLOW plugin in QGIS. For instructions on how to install the plugin, please see: <u>[[TUFLOW_QGIS_Plugin#Installation_of_Plugin | QGIS TUFLOW Plugin Installation]]</u>
[[TUFLOW_QGIS_Plugin#Installation_of_Plugin | How to install the TUFLOW plugin]]<br><br>
 
There are also instructions on installing plugins in the QGIS documentation - if you choose to follow the QGIS documentation, the plugin is called "TUFLOW" in the repository:<br><br>
 
[https://docs.qgis.org/3.16/en/docs/training_manual/qgis_plugins/fetching_plugins.html Link to QGIS Documentation - Installing and Managing Plugins]<br>
 
  
==QGIS Version==
+
There are also instructions on installing plugins in the QGIS documentation - if you choose to follow the QGIS documentation, the plugin is called "TUFLOW" in the repository: <u>[https://docs.qgis.org/3.16/en/docs/training_manual/qgis_plugins/fetching_plugins.html Link to QGIS Documentation - Installing and Managing Plugins]</u><br>
The ARR to TUFLOW tool is, for the most part**, a Python tool that runs independently of QGIS. Therefore the installed QGIS version should not be a significant factor, however occasionally QGIS will update the Python version in the installation. This does present a small risk that the tool will break with QGIS version, although it's considered unlikely (the risk of the tool being broken by updates to the ARR datahub would be higher). If the tool does break, please see [[#The_Tool_Isn.27t_Working | The Tool Isn't Working]] for information (the solution is most likely to update the plugin rather than reinstall an older version of QGIS).<br><br>
 
  
<nowiki>**</nowiki>The tool does use QGIS for pre-processing tasks, such as area and centroid calculation as well as reprojection or cartesian to long-lat conversion.
+
===QGIS Version===
==Opening The ARR to TUFLOW Tool==
+
The ARR to TUFLOW tool is, for the most part (see note below), a Python tool that runs independently of QGIS. Therefore the tool should not be sensitive to the installed QGIS version, however occasionally QGIS will update the Python version that is packaged with the installation which means there is a small risk that the tool will break between QGIS versions. If the tool does break, please see <u>[[#The_Tool_Isn.27t_Working | The Tool Isn't Working]]</u> for information (the solution is most likely to update the plugin rather than re-install an older version of QGIS).
 +
 
 +
''Note:'' The tool does use QGIS for pre-processing tasks, such as area and centroid calculation as well as reprojection or cartesian to long-lat.
 +
 
 +
===Opening The ARR to TUFLOW Tool===
 
Once the TUFLOW plugin is installed, the ARR to TUFLOW tool can be opened by clicking the following icon in the plugin toolbar:<br>
 
Once the TUFLOW plugin is installed, the ARR to TUFLOW tool can be opened by clicking the following icon in the plugin toolbar:<br>
[[File: ARR_to_TUFLOW_toolbar.PNG]]<br><br>
+
<br>
 +
[[File: tuflow_plugin_toolbar_ARR_tool_01a.png]] <br><br>
  
 
=Quickstart=
 
=Quickstart=
 
<ol>
 
<ol>
<li> Load a catchment GIS into QGIS - this can either be a polygon or point layer
+
<li> Load a catchment GIS file (e.g. shp file) into QGIS - this can either be a polygon or point layer
 
<li> Open the '''ARR to TUFLOW''' tool
 
<li> Open the '''ARR to TUFLOW''' tool
<li> Select the GIS catchment layer in '''Input Catchment File''' dropdown box<br>
+
<li> Select the GIS catchment layer in '''Input Catchment File''' dropdown box.<br>
[[File: ARR_dialog_input_catchment_file.PNG | 500px]]<br>
+
[[File: ARR_dialog_input_catchment_file_01a.png]]<br>
<li> Select the attribute field to use as the catchment name in the '''Unique Catchment Identifier Field''' dropdown<br>
+
<br>
[[File: ARR_dialog_unique_catchment_identifier.PNG | 500px]]<br>
+
<li> Select the attribute field to use as the catchment name in the '''Unique Catchment Identifier Field''' dropdown.<br>
<li> Select storm event combinations from the list of magnitudes and durations<br>
+
[[File: ARR_dialog_unique_catchment_identifier_01a.png]]<br>
[[File: ARR_dialog_storm_events.PNG | 350px]]<br>
+
<br>
<li> Choose an output location<br>
+
<li> Select storm event combinations from the list of magnitudes and durations.<br>
[[File: ARR_dialog_output_location.PNG | 500px]]<br>
+
[[File: ARR_dialog_storm_events_01a.png]]<br>
<li> Click '''OK''' and wait for the tool to finish<br>
+
<br>
[[File: ARR_tool_complete_dialog.PNG | 250px]]
+
<li> Choose an output location.<br>
</ol><br><br>
+
[[File: ARR_dialog_output_location_01a.png]]<br>
 +
<br>
 +
<li> Click '''OK''' and wait for the tool to finish.<br>
 +
[[File: ARR_tool_complete_dialog_01a.png]]
 +
</ol>
 +
<br><br>
  
 
=Output=
 
=Output=
==Log File==
+
===Log File===
A log file ('''<catchment_name>_log.txt''') will be written to the output folder. The log file will contain all WARNING and ERROR messages as well as logged inputs and processing steps. It's recommended to check the log file after running the tool for any warning or error messages. Most warning messages will be collated and written together near the bottom of the log file to make it easier to review them.
+
A log file ('''<catchment_name>_log.txt''') will be written to the output folder. The log file will contain all WARNING and ERROR messages as well as logged inputs and processing steps. It's recommended to check the log file after running the tool for any warning or error messages. Most warning messages will be grouped together near the bottom of the log file to make it easier to review them.
  
==Data Output==
+
===Data Output===
 
The following outputs are located in the folder '''<output_folder>\data'''
 
The following outputs are located in the folder '''<output_folder>\data'''
 
<ol>
 
<ol>
<li> Raw BOM and ARR Datahub outputs
+
<li> '''Raw BOM and ARR Datahub outputs'''
* The raw data extracted from ARR2016 datahub and BOM2016 IFD
+
* ARR_Web_data_<catchment_name>.txt
** ARR_Web_data_<catchment_name>.txt
+
* BOM_raw_web_<catchment_name>.html
** BOM_raw_web_<catchment_name>.html
+
* Areal_<TP_Zone>_Increments.csv (Areal temporal patterns)
<li> Rainfall depths
+
<li> '''Rainfall depths'''
* Processed rainfall depths after Areal Reduction Factors have been applied
+
* BOM_Rainfall_Depths_<catchment_name>.csv - processed rainfall depths (after ARF factors)
** BOM_Rainfall_Depths_<catchment_name>.csv
+
<li> '''ARF Factors'''
<li> ARF Factors
+
* <catchment_name>_ARF_Factors.csv - calculated ARF factors
* Calculated ARF factors applied to the rainfall depths
+
<li> '''Storm Burst Rainfall Losses'''
** <catchment_name>_ARF_Factors.csv
+
* <catchment_name>_Burst_Initial_Loss.csv - calculated Storm Burst Initial Rainfall Losses (Complete Storm Initial Loss - Preburst Rainfall Depth)
<li> Storm Burst Rainfall Losses
 
* Calculated Storm Burst Initial Rainfall Losses (Complete Storm Initial Loss - Preburst Rainfall Depth)
 
** <catchment_name>_Burst_Initial_Loss.csv
 
 
</ol>
 
</ol>
  
==TUFLOW Output==
+
===TUFLOW Output===
The following outputs are generated by the utility in TUFLOW format:
+
The following outputs are generated by the utility for input into TUFLOW. Please see the example below on how to use the output files for a model.
 
<ol>
 
<ol>
<li> Rainfall Inflows
+
<li> '''TUFLOW Rainfall Inflows'''
 
* The rainfall inflows are output in the following location '''<output_folder>\rf_inflows'''. This output folder is where all the direct rainfall inflows that would be used in the TUFLOW model are output. An inflow file is generated for each event magnitude - duration combination. All available temporal patterns are included in a single file (including climate change options).
 
* The rainfall inflows are output in the following location '''<output_folder>\rf_inflows'''. This output folder is where all the direct rainfall inflows that would be used in the TUFLOW model are output. An inflow file is generated for each event magnitude - duration combination. All available temporal patterns are included in a single file (including climate change options).
** <catchment_name>_RF_<magnitude><duration>.csv
+
<li> '''bc_dbase.csv'''
<li> BC_Dbase
 
 
* TUFLOW boundary condition database. Setup to point to the '''RF''' folder with wildcards applied.
 
* TUFLOW boundary condition database. Setup to point to the '''RF''' folder with wildcards applied.
** bc_dbase.csv
+
<li> '''event_file.tef'''
<li> Tuflow Event File
 
 
* TUFLOW Event File. Setup with wildcards applied. To keep the file names from becoming overly long and complicated, Climate Change scenarios are labelled as '''CC1''', '''CC2'''.. etc. These correspond to the combinations of climate change scenarios requested by the user e.g. 2090_8.5 (climate change year: 2090, RCP: 8.5)
 
* TUFLOW Event File. Setup with wildcards applied. To keep the file names from becoming overly long and complicated, Climate Change scenarios are labelled as '''CC1''', '''CC2'''.. etc. These correspond to the combinations of climate change scenarios requested by the user e.g. 2090_8.5 (climate change year: 2090, RCP: 8.5)
** Event_File.tef
+
<li> '''soil_infiltration.trd''' or '''rainfall_losses.trd''' - the name of the file will be dependent on the selected loss method, but they are essentially the same file
</ol>
+
* This file is a TUFLOW Read File (.trd) that contains variable initialisation for initial and continuing loss values
An example of a naming convention that could be used with the ARR2016 output is: '''<Model_Name>_~e1~~e2~_~e3~_~s1~_00X.tcf''' where
+
<li> '''soils.tsoilf''' or '''materials.csv''' - which file is output will be dependent on the selected loss method
* e1 = Event magnitude
+
* soils.tsoilf - rainfall loss file for the infiltration loss method
* e2 = Event duration
+
* materials.csv - rainfall loss file for the rainfall excess method
* e3 = climate change scenario
+
</ol><br>
* s1 = user defined scenario switch
+
 
For example '''M01_10p60m_CC1_EXG_001.tcf'''
+
===Example: Using the outputs in a TUFLOW model===
 +
* <u>[[QGIS_ARR_to_TUFLOW_Example | Example use of the ARR to TUFLOW tool]]</u>
 +
<br>
 +
 
 +
=Additional Options=
 +
===Climate Change===
 +
Climate change options can be added by clicking on '''Edit''' under the climate change section. This opens up a table widget that the user can then add/remove climate change scenarios based on the guidance in ARR v4.2. Scenarios added in the table will be displayed in the climate change section (underneath the edit button). Note: each scenario name must be unique and generally the table widget will force unique names. The scenario names will be used throughout the outputs and the user is free to customise the scenario names as they want.<br>
 +
 
 +
The table columns within the table widget are based on ARR guidelines v4.2 and the examples presented in Book 1, Chapter 6. Please note the following assumptions:<br>
 +
* Near-term horizon = 2030
 +
* Medium-term horizon = 2050
 +
* Long-term horizon = 2090
 +
* Temperature Change - Setting this to -1 will adopt the temperature changes output in the climate change part of the ARR datahub download. If a value or zero or greater is set by the user, this will be adopted instead of the datahub values and it will be assumed that these are changes relative to the pre-industrial period. Note: the temperature change will be stopped from going negative within the calculation.
 +
 
 +
 
 +
By adding climate change scenarios, the following outputs will be turned on:
 +
* An extra boundary database file: '''bc_dbase_CC.csv'''
 +
* Climate change inflows will be appended to the end of each event's inflow file
 +
* One additional event option will also be added to the event file for each combination of selected climate change scenarios labelled based on the scenario name. It is intended that the climate change scenarios would be treated as a separate event (e1 = magnitude, e2 = duration, e3 = temporal pattern, e4 = climate change scenario) however the output files can easily be manipulated by the user to configure the model differently.
 +
* The following CSV files will be written to the '''data''' output folder:
 +
** ''<scen_name>_rainfall_factors.csv''
 +
** ''<scen_name>_rainfall_depths.csv''
 +
** ''<scen_name>_losses.csv''<br><br>
 +
[[File: ARR_dialog_climate_change_01a.png]]<br><br>
 +
[[File: ARR_example_climate_change_rf_inflow_01a.png|1200px]] <br><br>
 +
[[File: ARR_example_climate_change_tef_01a.png]]
 +
<br><br>
 +
 
 +
===Temporal Patterns===
 +
Temporal pattern options can be found by expanding the '''Temporal Patterns''' section in the dialog.
 +
* '''Manually Specify Point Temporal Patterns (csv)''' - lets the user specify the point temporal patterns which is expected to be in the ARR datahub format
 +
* '''Manually Specify Areal Temporal Patterns (csv)''' - lets the user specify the arealtemporal patterns which is expected to be in the ARR datahub format
 +
* '''Optional Additional Temporal Patterns''' - Lets the user add additional temporal patterns in a couple of different ways:<br>
 +
** The user can choose to add temporal patterns from other temporal pattern regions. This is only if the user wishes to included ''additional'' temporal patterns. The temporal patterns from the catchment location (taken at the catchment centroid) will always be included. The additional temporal patterns will be included in the inflow files and added to the event file.
 +
** The user can choose to add temporal patterns from other temporal pattern bins within the same region. For point temporal patterns, this would add temporal patterns from the 'frequent', 'intermediate', and 'rare' bins. For areal temporal patterns, this would add temporal patterns from other "Area" bins. The "correct" bin will always make up the first 10 temporal patterns (TP01 to TP10).
 +
*** For Areal temporal patterns - The user has the additional option to choose how many additional areal temporal pattern sets to add. The default is 2 as this matches the number of additional point temporal patterns that would be added (but it doesn't necessarily have to be the same). The "Area" bins chosen will be the next closest in order.
 +
[[File: ARR_Dialog_temporal_patterns_01a.png]]<br><br>
 +
[[File: ARR_example_additional_temporal_patterns_rf_inflow_01a.png]]<Br><br>
 +
[[File: ARR_example_additional_temporal_patterns_tef_01a.png]]<br><br>
 +
 
 +
===Rainfall===
 +
<b><u>[https://data.arr-software.org/limb_specific LIMB Rainfall Data]</u></b><br>
 +
Since v3.8.2.16 ([[Installing_the_Latest_Development_Version_of_the_TUFLOW_Plugin | development version]]), LIMB data will be used for rainfall depths where available (SEQ specific). The user has the option of selecting the IFD curve from the available sets:
 +
* Enveloped (Default)
 +
* High Resolution
 +
* BOM Resolution
 +
The user also has the option of turning off LIMB data and using BOM 2016 rainfall data instead. If LIMB data is not available, the tool will default to BOM data.<br>
 +
<br>
 +
If the user has selected AEP or durations outside of the provided LIMB data range, the tool will use BOM 2016 rainfall data. If the user has selected AEP or durations within the LIMB data range, but the value is not part of the provided IFD, the tool will interpolate the rainfall depth from the provided LIMB data.<br>
 +
[[File: arr2016_limb_selector_01a.png]]<br><br>
 +
 
 +
===Rainfall Losses===
 +
The following sections summarise the available loss options. Please note, as recommended in ARR2019, <u>[https://data.arr-software.org/ ARR datahub]</u> losses are only intended for rural use. They are not for direct use in urban areas. Furthermore, applications in New South Wales and Victoria should consider the following jurisdiction specific guidance:
 +
* <u>[https://data.arr-software.org/nsw_specific NSW Specific Guidance]</u>
 +
* <u>[https://data.arr-software.org/vic_specific VIC Specific Guidance]</u>
 +
 
 +
''Note: Since version v3.5 initial loss for durations greater than 72 hrs is assumed to be the same as the initial loss for 72 hrs. Previous to this version, these losses were output as zeros.''<Br>
 +
 
 +
=====Probability Neutral Losses=====
 +
Probability neutral losses can be toggled on / off in the dialog (default is on). If 'on', this option will use probability neutral losses for the design burst initial loss rather than using the storm initial loss and pre-burst depths. If probability neutral losses are not available in the catchment area, then the method will automatically revert to using the storm initial loss). Currently this option cannot be used in conjunction with the '''complete storm''' option.<br><br>
 +
[[File: ARR_dialog_probability_neutral_losses_01a.png]]
 +
<br><br>
 +
 
 +
=====NSW Continuing Loss=====
 +
Continuing loss values for NSW will be automatically multiplied by 0.4. This will be reported in the log file as:
 +
* "Catchment is in NSW, multiplying Datahub continuing loss by 0.4"
 +
<br>
 +
 
 +
=====Pre-burst Percentile=====
 +
The pre-burst percentile used to calculate design burst initial loss, or for pre-burst rainfall depth for the complete storm option, can be changed using the dropdown box in the dialog.<br><br>
 +
[[File: ARR_dialog_preburst_01a.png]]
 +
<br><br>
 +
 
 +
=====User Defined Losses=====
 +
Users can use their own rainfall loss values. The initial loss value will be treated as a complete storm value and not just for the design burst. For most regions, the design burst loss will be calculated my removing the pre-burst depth from the input loss value. If probability neutral losses are available, the burst initial loss will be calculated using the following equation:<br>
 +
: <tt>IL burst = User IL x IL ARR Prob Neutral / IL ARR Complete Storm</tt><Br><br>
 +
[[File: ARR_dialog_user_losses_01a.png]]
 +
<br><br>
 +
 
 +
=====Event Independent Continuing Loss=====
 +
The event independent continuing loss only affects how the TUFLOW output files are written. This option will remove the continuing loss variable and will instead input the value directly. Ths option was added since the continuing loss value is (currently) event independent and therefore simplifies the output and also makes editing this value easier.
 
<br>
 
<br>
  
=How to Run=
+
=====Impervious Losses=====
This tool is a part of the QGIS plugin tool set and can be initiated through the plugin.<br>
+
The impervious loss value adds the impervious loss values to the materials.csv output. This option only affects the rainfall excess loss approach.<br><br>
[[File: ARR2016_initiate.PNG | 500px]]<br>
+
[[File: ARR_example_impervious_losses_01a.png]]
[[File: QGIS ARR2016 Main Dialog.PNG | 300px]]
 
<ol>
 
<li> <b>Input GIS catchment layer:</b><br>
 
Catchment layer to extract data for. The tool will use the geographical location of the catchment layer for data extraction from the ARR2016 datahub and BOM 2016 rainfall. The catchment layer is able to have multiple features (i.e. a number of subcatchments) and will extract data for each feature.This layer can be either a point or polygon layer. For polygon layers, the polygon centroid is used for geographical data extraction, and the area is used for ARF calculations. For point layers, ARF calculations cannot be automated.<br><br>
 
<li> <b>Unique Catchment Identifier:</b><br>
 
The unique catchment identifier is used as the name for the inflow in the TUFLOW model. When extracting data for multiple subcatchments, it is important to have unique identifiers otherwise data will be overwritten if identical names have been used.<br><br>
 
<li> <b>Event Selection:</b><br>
 
Select at least one event magnitude and one event duration.<br><br>
 
<li> <b>Climate Change Selection:</b><br>
 
Optional climate change parameters. If choosing to include climate change, one year and one RCP must be selected.<br><br>
 
<li> <b>Output Options:</b><br>
 
Output options include:
 
* Selecting the format of the inflow files (*.csv or *.ts1)
 
* Selecting the output notation<sup>#</sup>:
 
**% AEP - e.g. 10p60m
 
**yr ARI -  e.g. 10y60m
 
**''<sup>#</sup> Frequent events (EY) will be denoted with '''e''' regardless of above options e.g. 12e60m. The only exception is the 0.5EY and 0.2EY which will be converted to 2y and 5y respectively when using <b>yr ARI</b>''<br><br>
 
<li> <b>Areal Reduction Factor:</b><br>
 
Choose the method of area calculation for the ARF:
 
* Calculate area from input catchment - the area will be calculated automatically using QGIS (this option can only be used with polygon input layers)
 
* Manually Specify Area by attribute field - the area can be specified using an attribute field in the input GIS layer. The field containing the area values can be selected using the dropdown box
 
* To ignore ARF,  use '''Manually Specify Area''' and select '''-None-''' in the dropdown box
 
The option to change the minimum ARF is also available. The default value is 0.2.<br><br>
 
<li> <b>Optional additional temporal patterns</b><br>
 
The tool allows the option of adding additional temporal patterns from other regions. This could be useful if your site is on the border of multiple regions and sensitivity with neighbouring temporal patterns is required. The option allows selection of as many additional temporal patterns as desired.<br><br>
 
<li> <b>Initial Loss Options</b><br>
 
* Option to choose the preburst percentile (default is median). The initial loss is calculated by '''Storm Loss''' ''minus'' '''Preburst'''.
 
* Option to choose methods for calculating initial loss for durations less than 60 mins.
 
** Interpolate to Zero: Assumes an initial loss of 0 mm for a duration of 0 mins and interpolates for values between the 60 min duration and the 0 min duration.
 
** Rahman et al 2002: From a study of 11 Victorian catchments ([https://www.sciencedirect.com/science/article/pii/S0022169401005339 source link])
 
** Hill et al 1996: 1998 ([https://ewater.org.au/archive/crcch/archive/pubs/1000075.html source 1996], [https://ewater.org.au/archive/crcch/archive/pubs/pdfs/industry199805.pdf source 1998])
 
** Static Value: User defined value for initial loss for durations less than 60min
 
** Use 60 min Loss: Adopt 60 min loss for durations less than 60 min<br><br>
 
<li> <b>BOM Terms and Conditions:</b><br>
 
By selecting these, you agree to BOM's Conditions and Caveat (required to run run the utility)<br><br>
 
<li> <b>Output Location:</b><br>
 
User defined folder where the outputs and log file of the utility will be written to
 
</ol>
 
 
<br><br>
 
<br><br>
  
=Log File=
+
=====TUFLOW Loss Method=====
The log.txt file is written out into the same location as the other outputs and contains WARNING and ERROR messages from the tool.
+
The loss method used by TUFLOW can be changed using the '''TUFLOW Loss Method''' dropdown box:
 +
* '''Infiltration (soil file)''' - will output files for the infiltration approach in TUFLOW. This approach in TUFLOW applies the total rainfall to the 2D grid and ponded water in the 2D domain can then infiltrate based on the underlying soil type and impervious fraction. See <u>[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]</u> for more information.
 +
* '''Rainfall Excess (material file)''' - will output files for the rainfall excess approach in TUFLOW. This approach removes the losses from the rainfall inflow prior to application so only excess rainfall is added to the model.
 +
<br>
 +
[[File: ARR_dialog_tuflow_loss_method_01a.png]]
 +
<br><br>
  
'''The log.txt file is very important and should be checked after running the tool to check whether it has successfully run.'''
+
=====Initial Losses For Durations Less Than 1 Hour=====
 +
This selects the method for determining intial loss values for events less than 1 hr in duration:
 +
* '''Interpolate to zero''' - will linearly interpolate loss values (assuming a loss value of 0 mm for 0 min)
 +
* '''Log-Interpolate to zero''' - will use a log-linear interpolation (duration will use a log scale) (assuming a loss value of 0 mm for 0 min)
 +
* '''Static Value''' - uses a user defined value for all event magnitudes
 +
* '''Use 60 min Losses''' - uses the 60 min loss values
 +
* '''Rahmen et al 2002''' - uses an equation determined by a study conducted by Rahmen et all in 2002
 +
* '''Hill et al 1996:1998''' - uses an equation determined by a study conducted by Hill et all 1996:1998. This requires the user to provide a mean annual rainfall value.
 +
* '''Interpolate pre-burst''' - will linearly interpolate pre-burst depths (rather than losses) (assuming a depth of 0 mm for 0 min)
 +
* '''Log-Interpolate pre-burst''' - will use a log-linear interpolation on the pre-burst depths (duration will use a log scale) (assuming a depth of 0 mm for 0 min)
 +
<br>
 +
[[File: ARR_dialog_losses_less_than_1h_01a.png]]
 +
<br><br>
 +
<b>An example of the differences in initial losses from a few of the methods:</b><Br>
 +
[[File: arr_to_tuflow_loss_interpolation.png]]
 +
<br><br>
  
The QGIS utility calls an external Python script and once the script has completed (whether successfully or unsuccessfully) QGIS will report the process as complete. Therefore the user must check the log.txt file to check whether there has been any errors.
+
====Output Complete Storm====
 +
The user can choose to output the complete storm (preburst + design burst) rather than just the design burst by checking on the following option (please see ARR Book 2 Chapter 5 [Section 5.9.9] for more information):<br>
 +
[[File: ARR_complete_storm_checkbox_01a.png]]<br>
 +
The complete storm generated by the tool will be the preburst depth (from the '''Preburst percentile''' extracted from the datahub) plus the design burst. The user will be required to select a preburst temporal pattern from the options listed below. The options below have been included at the request of users and are not a direct reference to any specific methodology outline in ARR. If you would like to see another method included, please email <b><u>[mailto:support@tuflow.com support@tuflow.com]</u></b>.<br>
 +
Currently the ARR to TUFLOW tool supports the following preburst temporal pattern methods:
 +
* '''Constant Rate''' - This will apply the preburst depth equally over a given time period. The time period can be specified as an absolute time (either as minutes or hours) or proprotional to the design storm e.g. a proportional value of 0.5 will apply a 30 min preburst to a 1 hr storm and a 15 min preburst to a 30 min storm.
 +
* '''Temporal Pattern''' - This will apply the preburst depth using a temporal pattern obtained from the datahub for a given duration. The preburst duration can either be an absolute time or be proportional to the design storm. The user will need to select which temporal pattern to use (e.g. TP01, TP02,... TP10). Note: there is a minimum preburst duration of 10 min for this method.
 +
** If "design burst" is selected, this will cause the pre-burst temporal pattern to use the same temporal pattern number as the design burst (e.g. TP01 design burst will use TP01 pre-burst, TP02 design burst will use TP02 pre-burst, etc.)
 +
The initial loss value output in this method will be the raw storm initial loss value from the datahub with no post processing. Note, the complete storm option and using probability neutral losses are mutually exclusive and aren't able to be used together.<br>
  
===How to Read===
+
Preburst temporal pattern and duration details are ignored if the "Use Complete Storm" checkbox is not selected.
<ol>
+
<br><br>
<li>The first thing the log file will output is the version of the ARR_to_TUFLOW python script<br>[[File: QGIS_ARR2016_log_header_text.png]]
+
 
<li>The next item written will be a list of the inputs<br>[[File: QGIS_ARR2016_log_inputs.png | 800px]]
+
====Why Is the Tool Outputting Negative Loss Values?====
<li>Following this will be a description of the function the utility is performing - e.g. extracting BOM data
+
The tool will output negative loss values when the preburst depth is greater than the storm initial loss. The tool will not floor loss values at zero since the value may be useful in helping the user determine the appropriate course of action. E.g. if IL = -1mm, this  may be considered negligible and can be simply set to zero. An IL = -50mm may be considered significant enough that it simply can't be set to zero and alternate, or sensitivity runs, may need to be carried out, like using a <u>[[#Output_Complete_Storm | Complete Storm]]</u>.
<li>The last part is the most important and is where ERRORs and WARNINGs are written<br>[[File: QGIS_ARR2016_log_errors_warnings.png]]
 
</ol>
 
If reading in more than one catchment, each catchment extraction is a separate process and will be appended to the log.txt file.<Br><Br>
 
  
=Data Output=
+
===Areal Reduction Factors===
The following outputs are located in the folder '''<output_folder>\data'''
+
Areal reduction factor options can be changed in the '''ARF''' section:
<ol>
+
* '''Calculate Area''' - will calculate the catchment area using the GIS feature in QGIS. For point objects, this will be set to zero and no ARF will be applied (i.e. a value of 1.0)
<li> Raw BOM and ARR Datahub outputs
+
* '''User Area''' - will let the user define the area. This can either be done by selecting an attribute field that contains the catchment area, or by entering a value. All user inputs will be assumed to be in square km.
* The raw data extracted from ARR2016 datahub and BOM2016 IFD
+
* '''Minimum ARF''' - this value sets a floor for the calculated ARF values
** ARR_Web_data_<catchment_name>.txt
+
* '''ARF for events < 50% AEP''' - this will calculate ARF values using the same equations used for larger events
** BOM_raw_web_<catchment_name>.html
+
<br>
<li> Rainfall depths
+
[[File: ARR_dialog_ARF_01a.png]]
* Processed rainfall depths after Areal Reduction Factors have been applied
+
<br><br>
** BOM_Rainfall_Depths_<catchment_name>.csv
 
<li> ARF Factors
 
* Calculated ARF factors applied to the rainfall depths
 
** <catchment_name>_ARF_Factors.csv
 
<li> Storm Burst Rainfall Losses
 
* Calculated Storm Burst Initial Rainfall Losses (Complete Storm Initial Loss - Preburst Rainfall Depth)
 
** <catchment_name>_Burst_Initial_Loss.csv
 
</ol>
 
  
=TUFLOW Output=
+
===Additional Output Options===
The following outputs are generated by the utility in TUFLOW format:
+
Additional output options include:
<ol>
+
* '''Output Format''' - can choose to output in either csv or ts1 format. Ts1 files will be quicker to read in by TUFLOW, however the difference may not be substantial depending on how many are being read in. TUFLOW will also use .xf files by default which means that the raw data is only processed if there is a change, and subsequent runs will not suffer from any slow down from having to read csv files.
<li> Rainfall Inflows
+
* '''Output Notation''' - users can toggle between '% AEP' and 'yr ARI' output notation.
* The rainfall inflows are output in the following location '''<output_folder>\rf_inflows'''. This output folder is where all the direct rainfall inflows that would be used in the TUFLOW model are output. An inflow file is generated for each event magnitude - duration combination. All available temporal patterns are included in a single file (including climate change options).
 
** <catchment_name>_RF_<magnitude><duration>.csv
 
<li> BC_Dbase
 
* TUFLOW boundary condition database. Setup to point to the '''RF''' folder with wildcards applied.
 
** bc_dbase.csv
 
<li> Tuflow Event File
 
* TUFLOW Event File. Setup with wildcards applied. To keep the file names from becoming overly long and complicated, Climate Change scenarios are labelled as '''CC1''', '''CC2'''.. etc. These correspond to the combinations of climate change scenarios requested by the user e.g. 2090_8.5 (climate change year: 2090, RCP: 8.5)
 
** Event_File.tef
 
</ol>
 
An example of a naming convention that could be used with the ARR2016 output is: '''<Model_Name>_~e1~~e2~_~e3~_~s1~_00X.tcf''' where
 
* e1 = Event magnitude
 
* e2 = Event duration
 
* e3 = climate change scenario
 
* s1 = user defined scenario switch
 
For example '''M01_10p60m_CC1_EXG_001.tcf'''
 
 
<br>
 
<br>
 +
[[File: ARR_dialog_output_options_01a.png]]
 +
<br><br>
  
=Future Enhancements=
+
===Offline Mode===
<ol>
+
Offline can be used to pass in data that has already been pulled from the ARR datahub and BOM. This can be useful if the user would like to make use of new features in the tool, however would like to ensure they are getting consistent results with previous data that was pulled from the BOM and the ARR datahub. The files required to process offline are saved as part of the tool's process when pulling from the web. Currently offline mode doesn't support areal temporal patterns directly, however this can easily be added by using the '''manually specify areal temporal pattern''' option:
<li> Automatic output to user choice of TUFLOW rainfall loss - infiltration / rainfall excess
+
* ARR_Web_data_<catchment_name>.txt
</ol>
+
* BOM_raw_web_<catchment_name>.html
 +
<br>
 +
[[File: ARR_dialog_offline_inputs_01a.png]]
 +
<br><br>
  
 
=The Tool Isn't Working=
 
=The Tool Isn't Working=
==Can't access websites==
+
The first step in identifying the problem is to check the log file. The issue may be something simple like:
For whatever reasons, sometimes the BOM or ARR Datahub websites are down or unable to be accessed by the tool. The below are a set of instructions that can be used as a workaround should this occur:
+
* one of the files the tool is trying to write to is locked by a process or user (e.g. one of the outputs is open in Excel)
*[[ARR_DATAHUB_CANNOT_BE_ACCESSED | ARR datahub website cannot be accessed by the tool]]
+
* the tool can't access a network location
 +
* there is no internet connection
 +
* the ARR Datahub or BOM is down (see <u>[[#Can.27t_access_the_websites | Can't Access the Websites]]</u> section below)
 +
A useful check if you're unsure if the issue is with the tool or with something else (like the Datahub), is to check if you can manually access and pull data from the Datahub for your catchment site.
 +
<br><br>
 +
The second step is to ensure you're using the latest version of the QGIS plugin. Occasionally updates to the ARR Datahub will break the tool and this may have already been caught and fixed in the latest update.<Br><br>
 +
===Issue With The Tool===
 +
If there's an issue with the tool, or you are unsure, please contact <u>[mailto:support@tuflow.com support@tuflow.com]</u> for help. Please include a description of the problem, the log file, and the GIS catchment layer with your email.<br><br>
 +
===Can't access the websites===
 +
Sometimes the BOM or ARR Datahub websites are down or unable to be accessed by the tool (e.g. sometimes to manage traffic, the Datahub server will limit, or disallow scraping). The below are a set of instructions that can be used as a workaround should this occur:
 +
*<u>[[ARR_DATAHUB_CANNOT_BE_ACCESSED | ARR Datahub website cannot be accessed by the tool]]</u>
 +
<br>
 +
{{Tips Navigation
 +
|uplink=[[TUFLOW_QGIS_Plugin#Usage| Back to TUFLOW QGIS Plugin Main Page]]
 +
}}

Latest revision as of 16:27, 21 October 2024

The ARR to TUFLOW utility has been developed to help users set up a TUFLOW model that uses Australian Rainfall and Runoff (ARR) input parameters and the Australian Bureau of Meteorology (BOM) rainfall by automating the collection and processing of the data. The inputs and outputs of the tool are explained in detail below. Note: this tool helps with data processing, however is not a substitute to reading ARR. Similarly this wiki page discusses the use of the tool and the options, however context should be derived from ARR directly. Please see the ARR Website for more information.


Getting Started

Installation

The ARR to TUFLOW tool is a free tool that comes as part of the TUFLOW plugin in QGIS. For instructions on how to install the plugin, please see: QGIS TUFLOW Plugin Installation

There are also instructions on installing plugins in the QGIS documentation - if you choose to follow the QGIS documentation, the plugin is called "TUFLOW" in the repository: Link to QGIS Documentation - Installing and Managing Plugins

QGIS Version

The ARR to TUFLOW tool is, for the most part (see note below), a Python tool that runs independently of QGIS. Therefore the tool should not be sensitive to the installed QGIS version, however occasionally QGIS will update the Python version that is packaged with the installation which means there is a small risk that the tool will break between QGIS versions. If the tool does break, please see The Tool Isn't Working for information (the solution is most likely to update the plugin rather than re-install an older version of QGIS).

Note: The tool does use QGIS for pre-processing tasks, such as area and centroid calculation as well as reprojection or cartesian to long-lat.

Opening The ARR to TUFLOW Tool

Once the TUFLOW plugin is installed, the ARR to TUFLOW tool can be opened by clicking the following icon in the plugin toolbar:

Tuflow plugin toolbar ARR tool 01a.png

Quickstart

  1. Load a catchment GIS file (e.g. shp file) into QGIS - this can either be a polygon or point layer
  2. Open the ARR to TUFLOW tool
  3. Select the GIS catchment layer in Input Catchment File dropdown box.
    ARR dialog input catchment file 01a.png

  4. Select the attribute field to use as the catchment name in the Unique Catchment Identifier Field dropdown.
    ARR dialog unique catchment identifier 01a.png

  5. Select storm event combinations from the list of magnitudes and durations.
    ARR dialog storm events 01a.png

  6. Choose an output location.
    ARR dialog output location 01a.png

  7. Click OK and wait for the tool to finish.
    ARR tool complete dialog 01a.png



Output

Log File

A log file (<catchment_name>_log.txt) will be written to the output folder. The log file will contain all WARNING and ERROR messages as well as logged inputs and processing steps. It's recommended to check the log file after running the tool for any warning or error messages. Most warning messages will be grouped together near the bottom of the log file to make it easier to review them.

Data Output

The following outputs are located in the folder <output_folder>\data

  1. Raw BOM and ARR Datahub outputs
    • ARR_Web_data_<catchment_name>.txt
    • BOM_raw_web_<catchment_name>.html
    • Areal_<TP_Zone>_Increments.csv (Areal temporal patterns)
  2. Rainfall depths
    • BOM_Rainfall_Depths_<catchment_name>.csv - processed rainfall depths (after ARF factors)
  3. ARF Factors
    • <catchment_name>_ARF_Factors.csv - calculated ARF factors
  4. Storm Burst Rainfall Losses
    • <catchment_name>_Burst_Initial_Loss.csv - calculated Storm Burst Initial Rainfall Losses (Complete Storm Initial Loss - Preburst Rainfall Depth)

TUFLOW Output

The following outputs are generated by the utility for input into TUFLOW. Please see the example below on how to use the output files for a model.

  1. TUFLOW Rainfall Inflows
    • The rainfall inflows are output in the following location <output_folder>\rf_inflows. This output folder is where all the direct rainfall inflows that would be used in the TUFLOW model are output. An inflow file is generated for each event magnitude - duration combination. All available temporal patterns are included in a single file (including climate change options).
  2. bc_dbase.csv
    • TUFLOW boundary condition database. Setup to point to the RF folder with wildcards applied.
  3. event_file.tef
    • TUFLOW Event File. Setup with wildcards applied. To keep the file names from becoming overly long and complicated, Climate Change scenarios are labelled as CC1, CC2.. etc. These correspond to the combinations of climate change scenarios requested by the user e.g. 2090_8.5 (climate change year: 2090, RCP: 8.5)
  4. soil_infiltration.trd or rainfall_losses.trd - the name of the file will be dependent on the selected loss method, but they are essentially the same file
    • This file is a TUFLOW Read File (.trd) that contains variable initialisation for initial and continuing loss values
  5. soils.tsoilf or materials.csv - which file is output will be dependent on the selected loss method
    • soils.tsoilf - rainfall loss file for the infiltration loss method
    • materials.csv - rainfall loss file for the rainfall excess method


Example: Using the outputs in a TUFLOW model


Additional Options

Climate Change

Climate change options can be added by clicking on Edit under the climate change section. This opens up a table widget that the user can then add/remove climate change scenarios based on the guidance in ARR v4.2. Scenarios added in the table will be displayed in the climate change section (underneath the edit button). Note: each scenario name must be unique and generally the table widget will force unique names. The scenario names will be used throughout the outputs and the user is free to customise the scenario names as they want.

The table columns within the table widget are based on ARR guidelines v4.2 and the examples presented in Book 1, Chapter 6. Please note the following assumptions:

  • Near-term horizon = 2030
  • Medium-term horizon = 2050
  • Long-term horizon = 2090
  • Temperature Change - Setting this to -1 will adopt the temperature changes output in the climate change part of the ARR datahub download. If a value or zero or greater is set by the user, this will be adopted instead of the datahub values and it will be assumed that these are changes relative to the pre-industrial period. Note: the temperature change will be stopped from going negative within the calculation.


By adding climate change scenarios, the following outputs will be turned on:

  • An extra boundary database file: bc_dbase_CC.csv
  • Climate change inflows will be appended to the end of each event's inflow file
  • One additional event option will also be added to the event file for each combination of selected climate change scenarios labelled based on the scenario name. It is intended that the climate change scenarios would be treated as a separate event (e1 = magnitude, e2 = duration, e3 = temporal pattern, e4 = climate change scenario) however the output files can easily be manipulated by the user to configure the model differently.
  • The following CSV files will be written to the data output folder:
    • <scen_name>_rainfall_factors.csv
    • <scen_name>_rainfall_depths.csv
    • <scen_name>_losses.csv

ARR dialog climate change 01a.png

ARR example climate change rf inflow 01a.png

ARR example climate change tef 01a.png

Temporal Patterns

Temporal pattern options can be found by expanding the Temporal Patterns section in the dialog.

  • Manually Specify Point Temporal Patterns (csv) - lets the user specify the point temporal patterns which is expected to be in the ARR datahub format
  • Manually Specify Areal Temporal Patterns (csv) - lets the user specify the arealtemporal patterns which is expected to be in the ARR datahub format
  • Optional Additional Temporal Patterns - Lets the user add additional temporal patterns in a couple of different ways:
    • The user can choose to add temporal patterns from other temporal pattern regions. This is only if the user wishes to included additional temporal patterns. The temporal patterns from the catchment location (taken at the catchment centroid) will always be included. The additional temporal patterns will be included in the inflow files and added to the event file.
    • The user can choose to add temporal patterns from other temporal pattern bins within the same region. For point temporal patterns, this would add temporal patterns from the 'frequent', 'intermediate', and 'rare' bins. For areal temporal patterns, this would add temporal patterns from other "Area" bins. The "correct" bin will always make up the first 10 temporal patterns (TP01 to TP10).
      • For Areal temporal patterns - The user has the additional option to choose how many additional areal temporal pattern sets to add. The default is 2 as this matches the number of additional point temporal patterns that would be added (but it doesn't necessarily have to be the same). The "Area" bins chosen will be the next closest in order.

ARR Dialog temporal patterns 01a.png

ARR example additional temporal patterns rf inflow 01a.png

ARR example additional temporal patterns tef 01a.png

Rainfall

LIMB Rainfall Data
Since v3.8.2.16 ( development version), LIMB data will be used for rainfall depths where available (SEQ specific). The user has the option of selecting the IFD curve from the available sets:

  • Enveloped (Default)
  • High Resolution
  • BOM Resolution

The user also has the option of turning off LIMB data and using BOM 2016 rainfall data instead. If LIMB data is not available, the tool will default to BOM data.

If the user has selected AEP or durations outside of the provided LIMB data range, the tool will use BOM 2016 rainfall data. If the user has selected AEP or durations within the LIMB data range, but the value is not part of the provided IFD, the tool will interpolate the rainfall depth from the provided LIMB data.
Arr2016 limb selector 01a.png

Rainfall Losses

The following sections summarise the available loss options. Please note, as recommended in ARR2019, ARR datahub losses are only intended for rural use. They are not for direct use in urban areas. Furthermore, applications in New South Wales and Victoria should consider the following jurisdiction specific guidance:

Note: Since version v3.5 initial loss for durations greater than 72 hrs is assumed to be the same as the initial loss for 72 hrs. Previous to this version, these losses were output as zeros.

Probability Neutral Losses

Probability neutral losses can be toggled on / off in the dialog (default is on). If 'on', this option will use probability neutral losses for the design burst initial loss rather than using the storm initial loss and pre-burst depths. If probability neutral losses are not available in the catchment area, then the method will automatically revert to using the storm initial loss). Currently this option cannot be used in conjunction with the complete storm option.

ARR dialog probability neutral losses 01a.png

NSW Continuing Loss

Continuing loss values for NSW will be automatically multiplied by 0.4. This will be reported in the log file as:

  • "Catchment is in NSW, multiplying Datahub continuing loss by 0.4"


Pre-burst Percentile

The pre-burst percentile used to calculate design burst initial loss, or for pre-burst rainfall depth for the complete storm option, can be changed using the dropdown box in the dialog.

ARR dialog preburst 01a.png

User Defined Losses

Users can use their own rainfall loss values. The initial loss value will be treated as a complete storm value and not just for the design burst. For most regions, the design burst loss will be calculated my removing the pre-burst depth from the input loss value. If probability neutral losses are available, the burst initial loss will be calculated using the following equation:

IL burst = User IL x IL ARR Prob Neutral / IL ARR Complete Storm

ARR dialog user losses 01a.png

Event Independent Continuing Loss

The event independent continuing loss only affects how the TUFLOW output files are written. This option will remove the continuing loss variable and will instead input the value directly. Ths option was added since the continuing loss value is (currently) event independent and therefore simplifies the output and also makes editing this value easier.

Impervious Losses

The impervious loss value adds the impervious loss values to the materials.csv output. This option only affects the rainfall excess loss approach.

ARR example impervious losses 01a.png

TUFLOW Loss Method

The loss method used by TUFLOW can be changed using the TUFLOW Loss Method dropdown box:

  • Infiltration (soil file) - will output files for the infiltration approach in TUFLOW. This approach in TUFLOW applies the total rainfall to the 2D grid and ponded water in the 2D domain can then infiltrate based on the underlying soil type and impervious fraction. See TUFLOW Manual for more information.
  • Rainfall Excess (material file) - will output files for the rainfall excess approach in TUFLOW. This approach removes the losses from the rainfall inflow prior to application so only excess rainfall is added to the model.


ARR dialog tuflow loss method 01a.png

Initial Losses For Durations Less Than 1 Hour

This selects the method for determining intial loss values for events less than 1 hr in duration:

  • Interpolate to zero - will linearly interpolate loss values (assuming a loss value of 0 mm for 0 min)
  • Log-Interpolate to zero - will use a log-linear interpolation (duration will use a log scale) (assuming a loss value of 0 mm for 0 min)
  • Static Value - uses a user defined value for all event magnitudes
  • Use 60 min Losses - uses the 60 min loss values
  • Rahmen et al 2002 - uses an equation determined by a study conducted by Rahmen et all in 2002
  • Hill et al 1996:1998 - uses an equation determined by a study conducted by Hill et all 1996:1998. This requires the user to provide a mean annual rainfall value.
  • Interpolate pre-burst - will linearly interpolate pre-burst depths (rather than losses) (assuming a depth of 0 mm for 0 min)
  • Log-Interpolate pre-burst - will use a log-linear interpolation on the pre-burst depths (duration will use a log scale) (assuming a depth of 0 mm for 0 min)


ARR dialog losses less than 1h 01a.png

An example of the differences in initial losses from a few of the methods:
Arr to tuflow loss interpolation.png

Output Complete Storm

The user can choose to output the complete storm (preburst + design burst) rather than just the design burst by checking on the following option (please see ARR Book 2 Chapter 5 [Section 5.9.9] for more information):
ARR complete storm checkbox 01a.png
The complete storm generated by the tool will be the preburst depth (from the Preburst percentile extracted from the datahub) plus the design burst. The user will be required to select a preburst temporal pattern from the options listed below. The options below have been included at the request of users and are not a direct reference to any specific methodology outline in ARR. If you would like to see another method included, please email support@tuflow.com.
Currently the ARR to TUFLOW tool supports the following preburst temporal pattern methods:

  • Constant Rate - This will apply the preburst depth equally over a given time period. The time period can be specified as an absolute time (either as minutes or hours) or proprotional to the design storm e.g. a proportional value of 0.5 will apply a 30 min preburst to a 1 hr storm and a 15 min preburst to a 30 min storm.
  • Temporal Pattern - This will apply the preburst depth using a temporal pattern obtained from the datahub for a given duration. The preburst duration can either be an absolute time or be proportional to the design storm. The user will need to select which temporal pattern to use (e.g. TP01, TP02,... TP10). Note: there is a minimum preburst duration of 10 min for this method.
    • If "design burst" is selected, this will cause the pre-burst temporal pattern to use the same temporal pattern number as the design burst (e.g. TP01 design burst will use TP01 pre-burst, TP02 design burst will use TP02 pre-burst, etc.)

The initial loss value output in this method will be the raw storm initial loss value from the datahub with no post processing. Note, the complete storm option and using probability neutral losses are mutually exclusive and aren't able to be used together.

Preburst temporal pattern and duration details are ignored if the "Use Complete Storm" checkbox is not selected.

Why Is the Tool Outputting Negative Loss Values?

The tool will output negative loss values when the preburst depth is greater than the storm initial loss. The tool will not floor loss values at zero since the value may be useful in helping the user determine the appropriate course of action. E.g. if IL = -1mm, this may be considered negligible and can be simply set to zero. An IL = -50mm may be considered significant enough that it simply can't be set to zero and alternate, or sensitivity runs, may need to be carried out, like using a Complete Storm.

Areal Reduction Factors

Areal reduction factor options can be changed in the ARF section:

  • Calculate Area - will calculate the catchment area using the GIS feature in QGIS. For point objects, this will be set to zero and no ARF will be applied (i.e. a value of 1.0)
  • User Area - will let the user define the area. This can either be done by selecting an attribute field that contains the catchment area, or by entering a value. All user inputs will be assumed to be in square km.
  • Minimum ARF - this value sets a floor for the calculated ARF values
  • ARF for events < 50% AEP - this will calculate ARF values using the same equations used for larger events


ARR dialog ARF 01a.png

Additional Output Options

Additional output options include:

  • Output Format - can choose to output in either csv or ts1 format. Ts1 files will be quicker to read in by TUFLOW, however the difference may not be substantial depending on how many are being read in. TUFLOW will also use .xf files by default which means that the raw data is only processed if there is a change, and subsequent runs will not suffer from any slow down from having to read csv files.
  • Output Notation - users can toggle between '% AEP' and 'yr ARI' output notation.


ARR dialog output options 01a.png

Offline Mode

Offline can be used to pass in data that has already been pulled from the ARR datahub and BOM. This can be useful if the user would like to make use of new features in the tool, however would like to ensure they are getting consistent results with previous data that was pulled from the BOM and the ARR datahub. The files required to process offline are saved as part of the tool's process when pulling from the web. Currently offline mode doesn't support areal temporal patterns directly, however this can easily be added by using the manually specify areal temporal pattern option:

  • ARR_Web_data_<catchment_name>.txt
  • BOM_raw_web_<catchment_name>.html


ARR dialog offline inputs 01a.png

The Tool Isn't Working

The first step in identifying the problem is to check the log file. The issue may be something simple like:

  • one of the files the tool is trying to write to is locked by a process or user (e.g. one of the outputs is open in Excel)
  • the tool can't access a network location
  • there is no internet connection
  • the ARR Datahub or BOM is down (see Can't Access the Websites section below)

A useful check if you're unsure if the issue is with the tool or with something else (like the Datahub), is to check if you can manually access and pull data from the Datahub for your catchment site.

The second step is to ensure you're using the latest version of the QGIS plugin. Occasionally updates to the ARR Datahub will break the tool and this may have already been caught and fixed in the latest update.

Issue With The Tool

If there's an issue with the tool, or you are unsure, please contact support@tuflow.com for help. Please include a description of the problem, the log file, and the GIS catchment layer with your email.

Can't access the websites

Sometimes the BOM or ARR Datahub websites are down or unable to be accessed by the tool (e.g. sometimes to manage traffic, the Datahub server will limit, or disallow scraping). The below are a set of instructions that can be used as a workaround should this occur:


Up
Go-up.png Back to TUFLOW QGIS Plugin Main Page