[GRASS-user] Raster stack with more than 3 rasters

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?

Thanks
JD

On Sun, Apr 4, 2010 at 4:39 PM, joel dinis <dinis.joel@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

2010/4/4 Markus Neteler <neteler@osgeo.org>:

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

now mentioned in the manual (r41714).

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

On Sun, Apr 4, 2010 at 4:39 PM, joel dinis <dinis.joel@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?

On Sun, 2010-04-04 at 17:38 +0200, Markus Neteler wrote:

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.

That is GREAT!

Thank you,
Nikos