<P>
<BR>
hi<BR>
while opening the second file ,file is open as file2 ,so instead of d prep you write d prep.2 ,,hopefully it will work<BR>
<BR>
<BR>
On Mon, 22 Aug 2005 Mark Schuster wrote :<BR>
>Hello<BR>
><BR>
>I am using windows 98 platform for grads, and I am having trouble. I am<BR>
>trying to calculate precipitable water so I need to know the surface<BR>
>pressure and specific humidity. I have the two files shum.nc and<BR>
>pres.nc..both of which are on the same grid, but shum.nc has 8 levels in<BR>
>the vertical.<BR>
><BR>
>When I open up just one of the files, I can read the data in them, but<BR>
>suppose i open up shum.nc, and then open up pres.nc as file 2, i have a<BR>
>problem. Suppose after opening them both up, I type<BR>
><BR>
>d pres<BR>
><BR>
>I get an error message saying that the program has performed an illegal<BR>
>operation and will be shut down. Somehow, opening up shum.nc first is<BR>
>doing something....I suspect it has something to do with the differing<BR>
>levels in the vertical of the two files since pres.nc is just surface<BR>
>pressure so it has no levels in the vertical.<BR>
><BR>
>But suppose i open two files where both have the same vertical levels, such<BR>
>as uwnd and vwnd...then i can read them both just fine when both are<BR>
>opened, so as I said, I believe it has to do with the differing vertical<BR>
>levels.<BR>
><BR>
>However, I would like to use the vint function to calculate the water<BR>
>content over the grid, so I type<BR>
><BR>
>set t 1<BR>
>set lat 50 70<BR>
>set lon 230 250<BR>
>d vint(pres.2,shum,350)<BR>
><BR>
>and in my opinion, that should work (and I should get a contour plot of<BR>
>precipitable water), but I keep getting all these error messages. Can<BR>
>anyone tell me what I am doing wrong?<BR>
><BR>
>Thanks a lot<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>