[gradsusr] Request environment variable for shapefiles

Jennifer Adams jma at cola.iges.org
Tue Aug 2 10:47:05 EDT 2011


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110802/76e2e3a7/attachment-0003.html 


More information about the gradsusr mailing list