Re: [GRASS-user] i.histo.match
Hi Markus, thanks for your reply and sorry for my late reply. Yes indeed I have used the GRASS GIS 8 on the docker format (at Yale Cluster) and the i.histo.match works fine. Thanks for pointing that out!!! Keep in touch Giuseppe On Tue, 27 Sept 2022 at 15:54, Markus Neteler wrote: > Hi Giuseppe, > > Giuseppe Amatulli schrieb am Di., 27. Sep. > 2022, 15:38: > >> Dear Grass team >> I'm trying to use the add on i.histo.match in grass 7.8.2 but something >> is not going well. >> >> GRASS 7.8.2 (tmploc):/tmp > i.histo.match >> input=570-00-023296.1,570-00-023296.1 >> output=mosaic max=4000 --overwrite --verbose >> WARNING: Bug in UI description. Missing module description >> > > I assume that you compiled GRASS GIS yourself? > > This error usually indicates that a clean recompilation is needed, with > > make distclean > > as the first step. > > > >> The warning also appears during the i.histo.match installation. >> > > So, first a clean GRASS compilation, then add-ons on top. > > Hope this helps, > Markus > > PS: GRASS GIS 8 is highly recommended! > > ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] i.histo.match
Hi Giuseppe, Giuseppe Amatulli schrieb am Di., 27. Sep. 2022, 15:38: > Dear Grass team > I'm trying to use the add on i.histo.match in grass 7.8.2 but something is > not going well. > > GRASS 7.8.2 (tmploc):/tmp > i.histo.match > input=570-00-023296.1,570-00-023296.1 > output=mosaic max=4000 --overwrite --verbose > WARNING: Bug in UI description. Missing module description > I assume that you compiled GRASS GIS yourself? This error usually indicates that a clean recompilation is needed, with make distclean as the first step. > The warning also appears during the i.histo.match installation. > So, first a clean GRASS compilation, then add-ons on top. Hope this helps, Markus PS: GRASS GIS 8 is highly recommended! ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] i.histo.match
Dear Grass team I'm trying to use the add on i.histo.match in grass 7.8.2 but something is not going well. GRASS 7.8.2 (tmploc):/tmp > i.histo.match input=570-00-023296.1,570-00-023296.1 output=mosaic max=4000 --overwrite --verbose WARNING: Bug in UI description. Missing module description Usage: i.histo.match [--help] [--verbose] [--quiet] [--ui] ERROR: i.histo.match: Sorry, is not a valid parameter ERROR: i.histo.match: Sorry, is not a valid parameter ERROR: i.histo.match: Sorry, is not a valid parameter The warning also appears during the i.histo.match installation. Seams that the full command options are not accepted. Could please suggest the best solution for the problem? Thanks Giuseppe ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] i.histo.match with floating rasters
Hi, after a forced stop I can finally to restart to work on landsat elaborations. :) I have three image (from landsat) that are floating raster. I need to normalized their histograms. To do this, I see this command in the addons. http://grass.osgeo.org/grass70/manuals/addons/i.histo.match.html I understand that need to recompile the grass to have this command, but before do this i like to understand better if the i.histo-match is ok for my need. Is it capable to work with a floating raster. my dubt is that it is working only with rgb rasters. Many thx, A. -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] i.histo.match error
Thank you Ana and Nikos, The version I have was instaled yesterday again and the error subsisted. I found the log of the last change (http://trac.osgeo.org/grass/changeset/54833) and manually edited my "i.histo.match.py", changing "fs" for "separator". All is working now but I have no idea how or why grass instaled an old version :) Best regards luis -Mensagem original- De: Anna Kratochvílová [mailto:kratocha...@gmail.com] Enviada: quarta-feira, 6 de Março de 2013 19:57 Para: Luís Mário Ribeiro Cc: Nikos Alexandris; GRASS user list Assunto: Re: [GRASS-user] i.histo.match error On Wed, Mar 6, 2013 at 11:16 AM, Luís Mário Ribeiro wrote: > Hello list, > > Changed the names of 2 files to not have any "." and rerun > histo.match. A different error showed. > I copy below the output window contents. It refers to an error in " r.stats" > (ERROR: Sorry, is not a valid parameter) It seems that you need a newer version of i.histo.match, this was fixed couple of weeks ago [1]. Regards, Anna [1] http://trac.osgeo.org/grass/changeset/54833/grass-addons/grass7/imagery/i.hi sto.match/i.histo.match.py > Does anyone know what I'm doing wrong? > > _ > (Wed Mar 06 10:12:17 2013) > > i.histo.match --overwrite > input=2030312007052_3@histomatch,2030322007052_3@histomatch max=1000 > Description: > Generates area statistics for raster map layers. > Keywords: > raster, statistics > Usage: > r.stats [-1AacplgxrnNCi] input=name[,name,...] [output=name] >[separator=character] [nv=string] [nsteps=value] [--overwrite] >[--verbose] [--quiet] > Flags: > -1 One cell (range) per line > -A Print averaged values instead of intervals > -a Print area totals > -c Print cell counts > -p Print APPROXIMATE percents (total percent may not be > 100%) > -l Print category labels > -g Print grid coordinates (east and north) > -x Print x and y (column and row) > -r Print raw indexes of fp ranges (fp maps only) > -n Suppress reporting of any NULLs > -N Suppress reporting of NULLs when all values are NULL > -C Report for cats fp ranges (fp maps only) > -i Read fp map as integer (use map's quant rules) > --o Allow output files to overwrite existing files > --v Verbose module output > --q Quiet module output > Parameters: > input Name of input raster map(s) > output Name for output file (if omitted or "-" output > to stdout) > separator Field separator >Special characters: newline, space, comma, tab > default: space > nv String representing no data cell value > default: * > nsteps Number of fp subranges to collect stats from > default: 255 > ERROR: Sorry, is not a valid parameter > Description: > Generates area statistics for raster map layers. > Keywords: > raster, statistics > Usage: > r.stats [-1AacplgxrnNCi] input=name[,name,...] [output=name] >[separator=character] [nv=string] [nsteps=value] [--overwrite] >[--verbose] [--quiet] > Flags: > -1 One cell (range) per line > -A Print averaged values instead of intervals > -a Print area totals > -c Print cell counts > -p Print APPROXIMATE percents (total percent may not be > 100%) > -l Print category labels > -g Print grid coordinates (east and north) > -x Print x and y (column and row) > -r Print raw indexes of fp ranges (fp maps only) > -n Suppress reporting of any NULLs > -N Suppress reporting of NULLs when all values are NULL > -C Report for cats fp ranges (fp maps only) > -i Read fp map as integer (use map's quant rules) > --o Allow output files to overwrite existing files > --v Verbose module output > --q Quiet module output > Parameters: > input Name of input raster map(s) > output Name for output file (if omitted or "-" output > to stdout) > separator Field separator >Special characters: newline, space, comma, tab > default: space > nv String representing no data cell value > default: * > nsteps Number of fp subranges to collect stats from > default: 255 > ERROR: Sorry, is not a valid parameter (Wed Mar 06 10:12:25 2013) > Command finished (8 sec) > > _ > > > > > -Mensagem original- > De: grass-user-boun...@lists.osgeo.org > [mailto:grass-user-boun...@lists.osgeo.org] Em nome de Luís Mário > Ribeiro > Enviada: quarta-feira, 6 de Março de 2013 09:30 > Para: 'Nikos Alexandris' > Cc: grass-us
Re: [GRASS-user] i.histo.match error
On Wed, Mar 6, 2013 at 11:16 AM, Luís Mário Ribeiro wrote: > Hello list, > > Changed the names of 2 files to not have any "." and rerun histo.match. A > different error showed. > I copy below the output window contents. It refers to an error in " r.stats" > (ERROR: Sorry, is not a valid parameter) It seems that you need a newer version of i.histo.match, this was fixed couple of weeks ago [1]. Regards, Anna [1] http://trac.osgeo.org/grass/changeset/54833/grass-addons/grass7/imagery/i.histo.match/i.histo.match.py > Does anyone know what I'm doing wrong? > > _ > (Wed Mar 06 10:12:17 2013) > > i.histo.match --overwrite > input=2030312007052_3@histomatch,2030322007052_3@histomatch max=1000 > Description: > Generates area statistics for raster map layers. > Keywords: > raster, statistics > Usage: > r.stats [-1AacplgxrnNCi] input=name[,name,...] > [output=name] >[separator=character] [nv=string] [nsteps=value] > [--overwrite] >[--verbose] [--quiet] > Flags: > -1 One cell (range) per line > -A Print averaged values instead of intervals > -a Print area totals > -c Print cell counts > -p Print APPROXIMATE percents (total percent may not be > 100%) > -l Print category labels > -g Print grid coordinates (east and north) > -x Print x and y (column and row) > -r Print raw indexes of fp ranges (fp maps only) > -n Suppress reporting of any NULLs > -N Suppress reporting of NULLs when all values are NULL > -C Report for cats fp ranges (fp maps only) > -i Read fp map as integer (use map's quant rules) > --o Allow output files to overwrite existing files > --v Verbose module output > --q Quiet module output > Parameters: > input Name of input raster map(s) > output Name for output file (if omitted or "-" output > to stdout) > separator Field separator >Special characters: newline, space, comma, > tab > default: space > nv String representing no data cell value > default: * > nsteps Number of fp subranges to collect stats from > default: 255 > ERROR: Sorry, is not a valid parameter > Description: > Generates area statistics for raster map layers. > Keywords: > raster, statistics > Usage: > r.stats [-1AacplgxrnNCi] input=name[,name,...] > [output=name] >[separator=character] [nv=string] [nsteps=value] > [--overwrite] >[--verbose] [--quiet] > Flags: > -1 One cell (range) per line > -A Print averaged values instead of intervals > -a Print area totals > -c Print cell counts > -p Print APPROXIMATE percents (total percent may not be > 100%) > -l Print category labels > -g Print grid coordinates (east and north) > -x Print x and y (column and row) > -r Print raw indexes of fp ranges (fp maps only) > -n Suppress reporting of any NULLs > -N Suppress reporting of NULLs when all values are NULL > -C Report for cats fp ranges (fp maps only) > -i Read fp map as integer (use map's quant rules) > --o Allow output files to overwrite existing files > --v Verbose module output > --q Quiet module output > Parameters: > input Name of input raster map(s) > output Name for output file (if omitted or "-" output > to stdout) > separator Field separator >Special characters: newline, space, comma, > tab > default: space > nv String representing no data cell value > default: * > nsteps Number of fp subranges to collect stats from > default: 255 > ERROR: Sorry, is not a valid parameter > (Wed Mar 06 10:12:25 2013) Command finished (8 sec) > > _ > > > > > -Mensagem original- > De: grass-user-boun...@lists.osgeo.org > [mailto:grass-user-boun...@lists.osgeo.org] Em nome de Luís Mário Ribeiro > Enviada: quarta-feira, 6 de Março de 2013 09:30 > Para: 'Nikos Alexandris' > Cc: grass-user@lists.osgeo.org > Assunto: Re: [GRASS-user] i.histo.match error > > [>]Good morning and thanks... Will try changing the "." (which was added by > Grass when performing i.topo.corr). > Best regards, luis > > > > > Luís Mário Ribeiro wrote: > .. >> Been using histo.match thru the GUI. The command that appears in the >> output window is (in this example just 3 images): > >> i.histo.match >> > input=normalized.LT52030312007052MPS00_tr_reflec3_int@histomatch,normalized. >> LT52030312007052MPS00_tr_reflec4_int@histomatch,normalized.LT520303120 >> 07180 M P
Re: [GRASS-user] i.histo.match error
Hello list, Changed the names of 2 files to not have any "." and rerun histo.match. A different error showed. I copy below the output window contents. It refers to an error in " r.stats" (ERROR: Sorry, is not a valid parameter) Does anyone know what I'm doing wrong? _ (Wed Mar 06 10:12:17 2013) i.histo.match --overwrite input=2030312007052_3@histomatch,2030322007052_3@histomatch max=1000 Description: Generates area statistics for raster map layers. Keywords: raster, statistics Usage: r.stats [-1AacplgxrnNCi] input=name[,name,...] [output=name] [separator=character] [nv=string] [nsteps=value] [--overwrite] [--verbose] [--quiet] Flags: -1 One cell (range) per line -A Print averaged values instead of intervals -a Print area totals -c Print cell counts -p Print APPROXIMATE percents (total percent may not be 100%) -l Print category labels -g Print grid coordinates (east and north) -x Print x and y (column and row) -r Print raw indexes of fp ranges (fp maps only) -n Suppress reporting of any NULLs -N Suppress reporting of NULLs when all values are NULL -C Report for cats fp ranges (fp maps only) -i Read fp map as integer (use map's quant rules) --o Allow output files to overwrite existing files --v Verbose module output --q Quiet module output Parameters: input Name of input raster map(s) output Name for output file (if omitted or "-" output to stdout) separator Field separator Special characters: newline, space, comma, tab default: space nv String representing no data cell value default: * nsteps Number of fp subranges to collect stats from default: 255 ERROR: Sorry, is not a valid parameter Description: Generates area statistics for raster map layers. Keywords: raster, statistics Usage: r.stats [-1AacplgxrnNCi] input=name[,name,...] [output=name] [separator=character] [nv=string] [nsteps=value] [--overwrite] [--verbose] [--quiet] Flags: -1 One cell (range) per line -A Print averaged values instead of intervals -a Print area totals -c Print cell counts -p Print APPROXIMATE percents (total percent may not be 100%) -l Print category labels -g Print grid coordinates (east and north) -x Print x and y (column and row) -r Print raw indexes of fp ranges (fp maps only) -n Suppress reporting of any NULLs -N Suppress reporting of NULLs when all values are NULL -C Report for cats fp ranges (fp maps only) -i Read fp map as integer (use map's quant rules) --o Allow output files to overwrite existing files --v Verbose module output --q Quiet module output Parameters: input Name of input raster map(s) output Name for output file (if omitted or "-" output to stdout) separator Field separator Special characters: newline, space, comma, tab default: space nv String representing no data cell value default: * nsteps Number of fp subranges to collect stats from default: 255 ERROR: Sorry, is not a valid parameter (Wed Mar 06 10:12:25 2013) Command finished (8 sec) _ -Mensagem original- De: grass-user-boun...@lists.osgeo.org [mailto:grass-user-boun...@lists.osgeo.org] Em nome de Luís Mário Ribeiro Enviada: quarta-feira, 6 de Março de 2013 09:30 Para: 'Nikos Alexandris' Cc: grass-user@lists.osgeo.org Assunto: Re: [GRASS-user] i.histo.match error [>]Good morning and thanks... Will try changing the "." (which was added by Grass when performing i.topo.corr). Best regards, luis Luís Mário Ribeiro wrote: .. > Been using histo.match thru the GUI. The command that appears in the > output window is (in this example just 3 images): > i.histo.match > input=normalized.LT52030312007052MPS00_tr_reflec3_int@histomatch,normalized. > LT52030312007052MPS00_tr_reflec4_int@histomatch,normalized.LT520303120 > 07180 M PS00_tr_reflec3_int@histomatch max=1000 .. I guess (not sure though) it is the same error once pointed to me by Luca Delucchi: the "." in the input raster map names is not allowed :-(. You need to rename them... Maybe a quick test first to be sure. Shrink your region and test. Be sure you have beforehand a MASK or else which you use to set the computational region. Or, export your current working region in a vector map? (<-- v.in.region). Hope it works, Nikos ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] i.histo.match error
[>]Good morning and thanks... Will try changing the "." (which was added by Grass when performing i.topo.corr). Best regards, luis Luís Mário Ribeiro wrote: .. > Been using histo.match thru the GUI. The command that appears in the > output window is (in this example just 3 images): > i.histo.match > input=normalized.LT52030312007052MPS00_tr_reflec3_int@histomatch,normalized. > LT52030312007052MPS00_tr_reflec4_int@histomatch,normalized.LT520303120 > 07180 M PS00_tr_reflec3_int@histomatch max=1000 .. I guess (not sure though) it is the same error once pointed to me by Luca Delucchi: the "." in the input raster map names is not allowed :-(. You need to rename them... Maybe a quick test first to be sure. Shrink your region and test. Be sure you have beforehand a MASK or else which you use to set the computational region. Or, export your current working region in a vector map? (<-- v.in.region). Hope it works, Nikos ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] i.histo.match error
Luís Mário Ribeiro wrote: .. > Been using histo.match thru the GUI. The command that appears in the output > window is (in this example just 3 images): > i.histo.match > input=normalized.LT52030312007052MPS00_tr_reflec3_int@histomatch,normalized. > LT52030312007052MPS00_tr_reflec4_int@histomatch,normalized.LT52030312007180 > M PS00_tr_reflec3_int@histomatch max=1000 .. I guess (not sure though) it is the same error once pointed to me by Luca Delucchi: the "." in the input raster map names is not allowed :-(. You need to rename them... Maybe a quick test first to be sure. Shrink your region and test. Be sure you have beforehand a MASK or else which you use to set the computational region. Or, export your current working region in a vector map? (<-- v.in.region). Hope it works, Nikos ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] i.histo.match error
Hi Nikos, all Been using histo.match thru the GUI. The command that appears in the output window is (in this example just 3 images): i.histo.match input=normalized.LT52030312007052MPS00_tr_reflec3_int@histomatch,normalized. LT52030312007052MPS00_tr_reflec4_int@histomatch,normalized.LT52030312007180M PS00_tr_reflec3_int@histomatch max=1000 best regards luis -Mensagem original- De: grass-user-boun...@lists.osgeo.org [mailto:grass-user-boun...@lists.osgeo.org] Em nome de Nikos Alexandris Enviada: terça-feira, 5 de Março de 2013 17:09 Para: grass-user@lists.osgeo.org Assunto: Re: [GRASS-user] i.histo.match error Luís Mário Ribeiro wrote: > Hello all, Hi! > Been trying to run i.histo.match but keep getting this error: > Traceback (most recent call last): > File "i.histo.match.py", line 223, in > sys.exit(main()) > File "i.histo.match.py", line 89, in main > curs.execute(query_create) > sqlite3.OperationalError: unknown database tnormalized .. > (grass7-win7 64b) Would you mind posting the exact command you are trying to execute? Thanks, Nikos ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] i.histo.match error
Luís Mário Ribeiro wrote: > Hello all, Hi! > Been trying to run i.histo.match but keep getting this error: > Traceback (most recent call last): > File "i.histo.match.py", line 223, in > sys.exit(main()) > File "i.histo.match.py", line 89, in main > curs.execute(query_create) > sqlite3.OperationalError: unknown database tnormalized .. > (grass7-win7 64b) Would you mind posting the exact command you are trying to execute? Thanks, Nikos ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] i.histo.match error
Hello all, Been trying to run i.histo.match but keep getting this error: Traceback (most recent call last): File "i.histo.match.py", line 223, in sys.exit(main()) File "i.histo.match.py", line 89, in main curs.execute(query_create) sqlite3.OperationalError: unknown database tnormalized All help is appreciated... (grass7-win7 64b) luis ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user