[GRASS-dev] t.register without input stds

Markus Neteler neteler at osgeo.org
Sun Apr 23 22:55:23 PDT 2017


On Sun, Apr 23, 2017 at 11:53 PM, Veronica Andreo <veroandreo at gmail.com> wrote:
> El 23 abr. 2017 11:39 p.m., "Markus Neteler" <neteler at osgeo.org> escribió:
>> On Thu, Mar 2, 2017 at 11:15 AM, Veronica Andreo <veroandreo at gmail.com>
>>> 2017-03-02 10:43 GMT+01:00 Luca Delucchi <lucadeluge at gmail.com>:
>>>> Hi devs,
>>>>
>>>> I just discovered that t.register could run without a defined input stds?
>>>> Does this behavior make sense? (for me not)
>>> Yes, that was a discussion in the user list until a couple of days ago.
>>> Check this thread:
>>> https://lists.osgeo.org/pipermail/grass-user/2017-February/076022.html
>>> I sent a diff with an explanation for t.register manual page and Soeren
>>> said
>>> he would apply it this weekend with some other modifications.
>>
>> Did it get applied?
>
> Yes, it was applied in 70728 [1]. If not clear enough, please enhance.

Ok - I suggest to extend the module description which currently is

" t.register - Registers raster, vector and raster3d maps in a space
time datasets. "

as it does not reflect (for me) that a it also operates without input stds.
Ideas?

>> Since I stumbled over the same issue and spend a lot of time debugging
>> for nothing :-) I now understood with off-list help from Soeren that
>> t.register comes with two modes:
>>
>> - Mode 1: assigning timestamps to maps only
>> - Mode 2: registering maps in the space time dataset
>>
>> I think that the best would be to print these two messages
>> respectively when invoking t.register without or with "input="
>> parameter. Like r.sun does...
>>
>
> Yes, that would help. But actually, mode 2, as you call it, does both:
> assigns timestamps and registers maps in the input space time dataset.

That's true, indeed they are not two distinct modes but 2 includes 1.

For the manual, I suggest to clarify the first two sentences which are
the key to understand what t.register does:

# currently
"The module t.register is designed to register raster, 3D raster and
vector maps in the temporal database and in specific space time
datasets. This module must be used to assign time stamps to raster, 3D
raster and vector maps."

# suggestion
"The module t.register either only assigns timestamps to raster, 3D
raster and vector maps or additionally also registers them in the
temporal database within specific space time datasets."

... ideas for better wording are welcome.

Markus


> Vero
>
> [1] https://trac.osgeo.org/grass/changeset/70728


More information about the grass-dev mailing list