pictures/imod_logo.png

iMOD User Manual version 4.4 (html)


4.5Create an iMOD Batch file

The iMOD Batch functions include a variety of tools that can be used to execute iMOD data processes fast and repetitively. The Batch functions are described in detail in Chapter 8. The Batch functions can be executed in command mode without starting iMOD. But these functions can be used also interactively from the iMOD main menu.

Select the main option Edit and then choose the option iMOD Batch to display the iMOD Batch window.

iMOD Batch window:

pictures/h1-h3/image772.png

Create a New
iMOD Batch
Script

Select a Batch function from the dropdown menu.

Create

Click this button to create and save a batch file in the .\USER\IMODBATCH directory. The file automatically gets an extension .bat. The file will open in a text editor after it is saved. See below for an explanation of the file contents.

Execute an Existing iMOD Batch
Script

Select a Batch file from the dropdown menu.

pictures/h1-h3/image109.png

Open a text editor with the Batch file contents.

Help ...

Click this button to start the iMOD Help Functionality (if available in the selected *.PRF file).

Execute

Click this button to start the execution of the Batch function selected in the dropdown menu.

Hide execution

Check this option whenever it is needed to start an iMOD Batch file in a hidden command window.

Block Execution till Complete

Check this option to block the execution of iMOD until the executed iMOD Batch file has terminated.

No processes active

This drop down menu lists the processes that are currently running.

pictures/h1-h3/image169.png

Refresh
Select this button to refresh the drop down list of active processes.

Kill

Select this button to terminate the selected process from the drop down menu left.

Help ...

Click this button to start the iMOD Help Functionality (if available in the selected *.PRF file).

Close ...

Close the iMOD Batch window.

Example of an iMOD Batch file in a text editor window:

pictures/h1-h3/image773.png

The file contains all keywords used for the specific batch function. The keyword contents can be added to complete the batch function. The command line to execute the batch file is at the bottom of the file.