[GRASS-dev] location invalid if PERMANENT contains no WIND file ?

Glynn Clements glynn at gclements.plus.com
Fri Dec 7 04:42:59 EST 2007

Moritz Lennert wrote:

> In gis_set.tcl there is a check for a valid location which reads:
> # All good locations have valid PERMANENT mapset.
>     if {[file exists "$dir/PERMANENT/WIND"] != 0} {
>        set found 1
> Shouldn't this check for DEFAULT_WIND instead of WIND ?

I can see some sense in that. The only time that PERMANENT/WIND will
actually be used is if PERMANENT is used as the current mapset, which
may never happen. OTOH, PERMANENT/DEFAULT_WIND must exist in order to
create new mapsets.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list