[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=&quot;2013-11-15&quot; increment=&quot;1 days&quot;<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">&lt;<a href="mailto:soerengebbert@googlemail.com" \
target="_blank">soerengebbert@googlemail.com</a>&gt;</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 &lt;<a \
href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>&gt;:<br> &gt;     \
I thought I had recorded the syntax for creating strds&#39;s from existing<br> &gt; \
raster maps, but I neglected to do so. (t.create worked correctly and the<br> &gt; \
strds exists.)<br> &gt;<br>
&gt;     This command fails:<br>
&gt;<br>
&gt; t.register -i input=blocked_h maps=`g.list type=raster pattern=blocked_h_*`<br>
&gt; type=raster separator=comma start=&quot;2013-11-15&quot; increment=&quot;1 \
days&quot;<br> &gt;<br>
&gt; with a series of error messages like this:<br>
&gt;<br>
&gt; ERROR: Sorry &lt;blocked_h_0002&gt; is not a valid option<br>
&gt;<br>
&gt;     The maps to be registered are:<br>
&gt;<br>
&gt; g.list type=raster pattern=blocked_h_*<br>
&gt; blocked_h_0001<br>
&gt; blocked_h_0002<br>
&gt; blocked_h_0003<br>
&gt; blocked_h_0004<br>
&gt; blocked_h_0005<br>
&gt; blocked_h_0006<br>
&gt; blocked_h_0007<br>
&gt; blocked_h_0008<br>
&gt; blocked_h_0009<br>
&gt; blocked_h_0010<br>
&gt; blocked_h_0011<br>
&gt; blocked_h_0012<br>
&gt; blocked_h_0013<br>
&gt; blocked_h_0014<br>
&gt; blocked_h_0015<br>
&gt; blocked_h_0016<br>
&gt; blocked_h_0017<br>
&gt; blocked_h_0018<br>
&gt; blocked_h_0019<br>
&gt; blocked_h_0020<br>
&gt; blocked_h_0021<br>
&gt; blocked_h_0022<br>
&gt; blocked_h_0023<br>
&gt; blocked_h_max<br>
&gt;<br>
&gt;     I&#39;m not seeing the parameter that I&#39;ve not entered or the one that \
should<br> &gt; be entered. Please correct my syntax and this time I&#39;ll be \
certain to write<br> &gt; it down!<br>
&gt;<br>
&gt; TIA,<br>
&gt;<br>
&gt; Rich<br>
&gt; ______________________________<wbr>_________________<br>
&gt; grass-user mailing list<br>
&gt; <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
&gt; <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