Jump to content
TUFLOW Forum

Search the Community

Showing results for tags 'utilities'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • About This Forum and Announcements
    • How to Use This Forum
    • Forum Feedback
    • Announcements
  • TUFLOW Modelling
    • 1D/2D Linking
    • 1D Domains
    • 2D/2D Linking
    • 2D/2D Nesting
    • 2D Domains
    • Boundaries
    • Documentation & Tutorial Model
    • Dongles/Licensing/Installation
    • Ideas / Suggestions / New Features
    • Mass Balance/Mass Error
    • MATH Errors & Simulation Failure
    • Restart Files
    • Post-Processing
    • Software/Hardware Requirements
    • Text Files (.tcf, .tgc, .tbc, .ecf)
    • Utilities
    • Miscellaneous
  • Other Software
    • ISIS-TUFLOW
    • MapInfo/Vertical Mapper
    • miTools
    • Other GIS/CAD
    • SMS
    • XP-SWMM2D
    • UltraEdit/Excel
    • TUFLOW Apps

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. 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.
  2. Q: When trying to run a batch file to convert a maximum water level from .dat format into .asc format I get an unexpected error. The batch file line is: C:\TUFLOW\Utilities\w64\TUFLOW_to_GIS_w64.exe -asc -b -t99999 M01_5m_1%AEP_001_h.dat A: This is most likely that the percentage character is treated as a special character in a batch file. For a description on this, please see the Microsoft site here: https://support.microsoft.com/en-us/kb/75634 In general I would tend to avoid special characters such as % in filenames where possible, for example there is a list here: http://www.mtu.edu/umc/services/web/cms/characters-avoid/ Whilst the % characters should generally fine in TUFLOW, are supported by Microsoft, however, they may require additional effort in batch files, e.g. may need to be wrapped in quotes (“) or have escape characters ignored. Another thing to note is that TUFLOW can directly write the outputs to .asc grid. You can output multiple file formats from TUFLOW and can set the data types, output interval etc based on the output format. For example in the below, the model will output dat and asc formats with only the maximums for the asc. Map Output Format == dat asc Map Output Data Types == h V q d Map Output Interval == 300 ASC Map Output Interval == 0 !only maximums for asc format ASC Map Output Data Types == h V d Z0
  3. Q: I would like to extract and map the Froude number My TCF looks like this: !OUTPUT COMMANDS Map Output Data Types == hVqdF !d E F h q R t V W Z1 ZH ! Non-default output variables Store Maximums and Minimums == ON MAXIMUMS ONLY ! can save peak and minimum values (ON) or peak values only Start Map Output == 0 ! start map output time (hours) Map Output Interval == 600 ! frequency the map output data is written to file (seconds) 600 seconds = 10 minutes Map Output Format == XMDF If I use XPSWMM to look at the XMDF, I can see the Fr output. I am attempting to extract the Fr from the XMDF using “Tuflow_to_gis_w64” and having no luck. How can I import the maximum Fr into mapinfo ? A: For performance and memory reasons TUFLOW does not track the maximums for each output parameter at each timestep (as the hazards, levels and velocities are). The data is available in the .xmdf for Froude number at each timestep but not the tracked overall maximums. The Froude number can be post-processed from the output timestepls by using the res_to_res utility. (Download link: http://www.tuflow.com/Download/TUFLOW/Utilities/res_to_res.zip and further information:http://wiki.tuflow.com/index.php?title=RES_to_RES#Max) An example command line to extract the maximum Froude number from the timesteps is below: "C:\TUFLOW\Utilities\res_to_res.exe" -b -max M01_5m_002_Froude.xmdf –out MaxFroude.xmdf -path"Froude No" This will extract the maximums into a XDMF new file, which has three datasets: · Max Value – the maximum value · Max Time – The time that the maximum value occurred · Max Source – The file the maximum came from if multiple input .xmdf files are specified. This can then be converted to a MapInfo format using TUFLOW to GIS. For example: "C:\TUFLOW\Utilities\w64\TUFLOW_to_GIS_w64.exe" -asc -2dm M01_5m_002_Froude.2dm MaxFroude.xmdf-out MaxFroude.asc -path"Max Value" Note the .2dm file needs to be specified as there is no corresponding MaxFroude.2dm file.
  4. An updated version of the TUFLOW_to_GIS utility has been released. This is available on the TUFLOW downloads page: http://www.tuflow.co... Utilities.aspx Both 32 bit and 64 bit versions of the utility are available in the respective "w32" and "w64" folders. The changes to the utility are: Precision for output grid is determined from the max / min values in output (see http://www.tuflow.com/forum/index.php?showtopic=1279) Fix when output velocity to asc format (see: http://www.tuflow.com/forum/index.php?showtopic=1299#entry3432) Fix bug which ignored -out filename in some circumatsances Long profiles outputs now correctly assign the .csv extension type Added support for cell-centred .dat results, these are produced only by TUFLOW-FV. At this stage the only supported option is to export to regions in either -mif or -shp format. An example is TUFLOW_to_GIS_w64.exe -mif -region -t<timestep> cell_centred_results.dat Any issues, queries or feedback please contact support@tuflow.com. Regards Phillip
  5. An updated version of the TUFLOW_to_GIS utility has been released. This is available on the TUFLOW downloads page: http://www.tuflow.com/Tuflow%20Utilities.aspx Both 32 bit and 64 bit versions of the utility are available in the respective "w32" and "w64" folders. The changes to the utility are: The ability to output multiple timesteps and data types from and XMDF file. Options include: -Folder”xmdf folder” Example: -Folder”Maximums” will output all of the "maximum" datasets in the .xmdf file. -s<scalar dataset ID> Example: -s1 will convert the 1st scalar dataset. -v<vector dataset ID> Example: -v2 will convert the 2nd vector dataset -TypeAll This will convert all xmdf datasets -tAll Will convert all timesteps Note -TypeAll –tAll will convert ALL timesteps for all datasets the in file, this may fill your hard drive up quickly! The utility now supports high resolution results (results stored at 9 locations around the cell instead of the cell corners). These have been run with the .tcf command: Map Output Format == SMS High Res When outputting results to points (.mif or .shp) you can now filter based on the Zpt type. E.g. -ptsC, will output results only at the cell centres (ZC locations). The defaults is for all points to be outputted i.e. –ptsCUVHT. T is used to define the 1D WLL for triangle points. New output option -region (to be used in conjection with either -mif or -shp). This will output a GIS layer containing the TUFLOW cells as region objects, the value assigned to the region is the value at the cell centre. This output is only valid for high resolution results. Any issues, queries or feedback please contact support@tuflow.com. Regards Phillip P.S. As a teaser for the 2013 TUFLOW release, a lot of the TUFLOW_to_GIS functionality has now been embedded directly in TUFLOW.
×
×
  • Create New...