Search the Community
Showing results for tags 'Mapping'.
Found 2 results
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.
Similar to using events or scenarios, any number of Output Zones can be defined. The “Model Output Zones ==”“ command is used to select which output zones are to be used in the simulation. There is no requirement to have a separate file containing the output zone definitions. However, if there are numerous output zones, it would be good practice to place these in one or more separate files and use the “Read File ==” to reference these file(s) so as to keep the size of the .tcf file minimal. If you want to use multiple output zones for a particular simulation your control file should use the “Model Output Zone ==” command with a vertical bar (pipe) between output zone definitions, like this: Model Output Zones == ZoneA | ZoneB Please note, if you repeat the Model Output Zones command then only the last command will be used to define the output in TUFLOW. For example, if you set out your commands as below, only Zone 2 will be output to your results files. Model Output Zones == Zone1 Model Output Zones == Zone2 Each output zone is defined using a definition block as follows: Define Output Zone == <oz_name> ….. End Define With the exception of “Read GIS Output Zone ==”, all commands are optional. Note that the output zone must be a polygon shape, not a rectangle or square shape. If Tuflow detects a shape that is not a polygon, WARNING 2073 will be in the messages layer. Refer to the 2013-12 Release notes, sections 35 to 37 for commands that can be used within an output zone. An example out an output zone setup is as follows: Model Output Zones == ZoneA | ZoneB Define Output Zone == ZoneA !Zone at the river mouth Read GIS Output Zone == ..\model\gis\2d_OZ_ZoneA.shp !GIS layer that contains polygon(s) of region to be output Map Output Format == XMDF ! Options: DAT XMDF WATERRIDE GRID BLUEKENUE and SMS TRIANGLES Map Output Interval == 300 ! Seconds XMDF Map Output Data Types == h v d q Output Folder == ..\results\<<~s1~>>_<<~s2~>>\zones Maximums and Minimums == ON MAXIMUMS ONLY Map Cutoff Depth == 0.05 End Define Define Output Zone == ZoneB !Zone near the development Read GIS Output Zone == ..\model\gis\2d_OZ_ZoneB.shp !GIS layer that contains polygon(s) of region to be output Map Output Format == XMDF DAT GRID ! Options: DAT XMDF WATERRIDE GRID BLUEKENUE and SMS TRIANGLES Grid Format == ASC Map Output Interval == 300 ! Seconds XMDF Map Output Data Types == h v d q MB1 MB2 Output Folder == ..\results\<<~s1~>>_<<~s2~>>\zones Maximums and Minimums == ON MAXIMUMS ONLY Map Cutoff Depth == 0.05 End Define