[GRASS-SVN] r64314 - grass-addons/grass7/raster/r.hants

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 25 05:38:26 PST 2015


Author: neteler
Date: 2015-01-25 05:38:26 -0800 (Sun, 25 Jan 2015)
New Revision: 64314

Modified:
   grass-addons/grass7/raster/r.hants/r.hants.html
Log:
r.hants Addon manual: added how to use t.* modules to check for basic statistics (author: Veronica Andreo)

Modified: grass-addons/grass7/raster/r.hants/r.hants.html
===================================================================
--- grass-addons/grass7/raster/r.hants/r.hants.html	2015-01-25 13:05:15 UTC (rev 64313)
+++ grass-addons/grass7/raster/r.hants/r.hants.html	2015-01-25 13:38:26 UTC (rev 64314)
@@ -80,7 +80,8 @@
 
 <h2>EXAMPLE</h2>
 
-This small example is based on a climate dataset for North Carolina which
+<h3>Precipitation data example</h3>
+This small example is based on a climatic dataset for North Carolina which
 was from publicly available data (monthly temperature averages and monthly
 precipitation sums from 2000 to 2012, downloadable as
 <a href="http://courses.ncsu.edu/mea592/common/media/02/nc_climate_spm_2000_2012.zip">GRASS GIS 7 location</a>):
@@ -163,6 +164,27 @@
 # Resulting CSV file: 'time_series_final.csv'
 </pre></div>
 
+<h3>Using t.* modules to check for basic statistics</h3>
+
+The temporal framework (t.* modules) can be used to assess basic statistics:
+
+<div class="code"><pre>
+# create spatio temporal data set with hants output maps
+t.create type=strds temporaltype=absolute  output=tempmean_hants \
+  title="Mean Temperature HANTS" description="Mean Temperature reconstructed with HANTS"
+
+# register maps in the strds
+t.register -i type=raster input=tempmean_hants \
+  maps=`g.list raster pattern=*tempmean_hants sep=,` start="2000-01-01" \
+  increment="1 months"
+
+# getting general info of the strds (including max and min of the whole series)
+t.info type=strds input=tempmean_hants
+
+# getting statistics for each map in the series
+t.rast.univar -h tempmean_hants > stats_hants.txt
+</pre></div>
+
 <h2>SEE ALSO</h2>
 
 <em><a href="r.series.html">r.series</a></em>



More information about the grass-commit mailing list