[GRASS5] Identify GRASS database directory

B. Byars Bruce_Byars at baylor.edu
Thu Feb 8 10:27:18 EST 2001


Hi Bernhard,

Sorry for the slow response (our university ISP is having more problems -sigh-)
but yes, the WIND file is common to all GRASS database directories.  Are you
thinking of a script to find the WIND files to identify the GRASS data directories?

I've got something that we could modify for this if that's what you're thinking.
Let
me know and we'll go from there.

Bruce



Bernhard Reiter wrote:

> Hi Bruce,
>
> if I have any directory, how can I decide if it is a GRASS database.
> Especially if it contains raster data?
>
> There must be something that all grass database directories have in
> common. If it is that WIND file, it would be sufficient for
> identification.
>
> So are there WIND files in all grass database directories?
>         Bernhard
>
> On Wed, Feb 07, 2001 at 12:03:29PM -0600, B. Byars wrote:
> > The PERMANENT directory isn't automatically created each time
> > with a new mapset.  Not sure what you mean about finding out is
> > a directory is a GRASS dbase directory tho'?  I have a script I use to
> > locate directories that looks for WIND files.  Is that what you mean?
> >
> > Bruce
> >
> >
> > Bernhard Reiter wrote:
> >
> > > Just a quick question. Is there a fast and relyable way to find out,
> > > if a directory is a GRASS database directory?
> > > I expect the PERMANENT mapset directory to actually be created
> > > once a directory serves as a GRASS database. Is this true for all
> > > cases?
> > >
> > > Thanks,
> > >         Bernhard
> > >
> > > --
> > > Professional Service around Free Software                (intevation.net)
> > > The FreeGIS Project                                         (freegis.org)
> > > Association for a Free Informational Infrastructure            (ffii.org)
> > > FSF Europe                                                (fsfeurope.org)
> > >
> > >   ------------------------------------------------------------------------
> > >    Part 1.2Type: application/pgp-signature
> >
> >
> > ----------------------------------------
> > If you want to unsubscribe from GRASS Development Team mailing list write to:
> > minordomo at geog.uni-hannover.de with
> > subject 'unsubscribe grass5'
> >
>
> --
> Professional Service around Free Software                (intevation.net)
> The FreeGIS Project                                         (freegis.org)
> Association for a Free Informational Infrastructure            (ffii.org)
> FSF Europe                                                (fsfeurope.org)
>
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature


---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list