Import ArcGIS floating-point grid (.flt)

This tool can be used to import an ArcGIS floating-point grid file into Whitebox GAT. This is the best way to import raster files from ArcGIS. Floating-point grid files consist of a header file (.hdr) and data files (.flt). The user must specify the name of one or more floating-point grid files to be imported. The tool will create Whitebox GAT files (.dep and .tas files) for each input file. Output file names are the same of the input files.

Use the Raster to Float tool in the Conversion Tools toolbox of ArcGIS to create floating-point grid files from your ArcGIS raster files.

See Also:

Scripting:

The following is an example of a Python script using this tool:

wd = pluginHost.getWorkingDirectory()
# You may have multiple input files but they must
# be separated by semicolons in the string.
inputFiles = wd + "input1.flt" + ";" + wd + "input2.flt" + ";" + wd + "input3.flt"
args = [inputFiles]
pluginHost.runPlugin("ImportArcGrid", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
// You may have multiple input files but they must
// be separated by semicolons in the string.
def inputFiles = wd + "input1.flt" + ";" + wd + "input2.flt" + ";" + wd + "input3.flt"
String[] args = [inputFiles]
pluginHost.runPlugin("ImportArcGrid", args, false)

Credits: