Hi Vishal,
On Wed, Feb 23, 2022 at 8:22 PM Vishal Mehta <[email protected]> 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.000000
> 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 <module>
> 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
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user