Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current addon manual page.
NAME
t.rast.patch - Patches multiple space time raster maps into a single raster map using r.patch.
KEYWORDS
temporal,
aggregation,
series,
raster,
merge,
patching,
time
SYNOPSIS
t.rast.patch
t.rast.patch --help
t.rast.patch [-tzs] input=name [where=sql_query] output=name [sort=string] [--overwrite] [--help] [--verbose] [--quiet] [--ui]
Flags:
- -t
- Do not assign the space time raster dataset start and end time to the output map
- -z
- Use zero (0) for transparency instead of NULL
- -s
- Do not create color and category files
- --overwrite
- Allow output files to overwrite existing files
- --help
- Print usage summary
- --verbose
- Verbose module output
- --quiet
- Quiet module output
- --ui
- Force launching GUI dialog
Parameters:
- input=name [required]
- Name of the input space time raster dataset
- where=sql_query
- WHERE conditions of SQL statement without 'where' keyword used in the temporal GIS framework
- Example: start_time > '2001-01-01 12:30:00'
- output=name [required]
- Name for output raster map
- sort=string
- Sort order (see sort parameter)
- Options: asc, desc
- Default: desc
This module patches raster maps that have gaps in time with subsequent maps (within a space time raster dataset)
using
r.patch. Hence it is a wrapper for
r.patch in the temporal domain.
The input of this module is a single space time raster dataset, the
output is a single raster map layer. A subset of the input space time
raster dataset can be selected using the
where option. The
sorting of the raster map layer can be set using the
sort
option. Be aware that the sorting of the maps significantly influences
the result of the patch. By default the maps are
sorted by
desc by the
start_time so that the newest raster map
is the first input map in
r.patch.
t.rast.patch is a simple wrapper for the raster module
r.patch.
The example uses the North Carolina extra time series of MODIS Land Surface Temperature
maps (
download).
(The mapset has to be unzip in one of the North Carolina locations.)
Patching the MODIS Land Surface Temperature for 2016 (filling missing pixels by subsequent maps in the time series):
t.rast.patch input=LST_Day_monthly@modis_lst output=LST_Day_patched_2016 \
where="start_time >= '2016-01' and start_time <= '2016-12'"
r.info LST_Day_patched_2016
r.patch,
t.rast.series,
t.create,
t.info,
t.merge
Temporal data processing Wiki
Anika Bettge, mundialis GmbH & Co. KG
SOURCE CODE
Available at:
t.rast.patch source code
(history)
Latest change: Thu Feb 3 09:32:35 2022 in commit: f17c792f5de56c64ecfbe63ec315307872cf9d5c
Main index |
Temporal index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2022
GRASS Development Team,
GRASS GIS 8.0.3dev Reference Manual