ARR 2019 Ensembles Processing: Difference between revisions

Content deleted Content added
Line 22:
*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_gridARR_Max.flt -max Grid_1ARR_060m.flt Grid_2ARR_120m.flt</tt><br>
:Instead:<br>
:<tt>"C:\TUFLOW\Utilities\asc_to_asc_w64.exe" -b -out "C:\Projects\Project_1024\Processing\Max_gridARR_Max.flt" -max "C:\Projects\Project_1024\Processing\Grid_1ARR_060m.flt" "C:\Projects\Project_1024\Processing\Grid_2ARR_120m.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_gridARR_Max.flt -max Grid_ARR_*.flt</tt><br>
:Instead:<br>
:<tt>"C:\TUFLOW\Utilities\asc_to_asc_w64.exe" -b -out Max_gridARR_Max.flt -max Grid_1ARR_060m.flt Grid_2ARR_120m.flt Grid_3ARR_180m.flt Grid_4ARR_240m.flt Grid_5ARR_300m.flt Grid_6.flt Grid_7.flt Grid_8.flt Grid_9.flt Grid_10ARR_360m.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>
 
Line 42:
 
:: set up variables
set A=060m 120m 180m 240m 300m 360m
set B=tp01 tp02 tp03 tp04 tp05 tp06 tp07 tp08 tp09 tp10