Jump to content
TUFLOW Forum
rachel.jensen

Manual typo, Asc_to_asc utility

Recommended Posts

Q:

I’m trying to do a grid difference with asc_to_asc utility and using the method in the 2016 manual (section 15.2.2), I get an error saying it cannot find the asci file. The file it cannot find is the name of the one that I'm trying to output 

The Manual says:

Example 1
asc_to_asc.exe –dif Q100_dev_impact_h.asc Q100_dev_h.asc Q100_exg_h.asc
Outputs an ASC file called Q100_dev_impact_h.asc that contains the difference of Q100_dev_h minus Q100_exg_h.

 

A:

I’m afraid that’s a typo in the new manual sorry.
Thanks for bringing it to our attention, I will have it adjusted.

You can find the correct version of the line of code you’re looking for on the Tuflow wiki, located here.
The manual version was missing the ‘-out’ flag that tells the utility that this is file name that you want to use, not to look for the actual file. 
You can see an example that I’ve colour coded up in the attached image.

It doesn’t matter if the output section or the difference section goes first, just as long as they have the flags so that the utility knows what to do with the input you’re giving it.


 

asc_to_asc_correction.PNG

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.

Guest
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...