Hello all,

I am a bit confused WRT what the expected WIND should be when you create a
new mapset.

Some functions copy DEFAULT_WIND from PERMANENT. E.g.:

   - lib/gis/make_mapset.c
   
<https://github.com/GRASS-GIS/grass-ci/blob/686364f6a5dd65f4a0a79b71cd29a997489eda7d/lib/gis/make_mapset.c#L85-L86>

   - pygrass.gis.make_mapset()
   
<https://github.com/GRASS-GIS/grass-ci/blob/686364f6a5dd65f4a0a79b71cd29a997489eda7d/lib/python/pygrass/gis/__init__.py#L112>
   - the grass executable
   
<https://github.com/GRASS-GIS/grass-ci/blob/686364f6a5dd65f4a0a79b71cd29a997489eda7d/lib/init/grass.py#L1072-L1076>

While others copy WIND from PERMANENT. E.g.

   - the tests
   
<https://github.com/GRASS-GIS/grass-ci/blob/686364f6a5dd65f4a0a79b71cd29a997489eda7d/lib/python/gunittest/invoker.py#L124-L125>
   - gui.wxpython.startup.create_mapset()
   
<https://github.com/GRASS-GIS/grass-ci/blob/686364f6a5dd65f4a0a79b71cd29a997489eda7d/gui/wxpython/startup/utils.py#L78-L82>

Is there an established convention?

with kind regards,
Panos
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to