[GRASS-user] Raster stack with more than 3 rasters
Markus Neteler
neteler at osgeo.org
Sun Apr 4 11:38:49 EDT 2010
On Sun, Apr 4, 2010 at 4:39 PM, joel dinis <dinis.joel at gmail.com> wrote:
> Hello to all,
>
> I'm currently working
> multi-temporal LISS imagery
> and I intent to make a raster stack
> with 10 raster files to test a method.
> With GRASS, I know that is possible to make a
> stack with 3 rasters, but it's possible
> to do it with more than 3?
Joel,
you can use r.series for that:
http://grass.osgeo.org/grass64/manuals/html64_user/r.series.html
or also r.mapcalc:
http://grass.osgeo.org/grass64/manuals/html64_user/r.mapcalc.html
The limit is the limit of the operating system.
For example, both the hard and soft limits are typically 1024.
The soft limit can be changed with e.g. "ulimit -n 1500" but
not higher than the hard limit. If it is too low, you can as
superuser add an entry in
/etc/security/limits.conf
% #<domain> <type> <item> <value>
% neteler hard nofile 1500
This would raise the hard limit to 1500 file. Be warned that
more files open need more RAM.
I used this to open the 1460 daily MODIS LST maps of one
year in one step in r.series.
Markus
More information about the grass-user
mailing list