[GRASS-user] Pansharpening Landsat 8 Imagery

Helmut Kudrnovsky hellik at web.de
Fri Jul 29 11:00:00 PDT 2016


Helmut Kudrnovsky wrote
> 
> Markus Neteler wrote
>> On Tue, Jul 19, 2016 at 9:40 AM, Nikos Alexandris
>> <

>> nik@

>> > wrote:
>> ...
>>> You can use the module from either the GUI or the TUI, within from a
>>> running GRASS-GIS session.
>>>
>>> I know that people have installed and used it in Windows too.  I have
>>> never had the opportunity to test it on a Windows system myself though.
>> 
>> Now it is also available for Windows (the Windows Addons are compiled
>> on a weekly base)
>> 
>> https://wingrass.fsv.cvut.cz/grass70/x86_64/addons/latest/
>> 
>> Hence, g.extension or the extension menu entry will fetch it for you.
> installing by g.extension in winGRASS7 works, but starting the script:
> 
> ---------
> C:\>i.fusion.hpf --help
> 
> [...]
> terminating in an unusal way.
> 
> any idea?

tested on the command line in winGRASS73

-----------
g.gisenv set=DEBUG=3
---
i.fusion.hpf pan=lsat7_2000_80a
msx=lsat7_2000_30a,lsat7_2000_20a,lsat7_2000_10a suffix=my

[...]
|! Original Region restored
D1/3: G_set_program_name(): g.message
D2/3: G_file_name(): path = J:\gisdata\nc_spm_08_grass7\user1
D1/3:  g.message message=
>>> Hint, rebalancing colors (via i.colors.enhance) may improve appearance
>>> of RG
B composites! debug=1 -i
D1/3: G_set_program_name(): g.message
D2/3: G_file_name(): path = J:\gisdata\nc_spm_08_grass7\user1

>>> Hint, rebalancing colors (via i.colors.enhance) may improve appearance
of RGB composites!
D1/3: grass.script.core.start_command(): g.remove --q -f pattern=tmp.5792*
type=
raster
D1/3: G_set_program_name(): g.remove
D2/3: G_file_name(): path = J:\gisdata\nc_spm_08_grass7\user1
D2/3: G_file_name(): path = J:\gisdata\nc_spm_08_grass7\user1\cell
WARNING: No data base element files found

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information
---
g.list type=raster mapset=user1                                                 
lsat7_2000_10a
lsat7_2000_10a.my
lsat7_2000_20a
lsat7_2000_20a.my
lsat7_2000_30a
lsat7_2000_30a.my
lsat7_2000_80a
---
r.info map=lsat7_2000_10a.my at user1                                              

+----------------------------------------------------------------------------+
 | Map:      lsat7_2000_10a.my at user1        Date: Fri Jul 29 20:07:30 2016   
|
 | Mapset:   user1                          Login of Creator: normal         
|
 | Location: nc_spm_08_grass7                                                
|
 | DataBase: J:\gisdata                                                      
|
 | Title:    tmp.5792.4_msx_hpf                                              
|
 | Timestamp: none                                                           
|

|----------------------------------------------------------------------------|
 |                                                                           
|
 |   Type of Map:  raster               Number of Categories: 0              
|
 |   Data Type:    DCELL                                                     
|
 |   Rows:         950                                                       
|
 |   Columns:      1054                                                      
|
 |   Total Cells:  1001300                                                   
|
 |        Projection: Lambert Conformal Conic                                
|
 |            N:     228513    S:   214975.5   Res: 14.25                    
|
 |            E:     645012    W:   629992.5   Res: 14.25                    
|
 |   Range of data:    min = 46.8253308406372  max = 292.357619939526        
|
 |                                                                           
|
 |   Data Description:                                                       
|
 |    generated by r.mapcalc                                                 
|
 |                                                                           
|
 |   Comments:                                                               
|
 |    tmp.5792.4_msx_blnr + tmp.5792.4_pan_hpf * 0.019623261                 
|
 |    Weigthing applied: 13.976 / 178.050 * 0.250                            
|
 |                                                                           
|

+----------------------------------------------------------------------------+
-----------

so it seems the script calculates the images with higher resolution, but
terminates at some stage before finishing correctly



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Pansharpening-Landsat-8-Imagery-tp5276266p5278738.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list