Maximum number of parameters

2 messages Options
Embed this post
Permalink
Ned Horning-2

Maximum number of parameters

Reply Threaded More More options
Print post
Permalink
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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
Hermann Peifer

Re: Maximum number of parameters

Reply Threaded More More options
Print post
Permalink
Try ${10}, ${11},... instead of $10, $11, ...

Hermann

-------- Original Message  --------
Subject: Maximum number of parameters
From: Ned Horning <[hidden email]>
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
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/grass-user
>

_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user