table of contents
other versions
- jessie 6.4.4-1
- stretch 7.2.0-2
- testing 7.6.0-1
- unstable 7.6.0-1
- experimental 7.6.1-1~exp1
r.timestamp(1grass) | Grass User's Manual | r.timestamp(1grass) |
NAME¶
r.timestamp - Modifies a timestamp for a raster map.KEYWORDS¶
raster, metadata, timestampSYNOPSIS¶
r.timestampParameters:¶
- map=name
-
- date=timestamp
-
DESCRIPTION¶
This command has 2 modes of operation. If no date argument is supplied, then the current timestamp for the raster map is printed. If a date argument is specified, then the timestamp for the raster map is set to the specified date(s). See examples below.NOTES¶
Strings containing spaces should be quoted. For specifying a range of time, the two timestamps should be separated by a forward slash. To remove the timestamp from a raster map, use date=none.TIMESTAMP FORMAT¶
The timestamp values must use the format as described in the GRASS Datetime Library. The source tree for this library should have a description of the format. For convience, the formats are reproduced here: There are two types of datetime values: absolute and relative. Absolute values specify exact dates and/or times. Relative values specify a span of time.Absolute¶
The general format for absolute values is:day month year [bc] hour:minute:seconds timezone
Relative¶
There are two types of relative datetime values, year-month and day-second. The formats are:EXAMPLES¶
Prints the timestamp for the "soils" raster map. If there is no timestamp for "soils", nothing is printed. If there is a timestamp, one or two time strings are printed, depending on if the timestamp for the map consists of a single date or two dates (ie start and end dates).r.timestamp map=soils
r.timestamp map=soils date='15 sep 1987'
r.timestamp map=soils date='15 sep 1987/20 feb 1988'
r.timestamp map=soils date=none
BUGS¶
Spaces in the timestamp value are required.SEE ALSO¶
r.infoAUTHOR¶
Michael Shapiro, U.S.Army Construction Engineering Research Laboratory Last changed: $Date: 2012-01-28 21:54:52 +0100 (Sat, 28 Jan 2012) $ Full index © 2003-2014 GRASS Development TeamGRASS 6.4.4 |