[GRASS-SVN] r31795 - in grass-addons/raster/r.rast4d: . bin

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 22 02:28:23 EDT 2008


Author: neteler
Date: 2008-06-22 02:28:22 -0400 (Sun, 22 Jun 2008)
New Revision: 31795

Modified:
   grass-addons/raster/r.rast4d/QuickStart.txt
   grass-addons/raster/r.rast4d/TODO
   grass-addons/raster/r.rast4d/bin/tg.update
Log:
vtime_end issue done

Modified: grass-addons/raster/r.rast4d/QuickStart.txt
===================================================================
--- grass-addons/raster/r.rast4d/QuickStart.txt	2008-06-22 03:24:11 UTC (rev 31794)
+++ grass-addons/raster/r.rast4d/QuickStart.txt	2008-06-22 06:28:22 UTC (rev 31795)
@@ -37,7 +37,7 @@
 Then (we assume a wildcard for raster names):
 
  for i in `g.mlist type=rast pat="rastname*"` ; do
-   tg.update $i
+   tg.update $i [vtime_end=+30 minutes]
  done
 
 ###########################################

Modified: grass-addons/raster/r.rast4d/TODO
===================================================================
--- grass-addons/raster/r.rast4d/TODO	2008-06-22 03:24:11 UTC (rev 31794)
+++ grass-addons/raster/r.rast4d/TODO	2008-06-22 06:28:22 UTC (rev 31795)
@@ -1,20 +1,10 @@
 The following modules must be implemented:
  tg.copy -- to copy raster table entries + time + metadata
  tg.rename -- rename existing raster table entries + metadata + time
- t.info -- infos about temproal raster maps
+ t.info -- infos about temporal raster maps
  t.create -- to create temporal raster maps
  t.register -- register raster maps in the temporal datatypeas (temporal raster map)
  t.unregister -- unregister raster maps from temporal datatypes (temporal raster map)
 
 See also: lib/TODO
 
-FIXME
- VTIME_END: make controllable by user
-
-    lib/insert_raster.sh
-    ...
-    VTIME_START=$GLOBAL_DATE_VAR
-    VTIME_END="DATETIME('$VTIME_START', '+10 years')"
-
-    -> als Parameter in tg.update einbauen.
-

Modified: grass-addons/raster/r.rast4d/bin/tg.update
===================================================================
--- grass-addons/raster/r.rast4d/bin/tg.update	2008-06-22 03:24:11 UTC (rev 31794)
+++ grass-addons/raster/r.rast4d/bin/tg.update	2008-06-22 06:28:22 UTC (rev 31795)
@@ -23,9 +23,9 @@
 #% multiple: no
 #%END
 #%option
-#% key: end_time
+#% key: vtime_end
 #% type: string
-#% description: end time of raster map (start time is taken from raster map timestamp)
+#% description: End validity time of raster map (start time is taken from raster map timestamp)
 #% answer: +10 years
 #% required : no
 #% multiple: no



More information about the grass-commit mailing list