[GRASS-user] Error with pansharpening

Vishal Mehta vishalm1975 at gmail.com
Thu Feb 24 13:36:07 PST 2022


HI Markus, all,

I installed Grass 8.0.0 and tried the pansharpening step. ALthough there
are no errors, the resulting pansharpened rasters all have zero values.

I basically followed the steps here
https://courses.neteler.org/processing-landsat8-data-in-grass-gis-7/#Unpacking_the_downloaded_Landsat_8_dataset

and here:
https://courses.neteler.org/processing-landsat-8-data-in-grass-gis-7-rgb-composites-and-pan-sharpening/

Essentially, after downloading the Landsat 8 OLI scene:
1. Copy blue, green and red channels rasters so that the GRASS module for
converting to reflectance can work
2. Convert DN to reflectance
3. i.enhance.colors
4. pansharpen with Landsat band 8
This last step is where I haven't yet succeeded. Note that i did not
convert the DN to reflectance for band 8. Could that be the problem? Note
also that i was using older Grass versions for step 2 and 3.

This is the Grass version i'm trying now:
---
g.version -reg

version=8.0.0
date=2022
revision=65675c832
build_date=2022-02-09
build_platform=x86_64-w64-mingw32
build_off_t_size=8
libgis_revision=65675c832
libgis_date=2022-01-28T08:52:15+00:00
proj=8.2.1
gdal=3.4.1
geos=3.10.2
sqlite=3.37.2
---

Thanks!
Vishal

On Wed, Feb 23, 2022 at 12:20 PM Vishal Mehta <vishalm1975 at gmail.com> wrote:

> 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 <neteler at osgeo.org> wrote:
>
>> Hi Vishal,
>>
>> On Wed, Feb 23, 2022 at 9:04 PM Vishal Mehta <vishalm1975 at gmail.com>
>> 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
>


-- 
Vishal K. Mehta, PhD
Sr. Scientist
Stockholm Environment Institute - US
133 D St Suite F
Davis CA 95616
www.sei-us.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20220224/7b3a9f48/attachment.html>


More information about the grass-user mailing list