[GRASS-dev] [GRASS GIS] #511: i.pca: close map before writing out metadata?

#511: i.pca: close map before writing out metadata?
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: default | Version: svn-develbranch6
Keywords: i.pca | Platform: Linux
      Cpu: x86-32 |
---------------------+------------------------------------------------------
quicky:

i.pca calls write_support() before G_unopen_cell().

is that backwards?

When running i.pca with --overwrite some of the hist files seemed
not to be updating properly.

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/511&gt;
GRASS GIS <http://grass.osgeo.org>

#511: i.pca: close map before writing out metadata?
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 6.4.0
Component: Default | Version: svn-develbranch6
Resolution: fixed | Keywords: i.pca
  Platform: Linux | Cpu: x86-32
----------------------+-----------------------------------------------------
Changes (by mmetz):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [ticket:511 hamish]:
> quicky:
>
> i.pca calls write_support() before G_unopen_cell().
>
> is that backwards?
>
> When running i.pca with --overwrite some of the hist files seemed
> not to be updating properly.

i.pca now calls write_support() after G_close_cell()/Rast_close(). All
support files are now properly updated with --overwrite. Please reopen if
needed.

Markus M

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/511#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>