Re: [GRASS-user] Error with pansharpening

2022-02-23 Thread Vishal Mehta
Thanks Markus,
I'll just do a fresh install of Grass 8 and try it out,
Best,
Vishal

On Wed, Feb 23, 2022 at 12:14 PM Markus Neteler  wrote:

> Hi Vishal,
>
> On Wed, Feb 23, 2022 at 9:04 PM Vishal Mehta 
> wrote:
> >
> > Thanks Markus,
> >
> > It's 7.8.2
> > g.version -rge
> > version=7.8.2
> > date=2019
>
> .. your installation is a few years old - please consider updating to
> 7.8.6 or even 8.0.x.
>
> > I did see your email recently about 7.8.7..
> > I could just try version 8?
>
> Sure, that would be best.
>
> BTW: For the QGIS integration of GRASS GIS 8.0:
> QGIS has been updated in master (QGIS 3.24) and everything backported
> to QGIS 3.22 LTR.
>
> Cheers,
> Markus
>


-- 
Vishal K. Mehta, PhD
Sr. Scientist
Stockholm Environment Institute - US
133 D St Suite F
Davis CA 95616
www.sei-us.org
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Error with pansharpening

2022-02-23 Thread Markus Neteler
Hi Vishal,

On Wed, Feb 23, 2022 at 9:04 PM Vishal Mehta  wrote:
>
> Thanks Markus,
>
> It's 7.8.2
> g.version -rge
> version=7.8.2
> date=2019

.. your installation is a few years old - please consider updating to
7.8.6 or even 8.0.x.

> I did see your email recently about 7.8.7..
> I could just try version 8?

Sure, that would be best.

BTW: For the QGIS integration of GRASS GIS 8.0:
QGIS has been updated in master (QGIS 3.24) and everything backported
to QGIS 3.22 LTR.

Cheers,
Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Need support with v.neighborhoodmatrix addon in GRASS

2022-02-23 Thread Mohajane Meriame
Thank you very much for your support  Moritz Lennert,
I successfully added *v.neighborhoodmatrix *addon in GRASS 8.0 manually ,
but the plugin is not appearing in the list of extensions in GRASS software.
Regards.
Meriame





Le mer. 23 févr. 2022 à 18:58, Moritz Lennert 
a écrit :

> Hi Mohajane,
>
> Le 23 février 2022 16:44:21 GMT+01:00, Mohajane Meriame <
> mohajane.meriam...@gmail.com> a écrit :
> >I am new to GRASS software.
> >I successfully added v.neighborhoodmatrix addon in GRASS 8.0 manually ,
> but
> >I couldn't use it.
>
> Could you explain what you mean by that ? What did you do and what exactly
> went wrong?
>
> Moritz
>
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Error with pansharpening

2022-02-23 Thread Vishal Mehta
Thanks Markus,

It's 7.8.2
g.version -rge

version=7.8.2
date=2019
revision=3900fb114
build_date=2019-12-11
build_platform=x86_64-w64-mingw32
build_off_t_size=8
libgis_revision=0
libgis_date="?"
proj=6.2.1
gdal=3.0.2
geos=3.8.0
sqlite=3.29.0

I did see your email recently about 7.8.7..
I could just try version 8?

-V



[image: image.png]

On Wed, Feb 23, 2022 at 11:56 AM Markus Neteler  wrote:

> Hi Vishal,
>
> On Wed, Feb 23, 2022 at 8:22 PM Vishal Mehta 
> wrote:
> >
> > Hi all,
> >
> > I'm using GRASS 7.8 on WIndows 10, and trying out some of the Landsat
> routines.
>
> Which version do you precisely use?
>
> g.version -rge
>
> Is it 7.8.6 or older?
>
> Markus
>
> PS: Just a few minutes ago I released 7.8.7 :-)
>https://github.com/OSGeo/grass/releases/tag/7.8.7
>   (Windows and other binaries aren't ready yet)
>
> >
> > I'm getting an error on pan sharpening, at the very end of the
> processing: and i see some temp files have been created. is there a way to
> fix this? Thanks, Vishal
> > ---
> > Wed Feb 23 11:14:22 2022)
> > i.pansharpen red=Refl_3@PERMANENT green=Refl_2@PERMANENT
> blue=Refl_1@PERMANENT
> pan=LC08_L1TP_044033_20180225_20180308_01_T1_B8@PERMANENT
> output=brovey_pansharpen method=brovey bitdepth=8
> > Using 8bit image channels
> > Performing pan sharpening with hi res pan image: 15.00
> > Pan channel/intensity histogram matching using linear regression
> > Histogram matching...
> > Traceback (most recent call last):
> >   File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
> > pansharpen.py", line 632, in 
> > main()
> >   File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
> > pansharpen.py", line 257, in main
> > brovey(pan, ms1, ms2, ms3, out, pid, sproc)
> >   File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
> > pansharpen.py", line 315, in brovey
> > panmatch1 = matchhist(pan, ms1, outname)
> >   File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
> > pansharpen.py", line 552, in matchhist
> > stats = stats_out.communicate()[0].split('\n')[:-1]
> > TypeError: a bytes-like object is required, not 'str'
> > (Wed Feb 23 11:14:31 2022) Command finished (9 sec)
> ...
>


