[GRASS-dev] pygrass.gis.region.Region + depths property

Panagiotis Mavrogiorgos pmav99 at gmail.com
Thu May 9 06:44:51 PDT 2019


On Thu, May 9, 2019 at 4:20 PM Panagiotis Mavrogiorgos <pmav99 at gmail.com>
wrote:

> Hello all,
>
> The Region class defines a ["depths" property](
> https://github.com/GRASS-GIS/grass-ci/blob/6451c5aa008d59506f7fb8ce54e0b72eb2188ad2/lib/python/pygrass/gis/region.py#L210-L219)
> which is not being used in e.g. .keys(), __repr__(), __eq__() etc.
> Shouldn't it be added there too?
>
> with kind regards
> Panos
>

In the same topic, shouldn't the property setter (i.e. _set_depths) call
adjust()? In which case, shouldn't adjust() call G_adjust_Cell_head3()
instead of G_adjust_Cell_head()?

Should I open an issue?

P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20190509/fc423fce/attachment.html>


More information about the grass-dev mailing list