r3.retile
Retiles an existing 3D raster map with user defined x, y and z tile size.
r3.retile [-c] input=name output=name [tiledimension=XxYxZ] [--overwrite] [--verbose] [--quiet] [--qq] [--ui]
Example:
r3.retile input=name output=name
grass.script.run_command("r3.retile", input, output, tiledimension="default", flags=None, overwrite=None, verbose=None, quiet=None, superquiet=None)
Example:
gs.run_command("r3.retile", input="name", output="name")
grass.tools.Tools.r3_retile(input, output, tiledimension="default", flags=None, overwrite=None, verbose=None, quiet=None, superquiet=None)
Example:
tools = Tools()
tools.r3_retile(input="name", output="name")
This grass.tools API is experimental in version 8.5 and expected to be stable in version 8.6.
Parameters
input=name [required]
    Name of input 3D raster map
output=name [required]
    Name of the retiled 3D raster map
tiledimension=XxYxZ
    The dimensions of the tiles used in the output raster3d map (XxYxZ or default: 16x16x8)
    Default: default
-c
    Disable tile caching
--overwrite
    Allow output files to overwrite existing files
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog
input : str, required
    Name of input 3D raster map
    Used as: input, raster_3d, name
output : str, required
    Name of the retiled 3D raster map
    Used as: output, raster_3d, name
tiledimension : str, optional
    The dimensions of the tiles used in the output raster3d map (XxYxZ or default: 16x16x8)
    Used as: XxYxZ
    Default: default
flags : str, optional
    Allowed values: c
    c
        Disable tile caching
overwrite : bool, optional
    Allow output files to overwrite existing files
    Default: None
verbose : bool, optional
    Verbose module output
    Default: None
quiet : bool, optional
    Quiet module output
    Default: None
superquiet : bool, optional
    Very quiet module output
    Default: None  
input : str, required
    Name of input 3D raster map
    Used as: input, raster_3d, name
output : str, required
    Name of the retiled 3D raster map
    Used as: output, raster_3d, name
tiledimension : str, optional
    The dimensions of the tiles used in the output raster3d map (XxYxZ or default: 16x16x8)
    Used as: XxYxZ
    Default: default
flags : str, optional
    Allowed values: c
    c
        Disable tile caching
overwrite : bool, optional
    Allow output files to overwrite existing files
    Default: None
verbose : bool, optional
    Verbose module output
    Default: None
quiet : bool, optional
    Quiet module output
    Default: None
superquiet : bool, optional
    Very quiet module output
    Default: None  
Returns:
result : grass.tools.support.ToolResult | None
If the tool produces text as standard output, a ToolResult object will be returned. Otherwise, None will be returned.
Raises:
grass.tools.ToolError: When the tool ended with an error.
DESCRIPTION
r3.retile writes a copy of an existing 3D raster map with a user defined number of tiles in x, y and z direction. The precision and the type of the original 3D raster map are used for the new retiled 3D raster map.
SEE ALSO
r3.cross.rast, r3.out.ascii, g.region, r.tile
AUTHOR
Sören Gebbert
SOURCE CODE
Available at: r3.retile source code
(history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f