On Mon, Oct 26, 2009 at 4:52 PM, Peter Smith <span dir="ltr"><<a href="mailto:Peter.M.Smith@nasa.gov">Peter.M.Smith@nasa.gov</a>></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;">
Hi,<br>
I have installed a win32 copy of grads GrADS1.9. </blockquote><div><br></div><div>Which version exactly? Do a "q config".</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Using GRADSDODS I can run a<br>
GRADS script successfully if I place it in C:\GrADS\lib where other scripts<br>
reside (eg <a href="http://cbarn.gs" target="_blank">cbarn.gs</a>, etc).<br>
<br>
I have tried moving this script to my own personal folder and setting the<br>
environmental variable GASCRP to point to this folder. </blockquote><div><br></div><div>How did you do this? Inside a BAT file? try</div><div><br></div><div>C:\> set GASCRP=C:\SOME\WHERE</div><div>C:\> gradsdods</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> There are two<br>
classes of environmental variables System and User.<br>
<br>
I believe you need admin privileges (which I don't have) to set up the<br>
system variables. Anyway, gradsdods is not finding this script.<br><br></blockquote><div><br></div><div>You should be able to set this env variable from a BAT file or a VBScript. If you download the Win32 Superpack, either v2.0 (recommended) or v1.10 you can take a look at how the variables are set inside a VBScript (look at the .vbs files in the top directory)</div>
<div><br></div><div> <a href="https://sourceforge.net/projects/opengrads/files/">https://sourceforge.net/projects/opengrads/files/</a></div><div><br></div><div> Arlindo</div></div><br clear="all"><br>-- <br>Arlindo da Silva<br>
<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>