View source for ARR 2019 Ensembles Processing
←
ARR 2019 Ensembles Processing
Jump to navigation
Jump to search
<span style="color:#FF0000"> <font size = 18>Page Under Construction</font> </span> This page summarizes recommended approach for processing a large amount of ARR 2016 ensembles. ==Introduction== The ARR 2016 guidelines implemented ten temporal patterns which are to be applied for each annual exceedance probability (AEP) and each storm duration. This multiplies the number of simulations by ten and requires additional processing in comparison with ARR 1987. The results files can get very large, the creation of the processing tools can lead to tedious work and the computerised processing can be time intensive. ==Choice of Output== As the model results might get large in size the preferred method to process the ensembles is to use FLT grid output format to export the maximums of required values (water level, depth, velocity, hazard, ...) directly from TUFLOW simulation. FLT files are ESRI binary (float) version of the ASC files and their size is about 1/5 of an ASC file. Binary files can also be processed faster by TUFLOW utilities.<br> Commands in the TCF:<br> :<font color="blue"><tt>Map Output Format </tt></font> <font color="red"><tt>== </tt></font><tt>FLT</tt><br> :<font color="blue"><tt>Map Output Date Types </tt></font> <font color="red"><tt>== </tt></font><tt>h, d, V</tt><br> :<font color="blue"><tt>FLT Map Output Interval </tt></font> <font color="red"><tt>== </tt></font><tt>0</tt><br> If using only time-series outputs (xmdf, dat) an extra step will be required to export maximum grids (FLT or ASC) with TUFLOW_to_GIS utility. ==Median== Use <u>[https://wiki.tuflow.com/index.php?title=ASC_to_ASC#.22-statMedian.22 ASC_to_ASC utility (-statMedian switch)]</u> to create median of required values (water level, depth, velocity, hazard, ...) for each storm duration and each AEP. ==Maximums== Use <u>[https://wiki.tuflow.com/index.php?title=ASC_to_ASC#Maximum ASC_to_ASC utility (-max switch)]</u> to create maximum envelope of the median results for each AEP. ==Processing Batch File Tips== *Batch file is recommended to be located in the same folder as the result files. This will enable the use of relative path for the input and output files to make the command shorter.<br> :<u>Example:</u><br> :<tt>"C:\TUFLOW\Utilities\asc_to_asc_w64.exe" -b -out Max_grid.flt -max Grid_1.flt Grid_2.flt</tt><br> :Instead:<br> :<tt>"C:\TUFLOW\Utilities\asc_to_asc_w64.exe" -b -out "C:\Projects\Project_1024\Processing\Max_grid.flt" -max "C:\Projects\Project_1024\Processing\Grid_1.flt" "C:\Projects\Project_1024\Processing\Grid_2.flt"</tt><br> *A wild card (*) can be used to avoid typing all the file names. Instead ASC_to_ASC utility will automatically read all the files with the same start and end of the filename.<br> :<u>Example:</u><br> :<tt>"C:\TUFLOW\Utilities\asc_to_asc_w64.exe" -b -out Max_grid.flt -max Grid_*.flt</tt><br> :Instead:<br> :<tt>"C:\TUFLOW\Utilities\asc_to_asc_w64.exe" -b -out Max_grid.flt -max Grid_1.flt Grid_2.flt Grid_3.flt Grid_4.flt Grid_5.flt Grid_6.flt Grid_7.flt Grid_8.flt Grid_9.flt Grid_10.flt</tt><br> *Looping through variables in a batch file can also be used to make the processing more efficient. Example of such batch file is below:<br> <pre> @echo off :: This sets the variables as local, so you can use another batch file with A and B variables SetLocal ::set path to TUFLOW_to_GIS Utility set ASC_to_ASC="C:\TUFLOW\Utilities\asc_to_asc_w64.exe" :: set up variables set A=060m 120m 180m set B=tp01 tp02 tp03 tp04 tp05 tp06 tp07 tp08 tp09 tp10 :: Loop Through FOR %%a in (%A%) do ( FOR %%b in (%B%) DO ( %ASC_to_ASC% -b -statMedian ARR_5m_1p_%%a_%%b_001.flt ) ) pause </pre>
Template used on this page:
Template:Tips Navigation
(
view source
)
Return to
ARR 2019 Ensembles Processing
.
Navigation menu
Personal tools
English
Log in
Namespaces
Page
Discussion
English
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
MediaWiki help
Tools
What links here
Related changes
Special pages
Page information