Flood Modeller to TUFLOW: Difference between revisions

Content deleted Content added
Line 37:
 
=Utility Execution (.exe)=
In order to convert a Flood Modeller network to Estry using the fm_to_esty executable follow the instructions below.
<ol>
<li>Download the following file fm_to_estry.0.9.zip from the <u>[https://gitlab.com/tuflow-user-group/tuflow/model-conversions/fm-to-estry TUFLOW Gitlab WebsiteUser Group]</u> by visiting the <b>Compiled Library section</b> and unzip it into your preferred destination.
<li>Open the file. Then, bring in the relevant files from the FMFlood Modeller model that requires conversion, in this example the dataset.<b>dat</b>, dataset.<b>gxy</b> and projection files. The projection.<b>shp</b> file will help you to assign your projectionsmodel to the correct projection and can come from an existing TUFLOW model or shape fileshapefile in the correct projection. See figure below for the required files:<br>[[File:Fm2estry_1.png|300px|]]
<li>Create a new .bat file (To do that right click in an empty area in the file. A dialogue will open. Choose New and then Text document. Rename your new Text document by including the <b>.bat extension</b> at the end. For Example: fm_to_estry_example.<b>bat</b>).
<li>Open your batch file and insert the text to convert the FMFlood Modeller model network to an Estry one. Some examples are shown in the following lines, note that if the batch file is held in a different directory to the Flood Modeller files, you will need to the full file path or relative path to reference the files.
===Examples===
<ol>
Line 59 ⟶ 60:
<li>Save your preferences and close your batch file.
<li>Double click the batch file.
<li>The above steps will return structures from the <b>supported structures list</b> in .shp and .csv file formats to use them to further set up a 1D TUFLOW/Estry model.
The figure below illustrates Flood Modeler 1D model conversion to TUFLOW Estry.
<br> [[File:Fm2estry_2.jpg|700px|]]
<br>[[File:Fm2estry_3.jpg|700px|]]
</ol>
 
 
=Utility Execution (.py)=