[GRASS-SVN] r66259 - grass/trunk/temporal/t.rast.list
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 18 05:53:24 PDT 2015
Author: neteler
Date: 2015-09-18 05:53:24 -0700 (Fri, 18 Sep 2015)
New Revision: 66259
Modified:
grass/trunk/temporal/t.rast.list/t.rast.list.html
Log:
t.rast.list manual: where example added; HTML cosmetics
Modified: grass/trunk/temporal/t.rast.list/t.rast.list.html
===================================================================
--- grass/trunk/temporal/t.rast.list/t.rast.list.html 2015-09-18 12:06:39 UTC (rev 66258)
+++ grass/trunk/temporal/t.rast.list/t.rast.list.html 2015-09-18 12:53:24 UTC (rev 66259)
@@ -24,7 +24,7 @@
The output column separator can be specified with the <b>separator</b>
option.
-<h2>EXAMPLE</h2>
+<h2>EXAMPLES</h2>
This example shows several options that are available for map layers listing.
@@ -32,6 +32,7 @@
The following command is the default one, returning standard information
like name, mapset, start_time, end_time of each map in the space time dataset
+<p>
<div class="code"><pre>
t.rast.list tempmean_monthly
@@ -46,6 +47,7 @@
<h3>Add more info</h3>
The following command let the user to choose the columns to show
+<p>
<div class="code"><pre>
t.rast.list tempmean_monthly columns=name,start_time,min,max
@@ -57,10 +59,11 @@
2009_02_tempmean|2009-02-01 00:00:00|-1.820261|8.006386
</pre></div>
-<h3>Filtering the result</h3>
+<h3>Filtering the result by value</h3>
In this example the result is filtered showing only the maps with max
value major than 24
+<p>
<div class="code"><pre>
t.rast.list tempmean_monthly columns=name,start_time,min,max where="max > 24"
@@ -74,11 +77,31 @@
2012_08_tempmean|2012-08-01 00:00:00|15.718526|26.151115
</pre></div>
+<h3>Filtering the result by time range</h3>
+
+In this example the result is filtered showing only the maps which
+fall into a specified time range
+<p>
+
+<div class="code"><pre>
+t.rast.list tempmean_monthly columns=name,start_time,min,max \
+ where="start_time > '2009-06-01 00:00:00' and start_time < '2012-08-01 00:00:00'"
+name|start_time|min|max
+2009_06_tempmean|2009-06-01 00:00:00|15.962669|25.819681
+2009_07_tempmean|2009-07-01 00:00:00|15.32852|26.103664
+2009_08_tempmean|2009-08-01 00:00:00|16.37995|27.293282
+....
+2012_06_tempmean|2012-06-01 00:00:00|14.929379|24.000651
+2012_07_tempmean|2012-07-01 00:00:00|18.455802|28.794653
+2012_08_tempmean|2012-08-01 00:00:00|15.718526|26.151115
+</pre></div>
+
<h3>Using method option</h3>
Method option is able to show raster in different way. By default <em>cols</em>
value is used, the value <em>comma</em> will print only the list of maps
-inside the space time dataset
+inside the space time dataset:
+<p>
<div class="code"><pre>
t.rast.list method=comma input=tempmean_monthly
@@ -101,7 +124,8 @@
</pre></div>
The <em>delta</em> value calculate the interval between maps and the
-distance from the first map.
+distance from the first map:
+<p>
<div class="code"><pre>
t.rast.list method=delta input=tempmean_monthly
@@ -118,6 +142,7 @@
The <em>gran</em> value it is used to return data sampled by a user
defined granule. As default the granularity of the space time raster
dataset is used for sampling.
+<p>
<div class="code"><pre>
t.rast.list method=gran input=tempmean_monthly
@@ -132,6 +157,7 @@
2012_11_tempmean at climate_2009_2012|2012_11_tempmean|climate_2009_2012|2012-11-01 00:00:00|2012-12-01 00:00:00|30.0|1400.0
2012_12_tempmean at climate_2009_2012|2012_12_tempmean|climate_2009_2012|2012-12-01 00:00:00|2013-01-01 00:00:00|31.0|1430.0
</pre></div>
+<p>
<div class="code"><pre>
t.rast.list method=gran input=tempmean_monthly gran="2 months"
More information about the grass-commit
mailing list