GRASS logo

NAME

t.rast.mosaic - Removes clouds, try to fill raster gaps using r.series and r.series.lwr and aggregates temporally the maps of a space time raster dataset by a user defined granularity using t.rast.aggregate.

KEYWORDS

temporal, aggregation, series, filtering, raster, time

SYNOPSIS

t.rast.mosaic
t.rast.mosaic --help
t.rast.mosaic [-q] input=string output=name [clouds=string] [cloudbuffer=float] [shadows=string] [shadowbuffer=float] method=string granularity=string [max=integer] [nprocs=integer] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

-q
Use the first quartile additional to the median by patching
--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=string [required]
Name of the input space time raster dataset with e.g. Sentinel-2 scenes of one band
output=name [required]
Name of the output space time raster dataset
clouds=string
Name of the input space time raster dataset with clouds
cloudbuffer=float
Radius of cloud buffer in raster cells (it is every time negativ)
Default: 1.01
shadows=string
Name of the input space time raster dataset with shadows
shadowbuffer=float
Radius of shadow buffer in raster cells (it is every time negativ)
Default: 1.01
method=string [required]
Aggregate operation to be performed on the raster maps
Options: average, count, median, mode, minimum, min_raster, maximum, max_raster, stddev, range, sum, variance, diversity, slope, offset, detcoeff, quart1, quart3, perc90, quantile, skewness, kurtosis
Default: median
granularity=string [required]
Aggregation granularity, format absolute time "x years, x months, x weeks, x days, x hours, x minutes, x seconds" or an integer value for relative time
Default: 1 months
max=integer
Number of the maximum value for raster maps
Default: 10000
nprocs=integer
Number of parallel processes to run
Default: 1

Table of contents

DESCRIPTION

t.rast.mosaic is a GRASS GIS addon Python script to remove clouds and aims at filling raster gaps using r.series and r.series.lwr (local weighted regression) and aggregates temporally the maps of a space time raster dataset by a user defined granularity using t.rast.aggregate.

Various steps of t.rast.mosaic can be run in parallel with the nprocs option. With this option set to > 1, different time steps and scenes are executed in parallel where possible.

EXAMPLE

t.rast.mosaic input=s2_B02_10m output=B02_mosaic clouds=s2clouds cloudbuffer=10 \
  granularity='1 months' method=median nprocs=4

SEE ALSO

This module needs several requirements to be installed.

r.series, r.series.lwr (addon), r.patch, t.rast.aggregate, r.mapcalc

AUTHORS

Anika Weinmann and Markus Metz, mundialis, Germany

SOURCE CODE

Available at: t.rast.mosaic source code (history)

Accessed: Thursday Aug 15 12:10:20 2024


Main index | Temporal index | Topics index | Keywords index | Graphical index | Full index

© 2003-2024 GRASS Development Team, GRASS GIS 8.4.1dev Reference Manual