def main(): # lazy imports import grass.temporal as tgis # Get the options input = options["input"] output = options["output"] where = options["where"] expression = options["expression"] base = options["basename"] nprocs = int(options["nprocs"]) register_null = flags["n"] time_suffix = options["suffix"] # Make sure the temporal database exists tgis.init() tgis.extract_dataset( input, output, "raster3d", where, expression, base, time_suffix, nprocs, register_null, )
def main(): # Get the options input = options["input"] output = options["output"] where = options["where"] expression = options["expression"] base = options["base"] nprocs = int(options["nprocs"]) register_null = flags["n"] # Make sure the temporal database exists tgis.init() tgis.extract_dataset(input, output, "raster3d", where, expression, base, nprocs, register_null)
def main(): # Get the options input = options["input"] output = options["output"] where = options["where"] expression = options["expression"] base = options["basename"] nprocs = int(options["nprocs"]) register_null = flags["n"] # Make sure the temporal database exists tgis.init() tgis.extract_dataset(input, output, "raster", where, expression, base, nprocs, register_null)
def main(): # Get the options input = options["input"] output = options["output"] where = options["where"] expression = options["expression"] layer = options["layer"] type = options["type"] base = options["basename"] nprocs = int(options["nprocs"]) register_null = flags["n"] # Make sure the temporal database exists tgis.init() tgis.extract_dataset(input, output, "vector", where, expression, base, nprocs, register_null, layer, type)