[GRASS-user] Best format for exporting raster data
Rainer M Krug
r.m.krug at gmail.com
Wed Sep 1 04:15:17 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 31/08/10 16:56, Sylvain Maillard wrote:
> Perhaps can you add an extra loop in your scripts for processing your data:
> 1 - extract the tarball
> 2 - import the raster in R
> 3 - and then delete the temporary uncompressed mapset.
Yes - that would be the "crude force" approach. In my case, it would
very likely take more time, as there are MANY more layers in the .tar.gz
then I use.
I am now thinking about extracting all files with "fire" in them and to
use this subset as a mapset - I will see if it works.
It would be nice, if grass would be able to deal with on-the-fly
decompression - not from a .tar.gz file, but from gz compressed files.
> it will take a little bit more space but just for one mapset at a time,
> and I don't thing the process will be much slower than to access the
> files directly into the compressed tarball ...
> you can also buy more hard drive :D
> if you make some benchmark test between different solution I will be
> interreted in the results, I'm also working on a huge amound of raster
> data within GRASS and R ...
I'll do - although I don't think I will do benchmarks at that time.
> Sylvain Maillard
> Doctorant en Sciences de l'Environnement
> Laboratoire Chimie Provence - UMR 6264 / Université de Provence
> la Tour du Valat - Centre de recherche pour la conservation des zones
> humides méditerranéennes
> Le Sambuc
> 13200 Arles
> www.tourduvalat.org <http://www.tourduvalat.org>
> 2010/8/31 Rainer M Krug <r.m.krug at gmail.com <mailto:r.m.krug at gmail.com>>
> On 31/08/10 16:38, Markus Neteler wrote:
>> On Tue, Aug 31, 2010 at 4:13 PM, Rainer M Krug <r.m.krug at gmail.com
> <mailto:r.m.krug at gmail.com>> wrote:
>>>> I would leave it in GRASS and use the R-GRASS interface and/or the
>>>> GDAL-GRASS plugin. See the Wiki for details.
>>> I am doing that already - but I don't think that works when I
> have the
>>> grass mapset compressed as a .tar.gz?
>> I found "archivemount" which apparently lets you
>> mount a possibly compressed tarball as a filesystem:
> Sounds interesting - I'll look into that.
grass-user mailing list
grass-user at lists.osgeo.org <mailto:grass-user at lists.osgeo.org>
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Main Campus, Merriman Avenue
Tel: +33 - (0)9 53 10 27 44
Cell: +27 - (0)8 39 47 90 42
Fax (SA): +27 - (0)8 65 16 27 82
Fax (D) : +49 - (0)3 21 21 25 22 44
Fax (FR): +33 - (0)9 58 10 27 44
email: Rainer at krugs.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the grass-user