[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-----
Hash: SHA1
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.
Cheers,
Rainer
> 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.
Cheers,
Rainer
>
> regards,
> 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
> France
> tél:04.90.97.29.79
> fax:04.90.97.20.19
> 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:
>
>> http://en.wikipedia.org/wiki/Archivemount
>> http://www.linux.com/archive/feature/132196
>
> Sounds interesting - I'll look into that.
>
> Thanks,
>
> Rainer
>
>
>> Cheers
>> Markus
>
>
_______________________________________________
grass-user mailing list
grass-user at lists.osgeo.org <mailto:grass-user at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/grass-user
- --
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
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa
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
Skype: RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkx+C5QACgkQoYgNqgF2egoSOwCeLJPZ4WGaem4o8k+lvDpT5QiG
l4gAnRe9trZfFaD+STl7yByUXA3IYiXS
=+YiD
-----END PGP SIGNATURE-----
More information about the grass-user
mailing list