[GRASS-dev] problem initializing temporal gis
Sören Gebbert
soerengebbert at googlemail.com
Tue Jun 24 08:10:25 PDT 2014
Hi Luca,
there is no dedicated field for unit specification. You can use the
description, or maybe better, the semantic field in the base
information object:
{{{
>>> import grass.temporal as tgis
>>> tgis.init()
>>> stds = tgis.SpaceTimeRasterDataset("a at PERMANENT")
>>> stds.base.set_semantic_type("unit:degree celsius")
>>> stds.base.get_semantic_type()
'unit:degree celsius'
}}}
Best regards
Soeren
2014-06-24 16:32 GMT+02:00 Luca Delucchi <lucadeluge at gmail.com>:
> On 24 June 2014 13:05, Sören Gebbert <soerengebbert at googlemail.com> wrote:
>> Hi Luca,
>> please call
>>
>> tgis.init()
>>
>> before any temporal operation is performed.
>>
>
> thanks it fix the problem.
>
> Is any information about the unit of values of temporal dataset (as
> millimeter for precipitation or Celsius for temperature) ?
>
>> Best regards
>> Soeren
>>
>
> --
> ciao
> Luca
>
> http://gis.cri.fmach.it/delucchi/
> www.lucadelu.org
More information about the grass-dev
mailing list