[GRASS5] site time stamp

Markus Neteler neteler at itc.it
Fri Sep 28 08:04:02 EDT 2001


Helena,

On Thu, Sep 27, 2001 at 08:03:55PM -0500, Helena wrote:
> >
> 
> I am testing the support for spatio-temporal data and I have found that
> the time stamp in the site file header is ignored by s.surf.rst and s.info
> - I checked the code and I don't see a bug there so it appears that the
> problem is in G_site_get_head or I am not using the right format. I could
> not find a description of the site format and its header on the official
> GRASS website so I am using my notes which may be obsolete (Markus I know
> that it is in the prog. manual but I cannot read it at the moment).
> According to that, header with time stamp looks like this:
> 
> name|test.time
> desc|Testing time stamp survey data from NRCS for Ft.Hood subwatershed
> timestamp|15 Jan 1998
 ^^^^^^^^^^

It seems that G_site_get_head() is looking for "time", not "timestamp".
(src/libes/gis/sites.c)

That's it. Where shall this be documented? 

s.info test  

NDIM=2, RTYPE = 0, NSTR=0, NDEC=1
Total sites read: 30
Total sites outside region: 0
test read.
----------------------------------------------------------

SITES FILENAME: test
--------------

Header Information:
------------------
        name          d010619.site
        labels        east north no1 no2
        time          19 Jun 2001
 
Number of DIMENSIONS:         2

Cheers

 Markus



More information about the grass-dev mailing list