Flood Modeller to TUFLOW: Difference between revisions

Content deleted Content added
 
(2 intermediate revisions by one other user not shown)
Line 1:
=Introduction=
Often, there is a requirement to convert aspects of a Flood Modeller model to a TUFLOW ESTRY model. It is possible to convert a Flood Modeller 1D model to a TUFLOW ESTRY format using either the fm_to_estry.exe or fm_to_estry.py utilities. The utilities are available for download from the <u>[https://gitlab.com/tuflow-user-group/tuflow/model-conversions/fm-to-estry TUFLOW Gitlab User Group]</u>. This Wiki page lists useful examples for using the fm_to_estry.exe and fm_to_estry.py utilities.<br><br>If you have any suggestions to be included in these pages, please email <font[mailto:support@tuflow.com color="blue"><u>support@tuflow.com</u></font>].
 
=Flood Modeller to ESTRY conversion utility using the fm_to_estry.exe=
Line 37:
In order to convert a Flood Modeller network to ESTRY using the fm_to_estry executable follow the instructions below.
<ol>
<li>Download the followingcompiled file fm_to_estry.0.9.zipexecutable from the <u>[https://gitlab.com/tuflow-user-group/tuflow/model-conversions/fm-to-estry TUFLOW Gitlab User Group]</u> by visiting the <b>Compiled Library section</b> and unzip it to your preferred destination.
<li>Open the file. Then, bring in the relevant files from the Flood Modeller model that requires conversion, in this example the .<b>dat</b>, .<b>gxy</b> and projection files. The projection.<b>shp</b> file will help you to assign your model to the correct projection and can come from an existing TUFLOW model or shapefile 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>).
Line 45:
<li><pre>fm_to_estry.exe flood_modeller.gxy flood_modeller.dat -crs projection.shp</pre>
Converts a Flood Modeller model
<li><pre>fm_to_estry.exe flood_modeller.gxy flood_modeller.dat -crs "EPSG:32760"</pre>
Uses an EPSG number (32760) for the projection
<li><pre>fm_to_estry.exe flood_modeller.gxy flood_modeller.dat -crs projection.shp -out .\output</pre>