Jump to content

Extract maximum depths excluding a certain duration

Recommended Posts


Is there an option in asc_to_asc (or res_to_res) to exclude the outputs of a certain duration, and extract maximums in a specified range?
The results at the beginning of a simulation are to be excluded due to bad initial conditions.


Share this post

Link to post
Share on other sites

Hi Prabhanjan,

Could i start by asking if the initial conditions are meaning that maximums are actually happening at this point rather than the actual peak of the event - if so i would strongly suggest re-defining initial conditions or more so if you are aware that they are very unrealistic i would be re-running to define new initial conditions anyway.

TUFLOW to GIS can extract the maximum output of the simulation from the .dat or .xmdf file using the flag -tmax - you can also specify output times using the -t flag and then the desired output, for example -t9 will extract at 9 hours. 

Res to Res has the 'Range' and 'Remove' input switches which would create a new results file either only within a specified range or removing a specific time, for example the beginning of your simulation: https://wiki.tuflow.com/index.php?title=RES_to_RES

One would assume once the new results files have been created from res-to-res you could then use the TUFLOW to GIS utility to extract what you want. 

Kind regards,


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...