Skip to content

t.support

Modifies the metadata of a space time dataset.

t.support [-mu] input=name [semantictype=string] [type=name] [title=string] [description=string] [aggr_type=string] [--verbose] [--quiet] [--qq] [--ui]

Example:

t.support input=name

grass.script.run_command("t.support", input, semantictype="mean", type="strds", title=None, description=None, aggr_type=None, flags=None, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("t.support", input="name")

Parameters

input=name [required]
    Name of the input space time dataset
semantictype=string
    Semantic type of the space time dataset
    Allowed values: min, max, sum, mean
    Default: mean
type=name
    Type of the input space time dataset
    Allowed values: strds, stvds, str3ds
    Default: strds
title=string
    Title of the space time dataset
description=string
    Description of the space time dataset
aggr_type=string
    Aggregation type of the space time raster or 3D raster dataset
-m
    Update the metadata information and spatial extent of registered maps from the GRASS spatial database
    Check for removed maps and delete them from the temporal database and all effected space time datasets
-u
    Update metadata information, temporal and spatial extent from registered maps based on database entries.
--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 the input space time dataset
    Used as: input, stds, name
semantictype : str, optional
    Semantic type of the space time dataset
    Allowed values: min, max, sum, mean
    Default: mean
type : str, optional
    Type of the input space time dataset
    Used as: name
    Allowed values: strds, stvds, str3ds
    Default: strds
title : str, optional
    Title of the space time dataset
description : str, optional
    Description of the space time dataset
aggr_type : str, optional
    Aggregation type of the space time raster or 3D raster dataset
flags : str, optional
    Allowed values: m, u
    m
        Update the metadata information and spatial extent of registered maps from the GRASS spatial database
        Check for removed maps and delete them from the temporal database and all effected space time datasets
    u
        Update metadata information, temporal and spatial extent from registered maps based on database entries.
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

The t.support module is dedicated to modify and update the metadata of a space time dataset.

The title, description and the semantic type can be modified.

The flag -u allows updating the STDS metadata from registered map layers. This is useful in case the map layers have been modified without using temporal commands.

The flag -m will update the metadata from registered maps, but also checks if the registered map layers have been removed from the spatial database. It deletes missing map layers from the space time dataset register table and the temporal database.

EXAMPLES

Modification of title and description of space time raster dataset A.

t.support type=strds input=tempmean_monthly title="Monthly temperature for North Carolina" \
          description="Dataset with monthly temperature for North Carolina"

Update the metadata of space time raster dataset A and check for removed map layers.

t.support -m type=strds input=tempmean_monthly

SEE ALSO

t.create, t.info

AUTHOR

Sören Gebbert, Thünen Institute of Climate-Smart Agriculture

SOURCE CODE

Available at: t.support source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f