[prev in list] [next in list] [prev in thread] [next in thread]
List: grass-user
Subject: Re: [GRASS-user] t.register syntax
From: Andres Solarte <e.andres.solartec () gmail ! com>
Date: 2017-03-22 23:26:34
Message-ID: CANDf6nWd=-GNe0ZvobG=Ztw3sd-Uf9qy2WnY_X4rm9Ufj7B_Mg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@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@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@lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-user
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
[Attachment #5 (text/html)]
<div dir="ltr"><div>try this command</div><div><br></div>t.register -i \
input=blocked_h maps=`g.list raster pattern=blocked_h_* separator=comma` type=raster \
start="2013-11-15" increment="1 days"<br></div><div \
class="gmail_extra"><br><div class="gmail_quote">2017-03-22 20:25 GMT-03:00 Sören \
Gebbert <span dir="ltr"><<a href="mailto:soerengebbert@googlemail.com" \
target="_blank">soerengebbert@googlemail.com</a>></span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Use the comma separator option for g.list since a comma \
separated list<br> of maps is required for the maps option in t.register.<br>
<div class="HOEnZb"><div class="h5"><br>
2017-03-23 0:16 GMT+01:00 Rich Shepard <<a \
href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>>:<br> > \
I thought I had recorded the syntax for creating strds's from existing<br> > \
raster maps, but I neglected to do so. (t.create worked correctly and the<br> > \
strds exists.)<br> ><br>
> This command fails:<br>
><br>
> t.register -i input=blocked_h maps=`g.list type=raster pattern=blocked_h_*`<br>
> type=raster separator=comma start="2013-11-15" increment="1 \
days"<br> ><br>
> with a series of error messages like this:<br>
><br>
> ERROR: Sorry <blocked_h_0002> is not a valid option<br>
><br>
> The maps to be registered are:<br>
><br>
> g.list type=raster pattern=blocked_h_*<br>
> blocked_h_0001<br>
> blocked_h_0002<br>
> blocked_h_0003<br>
> blocked_h_0004<br>
> blocked_h_0005<br>
> blocked_h_0006<br>
> blocked_h_0007<br>
> blocked_h_0008<br>
> blocked_h_0009<br>
> blocked_h_0010<br>
> blocked_h_0011<br>
> blocked_h_0012<br>
> blocked_h_0013<br>
> blocked_h_0014<br>
> blocked_h_0015<br>
> blocked_h_0016<br>
> blocked_h_0017<br>
> blocked_h_0018<br>
> blocked_h_0019<br>
> blocked_h_0020<br>
> blocked_h_0021<br>
> blocked_h_0022<br>
> blocked_h_0023<br>
> blocked_h_max<br>
><br>
> I'm not seeing the parameter that I've not entered or the one that \
should<br> > be entered. Please correct my syntax and this time I'll be \
certain to write<br> > it down!<br>
><br>
> TIA,<br>
><br>
> Rich<br>
> ______________________________<wbr>_________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" \
target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/grass-user</a><br> \
______________________________<wbr>_________________<br> grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" \
target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/grass-user</a></div></div></blockquote></div><br></div>
[Attachment #6 (text/plain)]
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic