[GRASS-dev] problem initializing temporal gis
Luca Delucchi
lucadeluge at gmail.com
Fri Jun 27 06:08:51 PDT 2014
On 24 June 2014 17:10, Sören Gebbert <soerengebbert at googlemail.com> wrote:
> Hi Luca,
Hi Soeren,
> 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'
> }}}
>
ok thanks,
do you think could be possible to add a field for unit in future?
>
> Best regards
> Soeren
>
--
ciao
Luca
http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
More information about the grass-dev
mailing list