[gradsusr] Request environment variable for shapefiles
Arlindo da Silva
dasilva at alum.mit.edu
Tue Aug 2 18:08:33 EDT 2011
On Tue, Aug 2, 2011 at 2:16 PM, Jennifer Adams <jma at cola.iges.org> wrote:
> Brian and I are now talking about adding GASHP to the GrADS-relevant
> environment variables, rather than overload GASCRP. I think your suggested
> search order is correct. --
>
It would be nice if, like GASCRP, GASHP would include a list of directories
as well. BTW, what is the current acceptable "separation characters"? Can
both ";" and ":" be used?
Arlindo
> Jennifer
>
>
> On Aug 2, 2011, at 2:06 PM, Dave Allured wrote:
>
> Jennifer,
>
> Using GASCRP would be sufficient. However, I suggest this search order:
>
> 1. current dir
> 2. dirs in GASCRP
> 3. GADDIR
>
> This is because the GADDIR install directory is read-only for me and
> some other users, and it would be good to have a clean mechanism to
> override shapefile collections that might hypothetically find their
> way into GADDIR.
>
> Thanks for your consideration.
>
> --Dave
>
> On 8/2/2011 8:47 AM, Jennifer Adams wrote:
>
> How about using the directories in the GASCRP variable?
>
> 1. current dir
>
> 2. GADDIR
>
> 3. dirs in GASCRP
>
>
> That requires the least amount of new code and documentation.
>
> --Jennifer
>
>
>
> On Aug 1, 2011, at 2:03 PM, Dave Allured wrote:
>
>
> Hi. This is a feature request for a separate environment variable
>
> for the path to shapefiles. In recent GrADS versions, GADDIR is
>
> used for both installation data files and shapefiles. Mixing an
>
> installation directory with a user supplemented directory can create
>
> some problems.
>
>
> I think a new environment variable such as GASHAPEDIR would be most
>
> helpful. It would be nice if multiple paths could be specified as a
>
> space separated list, as is now the case for GASCRP. For
>
> compatibility, I suggest that the search order for shapefiles be as
>
> follows:
>
>
> 1. Current directory.
>
> 2. Paths in GASHAPEDIR, left to right.
>
> 3. GADDIR.
>
>
> There are other ways to accomplish the goal. Multiple paths in
>
> GADDIR is one of them. A separate environment variable seems most
>
> user friendly to me.
>
>
> If desired, I would be willing to attempt a patch for this. What do
>
> you think?
>
>
> --Dave A.
>
> NOAA/PSD/CIRES
>
> Boulder, Colorado
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> --
> Jennifer M. Adams
> IGES/COLA
> 4041 Powder Mill Road, Suite 302
> Calverton, MD 20705
> jma at cola.iges.org
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110802/7d060bc8/attachment-0003.html
More information about the gradsusr
mailing list