EnglishFrenchSpanish

OnWorks favicon

t.rast.extractgrass - Online in the Cloud

Run t.rast.extractgrass in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command t.rast.extractgrass that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


t.rast.extract - Extracts a subset of a space time raster datasets.

KEYWORDS


temporal, extract, raster, time

SYNOPSIS


t.rast.extract
t.rast.extract --help
t.rast.extract [-n] input=name [where=sql_query] [expression=string] output=name
[basename=string] [nprocs=integer] [--overwrite] [--help] [--verbose] [--quiet]
[--ui]

Flags:
-n
Register Null maps

--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’

expression=string
r.mapcalc expression assigned to all extracted raster maps

output=name [required]
Name of the output space time raster dataset

basename=string
Basename of the new generated output maps
A numerical suffix separated by an underscore will be attached to create a unique
identifier

nprocs=integer
Number of r.mapcalc processes to run in parallel
Default: 1

DESCRIPTION


The purpose of t.rast.extract is to extract a subset of a space time raster dataset and to
store that subset in a different space time raster dataset. The where condition is used to
select the subset. In addition a r.mapcalc sub-expression can be specified that performs
operations on all maps of the selected subset. In this expression the name of the input
space time raster dataset can be used as simple map name. Other STRDS than the input STRDS
can not be specified, but any raster map. In case a r.mapcalc sub-expression is defined,
the base name of the resulting raster maps must be specified. The r.mapcalc expression can
be used to select maps as well, since by default resulting empty maps are not registered
in the output space time raster dataset and removed after processing. The number of
parallel GRASS GIS processes can be specified to speed up the processing.

If no r.mapcalc expression is defined, the selected maps are simply registered in the new
created output space time raster dataset to avoid data duplication.

NOTES


The r.mapcalc sub-expression should not contain the left side "map =" of a full r.mapcalc
expression, only the right side, eg.:
t.rast.extract input=tempmean_monthly where="start_time > ’2010-01-05’" \
output=selected_tempmean_monthly basename=new_tmean_month \
expression="if(tempmean_monthly < 0, null(), tempmean_monthly)"

EXAMPLE


t.rast.extract input=tempmean_monthly output=tempmean_monthly_later_2012 \
where="start_time >= ’2012-01-01’"
t.rast.list tempmean_monthly_later_2012
name|mapset|start_time|end_time
2012_01_tempmean|climate_2000_2012|2012-01-01 00:00:00|2012-02-01 00:00:00
2012_02_tempmean|climate_2000_2012|2012-02-01 00:00:00|2012-03-01 00:00:00
2012_03_tempmean|climate_2000_2012|2012-03-01 00:00:00|2012-04-01 00:00:00
2012_04_tempmean|climate_2000_2012|2012-04-01 00:00:00|2012-05-01 00:00:00
2012_05_tempmean|climate_2000_2012|2012-05-01 00:00:00|2012-06-01 00:00:00
2012_06_tempmean|climate_2000_2012|2012-06-01 00:00:00|2012-07-01 00:00:00
2012_07_tempmean|climate_2000_2012|2012-07-01 00:00:00|2012-08-01 00:00:00
2012_08_tempmean|climate_2000_2012|2012-08-01 00:00:00|2012-09-01 00:00:00
2012_09_tempmean|climate_2000_2012|2012-09-01 00:00:00|2012-10-01 00:00:00
2012_10_tempmean|climate_2000_2012|2012-10-01 00:00:00|2012-11-01 00:00:00
2012_11_tempmean|climate_2000_2012|2012-11-01 00:00:00|2012-12-01 00:00:00
2012_12_tempmean|climate_2000_2012|2012-12-01 00:00:00|2013-01-01 00:00:00

Use t.rast.extractgrass online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

Ad