-- 
Vishal K. Mehta, PhD
Sr. Scientist
Stockholm Environment Institute - US
133 D St Suite F
Davis CA 95616
www.sei-us.org
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Error with pansharpening

2022-02-23 Thread Markus Neteler
Hi Vishal,

On Wed, Feb 23, 2022 at 8:22 PM Vishal Mehta  wrote:
>
> Hi all,
>
> I'm using GRASS 7.8 on WIndows 10, and trying out some of the Landsat 
> routines.

Which version do you precisely use?

g.version -rge

Is it 7.8.6 or older?

Markus

PS: Just a few minutes ago I released 7.8.7 :-)
   https://github.com/OSGeo/grass/releases/tag/7.8.7
  (Windows and other binaries aren't ready yet)

>
> I'm getting an error on pan sharpening, at the very end of the processing: 
> and i see some temp files have been created. is there a way to fix this? 
> Thanks, Vishal
> ---
> Wed Feb 23 11:14:22 2022)
> i.pansharpen red=Refl_3@PERMANENT green=Refl_2@PERMANENT 
> blue=Refl_1@PERMANENT 
> pan=LC08_L1TP_044033_20180225_20180308_01_T1_B8@PERMANENT 
> output=brovey_pansharpen method=brovey bitdepth=8
> Using 8bit image channels
> Performing pan sharpening with hi res pan image: 15.00
> Pan channel/intensity histogram matching using linear regression
> Histogram matching...
> Traceback (most recent call last):
>   File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
> pansharpen.py", line 632, in 
> main()
>   File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
> pansharpen.py", line 257, in main
> brovey(pan, ms1, ms2, ms3, out, pid, sproc)
>   File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
> pansharpen.py", line 315, in brovey
> panmatch1 = matchhist(pan, ms1, outname)
>   File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
> pansharpen.py", line 552, in matchhist
> stats = stats_out.communicate()[0].split('\n')[:-1]
> TypeError: a bytes-like object is required, not 'str'
> (Wed Feb 23 11:14:31 2022) Command finished (9 sec)
...
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Error with pansharpening

2022-02-23 Thread Vishal Mehta
Hi all,

I'm using GRASS 7.8 on WIndows 10, and trying out some of the Landsat
routines.

I'm getting an error on pan sharpening, at the very end of the processing:
and i see some temp files have been created. is there a way to fix this?
Thanks, Vishal
---
Wed Feb 23 11:14:22 2022)

i.pansharpen red=Refl_3@PERMANENT green=Refl_2@PERMANENT
blue=Refl_1@PERMANENT
pan=LC08_L1TP_044033_20180225_20180308_01_T1_B8@PERMANENT
output=brovey_pansharpen method=brovey bitdepth=8
Using 8bit image channels
Performing pan sharpening with hi res pan image: 15.00
Pan channel/intensity histogram matching using linear regression
Histogram matching...
Traceback (most recent call last):
  File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
pansharpen.py", line 632, in 
main()
  File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
pansharpen.py", line 257, in main
brovey(pan, ms1, ms2, ms3, out, pid, sproc)
  File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
pansharpen.py", line 315, in brovey
panmatch1 = matchhist(pan, ms1, outname)
  File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
pansharpen.py", line 552, in matchhist
stats = stats_out.communicate()[0].split('\n')[:-1]
TypeError: a bytes-like object is required, not 'str'
(Wed Feb 23 11:14:31 2022) Command finished (9 sec)

---
(Wed Feb 23 11:15:33 2022)

i.pansharpen red=Refl_3@PERMANENT green=Refl_2@PERMANENT
blue=Refl_1@PERMANENT
pan=LC08_L1TP_044033_20180225_20180308_01_T1_B8@PERMANENT
output=ihs_pansharpen bitdepth=8
Using 8bit image channels
Performing pan sharpening with hi res pan image: 15.00
Transforming to IHS color space...
Histogram matching...
Traceback (most recent call last):
  File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
pansharpen.py", line 632, in 
main()
  File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
pansharpen.py", line 259, in main
ihs(pan, ms1, ms2, ms3, out, pid, sproc)
  File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
pansharpen.py", line 380, in ihs
panmatch = matchhist(pan, target, outname)
  File "C:\PROGRA~1\QGIS3~1.10\apps\grass\grass78/scripts/i.
pansharpen.py", line 552, in matchhist
stats = stats_out.communicate()[0].split('\n')[:-1]
TypeError: a bytes-like object is required, not 'str'
(Wed Feb 23 11:16:06 2022) Command finished (33 sec)



