[GRASS-SVN] r71034 - grass-addons/grass7/raster/r.modis/r.modis.import

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 5 14:09:59 PDT 2017


Author: veroandreo
Date: 2017-05-05 14:09:59 -0700 (Fri, 05 May 2017)
New Revision: 71034

Modified:
   grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.html
   grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.py
Log:
r.modis.import addon: description and manual fixes

Modified: grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.html
===================================================================
--- grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.html	2017-05-05 13:46:51 UTC (rev 71033)
+++ grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.html	2017-05-05 21:09:59 UTC (rev 71034)
@@ -77,8 +77,9 @@
 </pre></div>
 
 <p>
-Import of a single subset of layers (i.e.: spectral="( 1 )") from each file from a
-list and write an  <em>outfile</em> to be used in <em>t.register</em> to create a temporal
+Import of a single subset of layers (i.e.: spectral="( 1 )") from each file of a
+list and write an <em>outfile</em> to be used with <em>t.register</em> to assign
+timestamps to maps in the temporal database and register them in a spacetime 
 dataset. This option uses GDAL:
 
 <div class="code"><pre>
@@ -100,7 +101,8 @@
 # create empty temporal DB
 t.create type=strds temporaltype=absolute output=ndvi_16_5600m title="Global NDVI 16 days MOD13C1" \
   description="MOD13C1 Global NDVI 16 days" semantictype=mean
-# register datasets (tempfile name is provided by r.modis.import -w with outfile
+# register maps within spacetime datasets (the file name is provided by
+# r.modis.import using -w flag and outfile option)
 t.register input=ndvi_16_5600m file=$USER/data/ndvi_MOD13C1.006/list_for_tregister.csv
 
 # verify and visualize timeline
@@ -141,7 +143,7 @@
 done
 </pre></div>
 
-Create the time series (i.e.: temporal database) and register maps:
+Create the time series (i.e.: spacetime dataset) and register maps in it:
 
 <div class="code"><pre>
 t.create type=strds temporaltype=absolute output=LST_Day_daily \
@@ -161,7 +163,7 @@
 
 <p>
 It is also possible to create a time series using the list of maps with start and
-end time written by <em>r.modis.import</em> with the <em>w</em> flag.
+end time written by <em>r.modis.import</em> with the <em>w</em> flag and outfile option.
 
 <div class="code"><pre>
 # Import mosaics of LST Day for all dates using the list of downloaded files from 

Modified: grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.py
===================================================================
--- grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.py	2017-05-05 13:46:51 UTC (rev 71033)
+++ grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.py	2017-05-05 21:09:59 UTC (rev 71034)
@@ -42,7 +42,7 @@
 #%end
 #%flag
 #% key: w
-#% description: Create a text file to use for import into t.register
+#% description: Create a text file to use with t.register
 #%end
 #%flag
 #% key: l
@@ -87,7 +87,7 @@
 #%end
 #%option G_OPT_F_OUTPUT
 #% key: outfile
-#% description: Full path to output file to use for import into t.register
+#% description: Full path to output file to use with t.register
 #% required: no
 #%end
 



More information about the grass-commit mailing list