[GRASS-dev] t.rast.list output as r.hants input not recognized

Veronica Andreo veroandreo at gmail.com
Fri Oct 30 06:59:43 PDT 2015


Hi list,

When using t.rast.list input=certain_strds column=name method=comma,
both map name and mapset name are printed. 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)

and then an intermediate step of writing t.rast.list output to a file
is needed, since like that it does not print mapset name.

GRASS 7.1.svn (latlong_wgs84):~ > t.rast.list input=precip_abs
order=start_time columns=name > map_list
GRASS 7.1.svn (latlong_wgs84):~ > r.hants file=map_list nf=2
base_period=6 fet=10
Harmonic analysis of 6 input maps...
 100%

For r.hants it's of main importance that maps are temporally ordered
and that's why I would prefer to use t.rast.list that orders maps as
needed (instead of g.list, that depending on map names, could give a
wrong order), but as the output includes "@mapset_name", maps are no
longer recognized by r.hants.

best,
Vero


More information about the grass-dev mailing list