<div dir="ltr"><div>Hello,</div><div> I have tried but I am getting this error:</div><div><br></div><div>Data Request Warning: Request is completely outside file limits<br></div><div> Entire grid contents are set to missing data</div><div> Grid limits of file: X = 1 144 Y = 1 73 Z = 1 1 T = 1 780 E = 1 1</div><div> Grid limits of request: X = 1 145 Y = 1 73 Z = -999 -999 T = 1 1 E = 1 1</div><div> Warning issued for variable = temp.2</div><div>Data Request Warning: Request is completely outside file limits</div><div> Entire grid contents are set to missing data</div><div> Grid limits of file: X = 1 144 Y = 1 73 Z = 1 1 T = 1 780 E = 1 1</div><div> Grid limits of request: X = 1 145 Y = 1 73 Z = -999 -999 T = 13 13 E = 1 1</div><div> Warning issued for variable = temp.2</div><div>Data Request Warning: Request is completely outside file limits</div><div> Entire grid contents are set to missing data</div><div> Grid limits of file: X = 1 144 Y = 1 73 Z = 1 1 T = 1 780 E = 1 1</div><div> Grid limits of request: X = 1 145 Y = 1 73 Z = -999 -999 T = 25 25 E = 1 .......................................</div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 22, 2016 at 4:41 PM, Thomas Davies <span dir="ltr"><<a href="mailto:tsd.davies@gmail.com" target="_blank">tsd.davies@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">You need to 'set dfile 2' after opening the second file and then define the variable. Or define it as temp.2 to reference the second file</p>
<br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Tue, 22 Mar 2016 09:38 Gargi Akhoury, <<a href="mailto:gargiakhoury@bitmesra.ac.in" target="_blank">gargiakhoury@bitmesra.ac.in</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Dear Grads Users,<div> It's a very simple problem but I am facing problem to solve this. </div><div>I have two netcdf files like: </div><div><a href="http://temp.nc" target="_blank">temp.nc</a></div><div><a href="http://mslp.nc" target="_blank">mslp.nc</a></div><div><br></div><div>I want to open these two files together and display the image. I have done it like this.</div><div><br></div><div>'sdfopen <a href="http://mslp.nc" target="_blank">mslp.nc</a>'</div><div>'sdfopen <a href="http://t1000.nc" target="_blank">t1000.nc</a>'</div><div>'define mslp=ave(pressure,t=1,t=420,12)'</div><div>'d mslp'</div><div>'c'</div><div>'define tmp=ave(temp-273.15,t=1,t=420,12)'</div><div>'d tmp'</div><div><br></div><div>But I am getting error in this. The error is:</div><div><br></div><div>"define tmp=ave(temp-273.15,t=1,t=420,12)</div><div>Averaging. dim = 3, start = 1, end = 420</div><div>Syntax Error: Invalid Operand</div><div> 'temp' not a variable or function name</div><div>Operation Error: Error from ave function</div><div> Error ocurred at column 1</div><div>DEFINE error: Invalid expression."</div><div><br></div><div>Kindly, help me regarding this.</div><div><br></div><div>Kind Regards</div><div>Gargi</div><div><br></div><div><br></div><div><br></div></div></div></div><span class="">
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</span></blockquote></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>