On Thu, Dec 10, 2009 at 3:27 PM, mmacleod <span dir="ltr">&lt;<a href="mailto:mmacleod@scotiaweather.com">mmacleod@scotiaweather.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Good afternoon.<br>
<br>
I have been using GrADS since 1998.<br>
<br>
Prior to version 207oga3, when one had scripts to use, they were placed in the lib subdirectory under GrADS main directory.  Each version of GrADS had a lib subdirectory.<br>
<br></blockquote><div>I think you mean under WIndows...</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
In version 207oga3 there is a scripts subdirectory but no lib subdirectory.  There are many scripts located there that are in lib in earlier versions.<br>
<br></blockquote><div><br></div><div>That is right, the directories have been reorganized.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I wanted to run a script so I put it in scripts with the other scripts.  However, when I go run script <a href="http://name.gs" target="_blank">name.gs</a>  the GrADS can&#39;t find it.<br>
<br></blockquote><div><br></div><div>This is strange. Are you sure you put your script under</div><div><br></div><div>C:\OpenGrADS\Contents\Resources\Scripts</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Question:  Should one create a lib subdirectory and place all  scripts that one will  use in there or was the intend of the new version to  have  scripts in scripts and  no lib</blockquote><div><br></div><div>That is right</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> and the compile is wrong.<br>
<br></blockquote><div><br></div><div>Can GrADS find the other scripts in there? Say,</div><div><br></div><div>ga-&gt; run rgbmap256</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

A quick answer will be greatly appreciated.<br>
<br></blockquote><div><br></div><div>There are 2 ways of doing this. The simplest is to deposit your scripts under</div><div><br></div><div>C:\OpenGrADS\Contents\Resources\Scripts</div><div><br></div><div>This replaces the old lib directory in the new OpenGrADS directory structure; you can read more about it here:</div>
<div><br></div><div>   <a href="http://opengrads.org/wiki/index.php?title=The_OpenGrADS_Bundle">http://opengrads.org/wiki/index.php?title=The_OpenGrADS_Bundle</a></div><div><br></div><div>Or else create a directory of your choice and put your scripts there. Then, set the environment variable GASCRP to point to this directory. </div>
<div><br></div><div>   Arlindo</div><div><br></div><div><br></div></div><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>