Hi Eric, for me it works (with code from paste bin). GUI shows and
neighbor_size is in the Optional tab.
Another suggestions about options: If the description is long, you
can use label which will be shown in the gui and description will
become a tooltip. There is usually no need to write default
Thanks for the suggestions. I figured out the problem -- somehow an older
version of my code was getting built and I wasn't following all the steps
correctly on the grass and python wiki. The GUI works now, but my code
logic still needs some work.
Eric
On Feb 28, 2013 3:03 AM, Vaclav Petras
Hi all,
This is my first foray into grass scripting. I'm working on a GRASS 7
python module to create a local relief model from a lidar derived
surface. The code works, but for some reason in the auto generated gui
for the tool, the field to enter a neighborhood size to use for the
low pass
2013/2/27 Eric Goddard egoddard1...@gmail.com:
Hi all,
Hi Eric,
Thanks,
Eric
#%module
#% description: Creates a Local Relief Model from input raster.
#% keywords: lrm
#% keywords: lidar
#% overwrite: yes
#%end
#%option G_OPT_R_INPUT
#% key:input_map
#% description: Select
Thanks for the response, Luca. I've made the change to the output
option, but the neighbor_size option still isn't appearing in the gui.
The descriptions will become more verbose once the code and everything
is working; what is in the script now is just the bare minimum for it
to run. and generate