浏览代码

temporal modules: t.register documentation update about increment and -i flag (trunk, https://trac.osgeo.org/grass/changeset/66524 + https://trac.osgeo.org/grass/changeset/66525)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@66531 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 年之前
父节点
当前提交
e29551c6b4
共有 2 个文件被更改,包括 25 次插入19 次删除
  1. 23 17
      temporal/t.register/t.register.html
  2. 2 2
      temporal/t.register/t.register.py

+ 23 - 17
temporal/t.register/t.register.html

@@ -25,6 +25,11 @@ increment are mutual exclusive. The user can register single maps or a
 list of maps at once. Maps can be registered in several space time
 list of maps at once. Maps can be registered in several space time
 datasets using the same timestamp.
 datasets using the same timestamp.
 <p>
 <p>
+The <em>increment</em> option and the <b>-i</b> flag (to create time intervals)
+work only in conjunction with the <b>start</b> option.
+If an input file with time stamps is used, then the <em>increment</em> option
+and the <b>-i</b> flag are not supported.
+<p>
 Start time and end time with absolute time must be provided using the
 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
 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
 only the date <b>yyyy-mm-dd</b>. In case of relative time the temporal
@@ -46,32 +51,32 @@ database.
 The input file consists of a list of map names, optionally along with time stamps.
 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.
 Each map name is to be stored in a row in this file.
 <p>
 <p>
-There are several options to register maps:
+There are several options to register maps, <em>increment</em> option and
+the <b>-i</b> flag are supported:
 <p>
 <p>
 Specification of map names:
 Specification of map names:
 <div class="code"><pre>
 <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>
 </pre></div>
 
 
 <p>
 <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 <em>increment</em> option and the <b>-i</b> flag:
 <div class="code"><pre>
 <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>
 </pre></div>
 
 
 <p>
 <p>
-Specification of map names and the absolute time stamp (datetime):
+Specification of map names and the absolute time stamp (datetime),
+not support for <em>increment</em> option and the <b>-i</b> flag:
 <div class="code"><pre>
 <div class="code"><pre>
 terra_lst_day20020113|2002-01-13 10:30
 terra_lst_day20020113|2002-01-13 10:30
 terra_lst_day20020114|2002-01-14 10:30
 terra_lst_day20020114|2002-01-14 10:30
@@ -81,7 +86,8 @@ terra_lst_day20020117|2002-01-17 10:30
 </pre></div>
 </pre></div>
 
 
 <p>
 <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 <em>increment</em> option and the <b>-i</b> flag:
 and end time:
 and end time:
 <div class="code"><pre>
 <div class="code"><pre>
 prec_1|2001-01-01|2001-04-01
 prec_1|2001-01-01|2001-04-01

+ 2 - 2
temporal/t.register/t.register.py

@@ -80,7 +80,7 @@
 #%option
 #%option
 #% key: increment
 #% key: increment
 #% type: string
 #% 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)
 #% 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
 #% required: no
 #% multiple: no
 #% multiple: no
@@ -94,7 +94,7 @@
 
 
 #%flag
 #%flag
 #% key: i
 #% 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
 #% guisection: Time & Date
 #%end
 #%end