Difference between revisions of "Package Model in QGIS"

From Tuflow
Jump to navigation Jump to search
Line 6: Line 6:
 
[[File: package_model_dialog.PNG]]<br>
 
[[File: package_model_dialog.PNG]]<br>
 
<ul>
 
<ul>
<li><b>TUFLOW exe:</b> Path to TUFLOW executable used to package the model. The latest release is usually best and since there is no processing or computations occuring, backward compatibility is not an issue.
+
<li><b>TUFLOW exe:</b> Path to TUFLOW executable used to package the model. The latest release is best as there is no input processing, backward compatibility is not an issue.
 
<li><b>TCF:</b> Path to the TUFLOW Control File (.tcf) that will be packaged.
 
<li><b>TCF:</b> Path to the TUFLOW Control File (.tcf) that will be packaged.
 
<li><b>XF Files:</b> How to treat input files that generate/have xf files. Options are:
 
<li><b>XF Files:</b> How to treat input files that generate/have xf files. Options are:

Revision as of 00:38, 5 September 2023

A dialog interface for TUFLOW's package model functionality. For more information, please see the package model documentation in the TUFLOW Manual

This tool automatically sets up the command line syntax and the ini file (if required) and runs TUFLOW's package model tool (using the TUFLOW.exe). One additional piece of functionality is added to the the tool that will automatically ZIP the copied folder. This is done outside of TUFLOW using Python.

Parameters

Package model dialog.PNG

  • TUFLOW exe: Path to TUFLOW executable used to package the model. The latest release is best as there is no input processing, backward compatibility is not an issue.
  • TCF: Path to the TUFLOW Control File (.tcf) that will be packaged.
  • XF Files: How to treat input files that generate/have xf files. Options are:
    • Do not copy xf files: Do not copy XF Files
    • Copy all: Copy both raw inputs and XF Files
    • Copy only xf files: Only copy xf files (if they exist) and do not copy raw inputs
  • Copy All File Extensions: If checked, will copy all files with the same name (ignoring file extensions).
  • List Files Only: If checked, will only list the files that would be copied (by does not copy them). This list will be written to the tool dialog log.
  • Output Directory: Output directory for the copied files.
  • Zip Output: If checked, will compress the output.
  • Base Directory: Base directory of the TUFLOW model (only required if using a non-standard TUFLOW directory structure).



Up
Go-up.png Back to TUFLOW QGIS Plugin Main Page