[GRASS-user] help with temporal modules
Veronica Andreo
veroandreo at gmail.com
Sun Mar 2 05:11:56 PST 2014
Hi Soren!
Worked like a charm when creating a new location from scratch!
Thank you very much!
Vero
2014-03-01 19:06 GMT+01:00 Sören Gebbert <soerengebbert at googlemail.com>:
> Dear Veronica,
> it seems that the temporal database in the location that you use has
> been created with an older version of grass7. I have modified grass7
> in the last months to increase performance and reliability of the
> temporal framework and therefore changed the database format. The new
> API is not backward compatible.
>
> Can you please create a fresh location from scratch with the latest
> grass7 svn version? In case you want to use the same location, then
> please make a backup of the existing temporal database (in case you
> have already data registered), by simple renaming it:
>
> mv /home/veroandreo/grassdata//ll_wgs84/PERMANENT/tgis/sqlite.db \
> /home/veroandreo/grassdata//ll_wgs84/PERMANENT/tgis/sqlite.db.backup
>
> A new temporal database with the same name will be created, when you
> invoke any temporal command. You can access any data in the old
> database using a sqlite client application, or open office. You will
> need to install the grass7 svn version from August 2013, to use the
> old temporal database within grass7.
>
> Best regards
> Soeren
>
> 2014-02-28 21:07 GMT+05:30 Veronica Andreo <veroandreo at gmail.com>:
> > Dear grass-users,
> >
> > HI! This is my first time writing to the list. I'm really interested in
> > using the temporal modules for some spatio-temporal analysis of MODIS
> Cl-a
> > mapped L3 product, but i can't even run the example in t.create manual
> page
> > [0]. I'm using GRASS 7 (r59147, re-compiled yesterday) under Fedora 19.
> >
> > I'd like to know which are the steps I should follow to start working
> with
> > these modules??? Do I need to install some extra package or library???
> > Here's what I've tried and the messages I got:
> >
> > GRASS 7.0.svn (ll_wgs84):~ > t.connect -d
> > Default driver / database set to:
> > driver: sqlite
> > database: /home/veroandreo/grassdata//ll_wgs84/PERMANENT/tgis/sqlite.db
> >
> > GRASS 7.0.svn (ll_wgs84):~ > t.connect -p
> > driver:sqlite
> > database:/home/veroandreo/grassdata//ll_wgs84/PERMANENT/tgis/sqlite.db
> >
> > GRASS 7.0.svn (ll_wgs84):~ > MAPS="map_1 map_2 map_3 map_4 map_5 map_6
> > map_7"
> > GRASS 7.0.svn (ll_wgs84):~ > for map in ${MAPS} ; do
> >> r.mapcalc --o expr="${map} = rand(0, 10)"
> >> echo ${map} >> map_list.txt
> >> done
> >
> > .... it creates the maps, of course, but then...
> >
> > GRASS 7.0.svn (ll_wgs84):~ > t.create type=strds temporaltype=absolute
> > output=precipitation_daily title="Daily precipitation" description="Test
> > dataset with daily precipitation"
> > ERROR: Unable to receiving temporal database metadata.
> > Current temporal database info:
> > DBMI interface:..... sqlite3
> > Temporal database:..
> > /home/veroandreo/grassdata//ll_wgs84/PERMANENT/tgis/sqlite.db
> >
> > GRASS 7.0.svn (ll_wgs84):~ > t.register -i type=rast
> > input=precipitation_daily file=map_list.txt start=2012-08-20 increment="1
> > days"
> > ERROR: Unable to receiving temporal database metadata.
> > Current temporal database info:
> > DBMI interface:..... sqlite3
> > Temporal database:..
> > /home/veroandreo/grassdata//ll_wgs84/PERMANENT/tgis/sqlite.db
> >
> > GRASS 7.0.svn (ll_wgs84):~ > t.info type=strds input=precipitation_daily
> > ERROR: Unable to receiving temporal database metadata.
> > Current temporal database info:
> > DBMI interface:..... sqlite3
> > Temporal database:..
> > /home/veroandreo/grassdata//ll_wgs84/PERMANENT/tgis/sqlite.db
> >
> > I've noticed there are 2 slashes in
> > "/home/veroandreo/grassdata//ll_wgs84/PERMANENT/tgis/sqlite.db" --> tried
> > changing that by defining it with t.connect, but when i run the example
> > gain, I got the same messages as before...
> >
> > What am I doing wrong? or what am I lacking here??? Would you please help
> > me???
> >
> > THANKS A LOT IN ADVANCE!
> > And sorry for making (surely) a very silly question :P
> >
> > Vero
> >
> > [0] http://grass.osgeo.org/grass70/manuals/keywords.html
> >
> >
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140302/7d46a61f/attachment.html>
More information about the grass-user
mailing list