Helper functions for analyzing package script inputs. More...
Classes | |
class | ConfigParser |
class | MaskFeature |
Functions | |
def | Boolean_val_trafo (val) |
def | argumentSplit (obj, separator=';', old_type=str) |
splitting a string or a list of strings by a given separator into a list | |
def | analyzeInput (fullscriptpath, pairboolean, inp=None, out=None, temp=None, cfg=None, prjdir=None, distribute=None, skipIfExists=None) |
analyzes the parser arguments (inp, out, temp, cfg, prjdir, distribute) and returns script parameters (filelist,[pair],outdir,tempdir,cfg,processor) More... | |
def | analyzeInputPackages (fullscriptpath, pairboolean, allscripts, inp=None, out=None, temp=None, cfg=None, prjdir=None, distribute=None, subScriptList=None, subScriptString=None, skipIfExists=None) |
analyzes the parser arguments (inp, out, temp, cfg) and returns script parameters (filelist,[pairs],outdirs,tempdirs,cfgs,processor) for a whole package More... | |
def | analyzeSubScripts (subscriptList, subscriptsString) |
def | replaceOpalsRoot (p) |
def | fprjdir (prjdir) |
analyzes input parameter and returns filelist, pairs | |
def | finp (inp, prjdir, supportFilter=False) |
analyzes the input parameters and returns filelist, pairs | |
def | textfileinput (inp, filedir, supportFilter) |
reads textfile and returns filelist, pairs | |
def | findfile (f, fdir) |
"searches filedir for a certain strip file or odm file, returns boolean | |
def | standardinput (inp) |
analyzes non-textfile inputs including wildcards; returns filelist | |
def | fout (out, prjdir, scriptname) |
analyzes out parameter and returns outdir | |
def | ftemp (temp, prjdir, outdir, scriptname) |
analyzes temp parameter and returns tempdir | |
def | fcfg (cfg, prjdir, scriptname, fullscriptpath) |
analyzes cfg parameter and returns the path of the cfg-file | |
def | fsettingsP (txtfile, prjdir, allscripts) |
reads settings-textfile and returns the settings for each subscript | |
def | foutP (out, temp, prjdir, allscripts, scriptname) |
analyzes out parameter and returns the outdirs for each subscript | |
def | ftempP (temp, prjdir, outdirs, allscripts, scriptname) |
analyzes temp parameter and returns the tempdirs for each subscript | |
def | fcfgP (cfg, prjdir, allscripts, scriptname, fullscriptpath) |
"analyzes cfg parameter and returns the cfgs for each subscript | |
def | as_int (value) |
def | fprocessor (distribute) |
def | fmask (mask) |
def | isFloat (string) |
def | getExtensionFromFormat (format) |
def | getExtFromGDALDriver (drv) |
def | getGDALDriverFromExt (ext) |
def | getVectorFormatFromExt (ext) |
Variables | |
list | extensions = ["wnp", "bwnp", "xyz", "bxyz", "las", "sdw", "fwf", ".tif", ".dtm", ".asc", "dem", "hgt", "bil", "flt"] |
Helper functions for analyzing package script inputs.
def python.tools.analyzeInput.analyzeInput | ( | fullscriptpath, | |
pairboolean, | |||
inp = None , |
|||
out = None , |
|||
temp = None , |
|||
cfg = None , |
|||
prjdir = None , |
|||
distribute = None , |
|||
skipIfExists = None |
|||
) |
analyzes the parser arguments (inp, out, temp, cfg, prjdir, distribute) and returns script parameters (filelist,[pair],outdir,tempdir,cfg,processor)
References python.tools.analyzeInput.fcfg(), python.tools.analyzeInput.finp(), python.tools.analyzeInput.fout(), python.tools.analyzeInput.fprjdir(), and python.tools.analyzeInput.ftemp().
def python.tools.analyzeInput.analyzeInputPackages | ( | fullscriptpath, | |
pairboolean, | |||
allscripts, | |||
inp = None , |
|||
out = None , |
|||
temp = None , |
|||
cfg = None , |
|||
prjdir = None , |
|||
distribute = None , |
|||
subScriptList = None , |
|||
subScriptString = None , |
|||
skipIfExists = None |
|||
) |
analyzes the parser arguments (inp, out, temp, cfg) and returns script parameters (filelist,[pairs],outdirs,tempdirs,cfgs,processor) for a whole package
References python.tools.analyzeInput.fcfgP(), python.tools.analyzeInput.finp(), python.tools.analyzeInput.foutP(), python.tools.analyzeInput.fprjdir(), and python.tools.analyzeInput.ftempP().