-- 
Vishal K. Mehta, PhD
Sr. Scientist
Stockholm Environment Institute - US
133 D St Suite F
Davis CA 95616
www.sei-us.org
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Need support with v.neighborhoodmatrix addon in GRASS

2022-02-23 Thread Moritz Lennert
Hi Mohajane,

Le 23 février 2022 16:44:21 GMT+01:00, Mohajane Meriame 
 a écrit :
>I am new to GRASS software.
>I successfully added v.neighborhoodmatrix addon in GRASS 8.0 manually , but
>I couldn't use it.

Could you explain what you mean by that ? What did you do and what exactly went 
wrong?

Moritz 
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] GRASS GIS 7.8.7 released

2022-02-23 Thread Markus Neteler
*GRASS GIS 7.8.7 released*

This is an update release of the GRASS GIS 7.8 series.

Download source code tarball at

   - https://grass.osgeo.org/grass78/source/grass-7.8.7.tar.gz
   - https://grass.osgeo.org/grass78/source/grass-7.8.7.md5sum

For further release details (bug fixes and enhancements), see

   - https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures78

The GRASS GIS 7.8.7 release provides more than 40 fixes and improvements
 with respect to the
release 7.8.6.
What's Changed

Modules:

   - g.extension.all: fix reinstall multi-addons by @tmszi
    in #2082
   
   - g.extension: disable checking multi-addon addons metadata by @tmszi
    in #2090
   
   - g.extension: fix get get_addons_paths func json_file attribute by
   @tmszi  in #2094
   
   - g.extension: fix link generation in multi-addon man page for addons by
   @tmszi  in #2097
   
   - i.spectral: show error message if one of the supported monitor isn't
   running by @tmszi  in #1991
   
   - i.vi: fix PVI formula by @pesekon2  in
   #1985 
   - r.sun: Fix metadata update on parallel computation by @aaronsms
    in #1514
   
   - tgis db version mismatch: promote t.downgrade by @landam
    in #2002
   

wxGUI:

   - wxGUI: font size Python 3.10 fix by @petrasovaa
    in #2036
   
   - wxGUI: no is_shell_running available by @neteler
    in #2056
   
   - wxGUI: fix unexpected type float error with Python 3.10 by @petrasovaa
    in #2030
   
   - wxGUI/gui_core: fix change opacity level dialog min/max size by @tmszi
    in #2067
   
   - wxGUI: more Python 3.10 fixes by @neteler 
   in #2050 
   - wxGUI/preferences.py: fix loading default user settings by @tmszi
    in #2041
   
   - wxGUI/splashscreen: use standard one, try to show it before main app,
   increase timeout by @petrasovaa  in #1718
   
   - wxGUI/xml/toolboxes.xml: add missing 'r.fill.stats' module item inside
   'InterpolateSurfaces' toolbox by @tmszi  in
   #1977 
   - remove .setpdfwrite option on MS Windows by @ninsbl
    in #1962
   

Translations

   - i18n: Update for release branch 7.8 by @HuidaeCho
    in #2104
   

Unit tests/CI:

   - grass.gunittest: Use collections.abc for Iterable (#2006
   ) by @wenzeslaus
    in #2008
   
   - CI: Remove Ubuntu 16.04 from GH Actions for 7.8 branch by @wenzeslaus
    in #2009
   
   - grass.gunittest: Use collections.abc for Iterable by @wenzeslaus
    in #2008
   

GRASS GIS addons management:

   - tools/mkhtml.py: fix module/official addons source code and history
   URL branch by @tmszi  in #2038
   
   - tools/mkhtml.py: replace f-string with format() function to maintain
   compatibility with Python 3.5/2.7 version by @tmszi
    in #2077
   
   - tools/mkhtml.py: fix git cherry-pick commit cba6a7a
   

   by @tmszi  in #2110
   

Portability:

   - Fix linker flags on FreeBSD by @neteler 
   in #1936 
   - winGRASS: GRASS-Installer.nsi.tmpl to change form BU Execute to
   S-1-5-32-545 Generic User Read and Generic User Execute by @hellik
    in #2068
   
   - OSGe

[GRASS-user] Need support with v.neighborhoodmatrix addon in GRASS

2022-02-23 Thread Mohajane Meriame
Hi
I am new to GRASS software.
I successfully added v.neighborhoodmatrix addon in GRASS 8.0 manually , but
I couldn't use it.
https://grass.osgeo.org/.../addons/v.neighborhoodmatrix.html

Could you please help me with@.
Your help will be greatly appreciated , thank you.
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Need support with v.neighborhoodmatrix addon in GRASS

2022-02-23 Thread Mohajane Meriame
I am new to GRASS software.
I successfully added v.neighborhoodmatrix addon in GRASS 8.0 manually , but
I couldn't use it.
https://grass.osgeo.org/.../addons/v.neighborhoodmatrix.html

Please, is there someone who can help me with@.
Your help will be greatly appreciated , thank you.
 Best Regards
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user