def main(): # Get the options input = options["input"] where = options["where"] extended = flags["e"] no_header = flags["s"] separator = grass.separator(options["separator"]) # Make sure the temporal database exists tgis.init() tgis.print_gridded_dataset_univar_statistics( "strds", input, where, extended, no_header, separator)
def main(): # Get the options input = options["input"] where = options["where"] extended = flags["e"] no_header = flags["s"] separator = grass.separator(options["separator"]) # Make sure the temporal database exists tgis.init() tgis.print_gridded_dataset_univar_statistics("str3ds", input, where, extended, no_header, separator)
def main(): # lazy imports import grass.temporal as tgis # Get the options input = options["input"] output = options["output"] where = options["where"] extended = flags["e"] no_header = flags["s"] separator = grass.separator(options["separator"]) # Make sure the temporal database exists tgis.init() if not output: output = None if output == "-": output = None tgis.print_gridded_dataset_univar_statistics( "str3ds", input, output, where, extended, no_header, separator)
def main(): # Get the options input = options["input"] output = options["output"] where = options["where"] extended = flags["e"] no_header = flags["s"] rast_region = bool(flags["r"]) separator = grass.separator(options["separator"]) # Make sure the temporal database exists tgis.init() if not output: output = None if output == "-": output = None tgis.print_gridded_dataset_univar_statistics( "strds", input, output, where, extended, no_header, separator, rast_region )