>that's the reason of g.extension failing
>
>downloading the zip-file (see link above) and copying the files into the 
>corresponding folders in
>
>C:\Users\YourUserName\AppData\Roaming\GRASS7\addons\
>
>should help.

now tested in this way:
 

g.region -p -a raster=lsat7_2002_80@PERMANENT align=lsat7_2002_80@PERMANENT
-------------------
i.fusion.hpf pan=lsat7_2002_80@PERMANENT 
msx=lsat7_2002_10@PERMANENT,lsat7_2002_20@PERMANENT,lsat7_2002_30@PERMANENT,lsat7_2002_40@PERMANENT
 suffix=_hpf
|! Region's resolution matched to Pan's (14.25)
Processing image: lsat7_2002_10@PERMANENT
|1 Determining ratio of low to high resolution
> Retrieving image resolutions
>> Resolution ratio low (28.500) to high (14.250): 2.0
|2 High Pass Filtering the Panchromatic Image
|3 Upsampling (bilinearly) low resolution image
|4 Weighting the High-Pass-Filtered image (HPFi)
> Weighting = StdDev(MSx) / StdDev(HPFi) * Modulating Factor
>> StdDev of <lsat7_2002_10@PERMANENT>: 20.702
>> StdDev of HPFi: 257.949
>> Modulating Factor: 0.25
|5 Adding weighted HPFi to upsampled image
|+ Quantile scaling of Pansharpened image to lsat7_2002_10@PERMANENT
Processing image: lsat7_2002_20@PERMANENT
|1 Determining ratio of low to high resolution
> Retrieving image resolutions
>> Resolution ratio low (28.500) to high (14.250): 2.0
|2 High Pass Filtering the Panchromatic Image
|3 Upsampling (bilinearly) low resolution image
|4 Weighting the High-Pass-Filtered image (HPFi)
> Weighting = StdDev(MSx) / StdDev(HPFi) * Modulating Factor
>> StdDev of <lsat7_2002_20@PERMANENT>: 23.325
>> StdDev of HPFi: 257.949
>> Modulating Factor: 0.25
|5 Adding weighted HPFi to upsampled image
|+ Quantile scaling of Pansharpened image to lsat7_2002_20@PERMANENT
Processing image: lsat7_2002_30@PERMANENT
|1 Determining ratio of low to high resolution
> Retrieving image resolutions
>> Resolution ratio low (28.500) to high (14.250): 2.0
|2 High Pass Filtering the Panchromatic Image
|3 Upsampling (bilinearly) low resolution image
|4 Weighting the High-Pass-Filtered image (HPFi)
> Weighting = StdDev(MSx) / StdDev(HPFi) * Modulating Factor
>> StdDev of <lsat7_2002_30@PERMANENT>: 34.711
>> StdDev of HPFi: 257.949
>> Modulating Factor: 0.25
|5 Adding weighted HPFi to upsampled image
|+ Quantile scaling of Pansharpened image to lsat7_2002_30@PERMANENT
Processing image: lsat7_2002_40@PERMANENT
|1 Determining ratio of low to high resolution
> Retrieving image resolutions
>> Resolution ratio low (28.500) to high (14.250): 2.0
|2 High Pass Filtering the Panchromatic Image
|3 Upsampling (bilinearly) low resolution image
|4 Weighting the High-Pass-Filtered image (HPFi)
> Weighting = StdDev(MSx) / StdDev(HPFi) * Modulating Factor
>> StdDev of <lsat7_2002_40@PERMANENT>: 20.479
>> StdDev of HPFi: 257.949
>> Modulating Factor: 0.25
|5 Adding weighted HPFi to upsampled image
|+ Quantile scaling of Pansharpened image to lsat7_2002_40@PERMANENT
|! Original Region restored
>>> Hint, rebalancing colors (via i.colors.enhance) may improve appearance of 
>>> RGB composites!
WARNING: No data base element files found
(Fri Mar 19 21:27:40 2021) Befehl ausgeführt (15 Sek)  
 
the script itself (downloaded from 
https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/latest/) works.
 
now we have to solve the g.extension issue.
 
kind regards
helli
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to