[GRASS-dev] Creating manually the cell_misc directory

Dear hard-core devs,

consider a script creating a new Mapset, inside an existing Location.
The `cell_misc` directory is not created.

Might manual creation of it, i.e. `mkdir cell_misc`, lead to problems?

Thank you, Nikos

Hi Nikos,

On Tue, Dec 12, 2017 at 4:06 PM, Nikos Alexandris
<nik@nikosalexandris.net> wrote:

Dear hard-core devs,

consider a script creating a new Mapset, inside an existing Location.
The `cell_misc` directory is not created.

Well, not even the others, except for sqlite/.
Example:

grass74 -c ~/grassdata/nc_spm_08_grass7/bla -e
Cleaning up temporary files...
Creating new GRASS GIS location/mapset...
Missing WIND file fixed
Cleaning up temporary files...

tree ~/grassdata/nc_spm_08_grass7/bla
/home/mneteler/grassdata/nc_spm_08_grass7/bla
├── sqlite
├── VAR
└── WIND

1 directory, 2 files

Might manual creation of it, i.e. `mkdir cell_misc`, lead to problems?

I guess not but why do you need it?

best,
Markus

Markus Neteler:

Hi Nikos,

Nikos Alexandris:

Dear hard-core devs,
consider a script creating a new Mapset, inside an existing Location.
The `cell_misc` directory is not created.

Well, not even the others, except for sqlite/.

Indeed. I focus in `cell_misc` and did not bother to mention this.

Example:

grass74 -c ~/grassdata/nc_spm_08_grass7/bla -e
Cleaning up temporary files...
Creating new GRASS GIS location/mapset...
Missing WIND file fixed
Cleaning up temporary files...

tree ~/grassdata/nc_spm_08_grass7/bla
/home/mneteler/grassdata/nc_spm_08_grass7/bla
├── sqlite
├── VAR
└── WIND

1 directory, 2 files

Might manual creation of it, i.e. `mkdir cell_misc`, lead to problems?

I guess not but why do you need it?

If so, I will use it, see then if it creates problems. It will simplify
a bit, and make more readable, the workflow described at:
https://lists.osgeo.org/pipermail/grass-dev/2017-November/086456.html.

When ready, scripts will go public. Hopes for being useful to many.
For good or for bad, I preferred shell scripting to glue parts together.
uni* tools are so simple and powerful. It is hard to forget this.

Thank you Markus, Nikos