I am writing a script that calibrates a 6-band image using slope and intercept values but am having a problem reading these values from the command line. In total the script expects 14 parameters to be entered at the command line but is seems as if only 9 are accepted. Is that a limitation of GRASS? I only tested this using the Windows version. Are there alternatives for inputing more than 9 parameters for a script other than directly adding the slope and aspect parameters into the script?
Ned
Try ${10}, ${11},... instead of $10, $11, ...
Hermann
-------- Original Message --------
Subject: Maximum number of parameters
From: Ned Horning <horning@amnh.org>
To: Date: 09/10/2009 18:41
I am writing a script that calibrates a 6-band image using slope and intercept values but am having a problem reading these values from the command line. In total the script expects 14 parameters to be entered at the command line but is seems as if only 9 are accepted. Is that a limitation of GRASS? I only tested this using the Windows version. Are there alternatives for inputing more than 9 parameters for a script other than directly adding the slope and aspect parameters into the script?
Ned
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user