[GRASS-SVN] r66524 - grass/trunk/temporal/t.register

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 18 07:05:26 PDT 2015


Author: huhabla
Date: 2015-10-18 07:05:26 -0700 (Sun, 18 Oct 2015)
New Revision: 66524

Modified:
   grass/trunk/temporal/t.register/t.register.html
   grass/trunk/temporal/t.register/t.register.py
Log:
temporal modules: t.register documentation update about increment and -i flag


Modified: grass/trunk/temporal/t.register/t.register.html
===================================================================
--- grass/trunk/temporal/t.register/t.register.html	2015-10-18 09:39:41 UTC (rev 66523)
+++ grass/trunk/temporal/t.register/t.register.html	2015-10-18 14:05:26 UTC (rev 66524)
@@ -25,12 +25,22 @@
 list of maps at once. Maps can be registered in several space time
 datasets using the same timestamp.
 <p>
+    The <i>increment</i> option and the <i>-i</i> flag (to create time intervals)
+    work only in conjunction with the <i>start</i> option.
+    If an input file with time stamps is used, then the <i>increment</i> option
+    and the <i>-i</i> flag are not supported.
+</p>
+<p>
 Start time and end time with absolute time must be provided using the
 format <b>yyyy-mm-dd HH:MM:SS +HHMM</b>. It is supported to specify
 only the date <b>yyyy-mm-dd</b>. In case of relative time the temporal
 unit (years, months, days, hours, minutes or seconds) must be provided.
 The relative start time, end time and the increment are integers.
+<p>
 
+
+</p>
+
 <h2>NOTES</h2>
 
 The timestamps of registered maps will be stored in the temporal
@@ -46,32 +56,31 @@
 The input file consists of a list of map names, optionally along with time stamps.
 Each map name is to be stored in a row in this file.
 <p>
-There are several options to register maps:
+There are several options to register maps, <i>increment</i> option and the <i>-i</i> flag are supported:
 <p>
 Specification of map names:
 <div class="code"><pre>
-prec_1
-prec_2
-prec_3
-prec_4
-prec_5
-prec_6
+terra_lst_day20020113
+terra_lst_day20020114
+terra_lst_day20020115
+terra_lst_day20020116
+terra_lst_day20020117
 </pre></div>
 
 <p>
-Specification of map names and the absolute start time (date) of the
-time instances:
+Specification of map names and the absolute start time (date) of the time instances,
+not support for <i>increment</i> option and the <i>-i</i> flag:
 <div class="code"><pre>
-prec_1|2001-01-01
-prec_2|2001-02-01
-prec_3|2001-03-01
-prec_4|2001-04-01
-prec_5|2001-05-01
-prec_6|2001-06-01
+terra_lst_day20020113|2002-01-13
+terra_lst_day20020114|2002-01-14
+terra_lst_day20020115|2002-01-15
+terra_lst_day20020116|2002-01-16
+terra_lst_day20020117|2002-01-17
 </pre></div>
 
 <p>
-Specification of map names and the absolute time stamp (datetime):
+Specification of map names and the absolute time stamp (datetime),
+not support for <i>increment</i> option and the <i>-i</i> flag:
 <div class="code"><pre>
 terra_lst_day20020113|2002-01-13 10:30
 terra_lst_day20020114|2002-01-14 10:30
@@ -81,7 +90,8 @@
 </pre></div>
 
 <p>
-Specification of the map name and the absolute time interval with start
+Specification of the map name and the absolute time interval with start,
+not support for <i>increment</i> option and the <i>-i</i> flag:
 and end time:
 <div class="code"><pre>
 prec_1|2001-01-01|2001-04-01

Modified: grass/trunk/temporal/t.register/t.register.py
===================================================================
--- grass/trunk/temporal/t.register/t.register.py	2015-10-18 09:39:41 UTC (rev 66523)
+++ grass/trunk/temporal/t.register/t.register.py	2015-10-18 14:05:26 UTC (rev 66524)
@@ -80,7 +80,7 @@
 #%option
 #% key: increment
 #% type: string
-#% label: Time increment
+#% label: Time increment, works only in conjunction with start option
 #% description: Time increment between maps for valid time interval creation (format absolute: NNN seconds, minutes, hours, days, weeks, months, years; format relative is integer: 5)
 #% required: no
 #% multiple: no
@@ -94,7 +94,7 @@
 
 #%flag
 #% key: i
-#% description: Create an interval (start and end time) in case an increment is provided
+#% description: Create an interval (start and end time) in case an increment and the start time are provided
 #% guisection: Time & Date
 #%end
 



More information about the grass-commit mailing list