1r3.timestamp(1)               Grass User's Manual              r3.timestamp(1)
2
3
4

NAME

6       r3.timestamp  - print/add/remove a timestamp for a 3D raster map
7

KEYWORDS

9       raster3d, voxel
10

SYNOPSIS

12       r3.timestamp
13       r3.timestamp help
14       r3.timestamp map=string  [date=timestamp]
15
16   Parameters:
17       map=string
18           input grid3 filename
19
20       date=timestamp
21           datetime, datetime1/datetime2, or none
22

DESCRIPTION

24       This command has 2 modes of operation. If no date argument is supplied,
25       then the current timestamp for the grid3d map is  printed.  If  a  date
26       argument  is specified, then the timestamp for the grid3d map is set to
27       the specified date(s).  See EXAMPLES below.
28

EXAMPLES

30       r3.timestamp map=soils
31       Prints the timestamp for the "soils" grid3d map. If there is  no  time‐
32       stamp  for  soils,  nothing is printed. If there is a timestamp, one or
33       two lines are printed, depending on if the timestamp for the  map  con‐
34       sists of a single date or two dates (ie start and end dates).
35
36            r3.timestamp map=soils date='15 sep 1987'
37       Sets the timestamp for "soils" to the single date
38       "15 sep 1987"
39
40            r3.timestamp map=soils date='15 sep 1987/20 feb 1988'
41       Sets the timestamp for "soils" to have the start date
42       "15 sep 1987" and the end date "20 feb 1988"
43
44            r3.timestamp  map=soils  date='18  feb  2005  10:30:00/20 jul 2007
45       20:30:00'
46       Sets the timestamp for "soils" to have the start date
47       "18 aug 2005 10:30:00" and the end date "20 jul 2007 20:30:00"
48
49            r3.timestamp map=soils date=none
50       Removes the timestamp for the "soils" grid3d map
51

TIMESTAMP FORMAT

53       The timestamp values must use the format  as  described  in  the  GRASS
54       datetime  library.   The  source  tree  for  this library should have a
55       description of the format. For convience, the formats as of  Feb,  1996
56       are reproduced here:
57
58       There are two types of datetime values: absolute and relative. Absolute
59       values specify exact dates and/or times.   Relative  values  specify  a
60       span of time. Some examples will help clarify:
61
62         Absolute
63
64       The general format for absolute values is
65
66       day month year [bc] hour:minute:seconds timezone
67
68       day is 1-31
69       month is jan,feb,...,dec
70       year is 4 digit year
71       [bc] if present, indicates dates is BC
72       hour is 0-23 (24 hour clock)
73       mintue is 0-59
74       second is 0-59.9999 (fractions of second allowed)
75       timezone is +hhmm or -hhmm (eg, -0600)
76
77       parts can be missing
78
79       1994 [bc]
80       Jan 1994 [bc]
81       15 jan 1000 [bc]
82       15 jan 1994 [bc] 10 [+0000]
83       15 jan 1994 [bc] 10:00 [+0100]
84       15 jan 1994 [bc] 10:00:23.34 [-0500]
85
86        Relative  There are two types of relative datetime values, year- month
87       and day-second.     The formats are:
88
89       [-] # years # months
90       [-] # days # hours # minutes # seconds
91
92       The words years, months, days,  hours,  minutes,  seconds  are  literal
93       words, and the # are the numeric values.
94       Examples:
95
96       2 years
97       5 months
98       2 years 5 months
99       100 days
100       15 hours 25 minutes 35.34 seconds
101       100 days 25 minutes
102       1000 hours 35.34 seconds
103
104       The  following  are  illegal because it mixes year-month and day-second
105       (because the number of days in a month or in a year vary):
106
107       3 months 15 days
108       3 years 10 days
109

BUGS

111       Spaces in the timestamp value are required.
112

AUTHOR

114       Michael Pelizzari
115       Lockheed Martin Space Systems
116       based on r.timestamp by Michael Shapiro,
117       U.S.Army Construction Engineering Research Laboratory
118
119       Last changed: $Date: 2005/08/23 12:11:00 $
120
121       Full index
122
123
124
125GRASS 6.2.2                                                    r3.timestamp(1)
Impressum