[GRASS-dev] Re: [GRASS GIS] #430: i.pca's output and history logged "Comments" disagree

GRASS GIS trac at osgeo.org
Mon Mar 23 11:22:14 EDT 2009


#430: i.pca's output and history logged "Comments" disagree
--------------------------+-------------------------------------------------
  Reporter:  nikos        |       Owner:  grass-dev at lists.osgeo.org      
      Type:  defect       |      Status:  new                            
  Priority:  major        |   Milestone:  6.4.0                          
 Component:  Raster       |     Version:  unspecified                    
Resolution:               |    Keywords:  i.pca, output messages, history
  Platform:  Unspecified  |         Cpu:  Unspecified                    
--------------------------+-------------------------------------------------
Comment (by neteler):

 Attached i_pca.diff patch produces
 {{{
 # NC location
 i.pca
 in=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70
 out=lsat7_2002_pca
 ...
 Eigen values, (vectors), and [percent importance]:
 PC1 4712.17 (-0.2798,-0.3332,-0.5054,-0.0015,-0.5341,-0.5196)[84.05%]
 PC2 595.40 (-0.2528,-0.1877,-0.2969, 0.7494, 0.5002, 0.0289)[10.62%]
 PC3 240.56 ( 0.3864, 0.3842, 0.2670, 0.6147,-0.4058,-0.2987)[4.29%]
 PC4 33.01 (-0.1768, 0.0165, 0.4083,-0.1576, 0.4396,-0.7640)[0.59%]
 PC5 20.75 (-0.6063,-0.2610, 0.6087, 0.1795,-0.3255, 0.2357)[0.37%]
 PC6 4.25 ( 0.5565,-0.7986, 0.2186, 0.0583, 0.0255,-0.0265)[0.08%]

 r.info lsat7_2002_pca.1
 +----------------------------------------------------------------------------+
  | Layer:    lsat7_2002_pca.1               Date: Mon Mar 23 16:14:10 2009
 |
  | Mapset:   user1                          Login of Creator: neteler
 |
  | Location: nc_spm_07
 |
  | DataBase: /home/neteler/grassdata
 |
  | Title:     ( lsat7_2002_pca.1 )
 |
  | Timestamp: none
 |
 ...
  |   Comments:
 |
  |    Eigen values, (vectors), and [percent importance]:
 |
  |    PC1   4712.17
 (-0.2798,-0.3332,-0.5054,-0.0015,-0.5341,-0.5196)[84.05%] |
  |    PC2    595.40 (-0.2528,-0.1877,-0.2969, 0.7494, 0.5002,
 0.0289)[10.62%] |
  |    PC3    240.56 ( 0.3864, 0.3842, 0.2670,
 0.6147,-0.4058,-0.2987)[4.29%]  |
  |    PC4     33.01 (-0.1768, 0.0165, 0.4083,-0.1576,
 0.4396,-0.7640)[0.59%]  |
  |    PC5     20.75 (-0.6063,-0.2610, 0.6087, 0.1795,-0.3255,
 0.2357)[0.37%]  |
  |    PC6      4.25 ( 0.5565,-0.7986, 0.2186, 0.0583,
 0.0255,-0.0265)[0.08%]  |
  |
 |
  |    i.pca
 input="lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40\   |
  |    ,lsat7_2002_50,lsat7_2002_70" output="lsat7_2002_pca" rescale=0,255
 |
  |
 |
 +----------------------------------------------------------------------------+
 }}}

 OK for everybody?

 Markus

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/430#comment:4>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list