[GRASS-user] t.register syntax

Andres Solarte e.andres.solartec at gmail.com
Wed Mar 22 16:26:34 PDT 2017


try this command

t.register -i input=blocked_h maps=`g.list raster pattern=blocked_h_*
separator=comma` type=raster start="2013-11-15" increment="1 days"

2017-03-22 20:25 GMT-03:00 Sören Gebbert <soerengebbert at googlemail.com>:

> Use the comma separator option for g.list since a comma separated list
> of maps is required for the maps option in t.register.
>
> 2017-03-23 0:16 GMT+01:00 Rich Shepard <rshepard at appl-ecosys.com>:
> >   I thought I had recorded the syntax for creating strds's from existing
> > raster maps, but I neglected to do so. (t.create worked correctly and the
> > strds exists.)
> >
> >   This command fails:
> >
> > t.register -i input=blocked_h maps=`g.list type=raster
> pattern=blocked_h_*`
> > type=raster separator=comma start="2013-11-15" increment="1 days"
> >
> > with a series of error messages like this:
> >
> > ERROR: Sorry <blocked_h_0002> is not a valid option
> >
> >   The maps to be registered are:
> >
> > g.list type=raster pattern=blocked_h_*
> > blocked_h_0001
> > blocked_h_0002
> > blocked_h_0003
> > blocked_h_0004
> > blocked_h_0005
> > blocked_h_0006
> > blocked_h_0007
> > blocked_h_0008
> > blocked_h_0009
> > blocked_h_0010
> > blocked_h_0011
> > blocked_h_0012
> > blocked_h_0013
> > blocked_h_0014
> > blocked_h_0015
> > blocked_h_0016
> > blocked_h_0017
> > blocked_h_0018
> > blocked_h_0019
> > blocked_h_0020
> > blocked_h_0021
> > blocked_h_0022
> > blocked_h_0023
> > blocked_h_max
> >
> >   I'm not seeing the parameter that I've not entered or the one that
> should
> > be entered. Please correct my syntax and this time I'll be certain to
> write
> > it down!
> >
> > TIA,
> >
> > Rich
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-user
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170322/3db5d1ae/attachment.html>


More information about the grass-user mailing list