[GRASS-dev] [GRASS GIS] #2790: Output of t.rast.list with method=comma and columns=name does not differ from output with columns=id

GRASS GIS trac at osgeo.org
Sun Nov 12 03:44:26 PST 2017


#2790: Output of t.rast.list with method=comma and columns=name does not differ
from output with columns=id
-------------------------+-------------------------
  Reporter:  veroandreo  |      Owner:  grass-dev@…
      Type:  defect      |     Status:  new
  Priority:  normal      |  Milestone:  7.0.6
 Component:  Temporal    |    Version:  svn-trunk
Resolution:              |   Keywords:  t.rast.list
       CPU:  x86-64      |   Platform:  Linux
-------------------------+-------------------------

Comment (by mmetz):

 Replying to [ticket:2790 veroandreo]:
 > Hi,
 >
 > When using t.rast.list column=name method=comma,
 > both map name and mapset name are printed, so it does not differ from
 asking column=id.
 >
 > {{{
 > GRASS 7.1.svn (latlong_wgs84):~ > t.rast.list input=precip_abs
 order=start_time columns=name method=comma
 >
 prec_1 at pruebas,prec_2 at pruebas,prec_3 at pruebas,prec_4 at pruebas,prec_5 at pruebas,prec_6 at pruebas,prec_7 at pruebas,prec_8 at pruebas,prec_9 at pruebas,prec_10 at pruebas,prec_11 at pruebas,prec_12 at pruebas
 > GRASS 7.1.svn (latlong_wgs84):~ > t.rast.list input=precip_abs
 order=start_time columns=id method=comma
 >
 prec_1 at pruebas,prec_2 at pruebas,prec_3 at pruebas,prec_4 at pruebas,prec_5 at pruebas,prec_6 at pruebas,prec_7 at pruebas,prec_8 at pruebas,prec_9 at pruebas,prec_10 at pruebas,prec_11 at pruebas,prec_12 at pruebas
 > }}}
 >
 > While several modules (r.colors, r.stats or r.series) can take this as
 input, r.hants (from add-ons) gives an error
 >
 > {{{
 > GRASS 7.1.svn (latlong_wgs84):~ > r.hants input=`t.rast.list
 input=precip_abs order=start_time columns=name method=comma` nf=2
 > base_period=6 fet=10 suffix=_hants
 >
 > ERROR: Raster map <prec_1 at pruebas_hants> is not in the current mapset
 >        (pruebas)
 > }}}
 >

 The fully qualified input names where used to construct output names.
 Fixed for both r.hants and r.series.lwr in r71682.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2790#comment:6>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list