<P>
<BR>
while saving file you enclose tha file in double quotes e.g "file.gs" it will work<BR>
<BR>
<BR>
On Fri, 19 Aug 2005 Mark Schuster wrote :<BR>
>Hello all<BR>
><BR>
>I am new to GRADS, and I am working with files that I downloaded from the<BR>
>NCEP reanalysis page that are in .nc format. If I type something like...<BR>
><BR>
>sdfopen shum9495.nc<BR>
>set lat 60<BR>
>set lon 250<BR>
>set t 1<BR>
>d vint(1000.,shum,350)<BR>
><BR>
>I will get the vertically integrated water content at that point which is<BR>
>great, but I am more interested in the spatial distribution (contour plot),<BR>
>so I make the lat and lon vary. So if I type<BR>
><BR>
>sdfopen shum9495.nc<BR>
>set lat 50 70<BR>
>set lon 230 250<BR>
>set t 1<BR>
>d vint(1000.,shum,350)<BR>
><BR>
>I get an error about incompatible grids, and I get the error box "this<BR>
>program has performed an illegal operation and will be shut down". I have<BR>
>no idea why I don't get a contour plot, as the data I downloaded is within<BR>
>the grid that I specify. I am sure that it is probably a very simple thing<BR>
>that I am totally unaware of that I am doing wrong since I am new to grads.<BR>
><BR>
>Also, for creating scripts, do I just type it up in notepad, and type run<BR>
>script in the grads window? Extension is suppose to be .gs, but if you<BR>
>type it in notepad, it has a .txt extension.<BR>
><BR>
>Many thanks!<BR>
><BR>
>Mark<BR>
</P>
ANIL KUMAR( METEOROLOGIST GR -II)
<br>
LRF SECTION
<br>
NATIONAL CLIMATE CENTER
<br>
ADGM(RESEARCH)
<br>
INDIA METEOROLOGICAL DEPARTMENT
<br>
SHIVIJI NAGAR
<br>
PUNE-411005 INDIA
<br>
MOBILE +919422023277
<br>
anilkumar@imdpune.gov.in
<br>
<br><br>
<a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>