[GRASS-user] error in g.extension while installing i.fusion.hpf in windows

Helmut Kudrnovsky hellik at web.de
Fri Mar 19 13:39:47 PDT 2021


>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 at PERMANENT align=lsat7_2002_80 at PERMANENT
-------------------
i.fusion.hpf pan=lsat7_2002_80 at PERMANENT msx=lsat7_2002_10 at PERMANENT,lsat7_2002_20 at PERMANENT,lsat7_2002_30 at PERMANENT,lsat7_2002_40 at PERMANENT suffix=_hpf
|! Region's resolution matched to Pan's (14.25)
Processing image: lsat7_2002_10 at 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 at 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 at PERMANENT
Processing image: lsat7_2002_20 at 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 at 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 at PERMANENT
Processing image: lsat7_2002_30 at 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 at 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 at PERMANENT
Processing image: lsat7_2002_40 at 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 at 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 at 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


More information about the grass-user mailing list