<html><body><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #000000"><div><span style="font-size: small;">Hi</span></div><div><br></div><div><span style="font-size: small;">Try to use the variable, followed with a ".#", where # stands for the filenumber thats assigned.</span></div><div><span style="font-size: small;">Starting eg from what you have...<br></span></div><div><br></div><div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'sdfopen <span class="Object" id="OBJ_PREFIX_DWT57_com_zimbra_url" style="color: #336699; cursor: pointer;" data-mce-style="color: #336699; cursor: pointer;"><span class="Object" id="OBJ_PREFIX_DWT69_com_zimbra_url" style="cursor: pointer;" data-mce-style="cursor: pointer;"><a href="http://mslp.nc/" target="_blank" style="color: #336699; text-decoration: none; cursor: pointer;" data-mce-href="http://mslp.nc/" data-mce-style="color: #336699; text-decoration: none; cursor: pointer;">mslp.nc</a></span></span>'</span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'sdfopen <span class="Object" id="OBJ_PREFIX_DWT58_com_zimbra_url" style="color: #336699; cursor: pointer;" data-mce-style="color: #336699; cursor: pointer;"><span class="Object" id="OBJ_PREFIX_DWT70_com_zimbra_url" style="cursor: pointer;" data-mce-style="cursor: pointer;"><a href="http://t1000.nc/" target="_blank" style="color: #336699; text-decoration: none; cursor: pointer;" data-mce-href="http://t1000.nc/" data-mce-style="color: #336699; text-decoration: none; cursor: pointer;">t1000.nc</a></span></span>'</span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'define mslp=ave(pressure,t=1,t=420,12)'</span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'd mslp'</span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'c'</span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'define tmp=ave(temp-273.15,t=1,t=420,12)'</span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'd tmp'</span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><br></span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;">The first sdfopen creates file number 1 & the second creates file number 2</span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><br></span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;">When using the variables you can add a ".", followed by the filename so</span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> <span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;">'define mslp=ave(pressure,t=1,t=420,12)' becomes<br> <span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;">'define mslp=ave(pressure.1,t=1,t=420,12)'</span><br></span></span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;">and</span></span></span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"> 'define <span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;">tmp=ave(temp-273.15,t=1,t=420,12)' becomes</span></span></span></span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"> 'define <span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;">tmp=ave(temp.2-273.15,t=1,t=420,12)'</span></span></span></span></span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><br></span></span></span></span></span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;">If for some reason this does not work, just add a <span style="font-family: Helvetica, Arial, sans-serif;" data-mce-style="font-family: Helvetica, Arial, sans-serif;">'set dfile #' (#=filenumber) before handling the vars</span></span></span></span></span></span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; background-color: rgb(253, 253, 253);" data-mce-style="font-family: verdana, helvetica, sans-serif; background-color: #fdfdfd;"><span style="font-family: Helvetica, Arial, sans-serif;" data-mce-style="font-family: Helvetica, Arial, sans-serif;"><br></span></span></span></span></span></span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;">The whole solution then becomes</span></span></span></span></span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><br></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'sdfopen <span class="Object" id="OBJ_PREFIX_DWT57_com_zimbra_url" style="color: #336699; cursor: pointer;" data-mce-style="color: #336699; cursor: pointer;"><span class="Object" id="OBJ_PREFIX_DWT69_com_zimbra_url" style="cursor: pointer;" data-mce-style="cursor: pointer;"><a href="http://mslp.nc/" target="_blank" style="color: #336699; text-decoration: none; cursor: pointer;" data-mce-href="http://mslp.nc/" data-mce-style="color: #336699; text-decoration: none; cursor: pointer;">mslp.nc</a></span></span>'</span></div><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"></span></span></span></span></span><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'sdfopen <span class="Object" id="OBJ_PREFIX_DWT58_com_zimbra_url" style="color: #336699; cursor: pointer;" data-mce-style="color: #336699; cursor: pointer;"><span class="Object" id="OBJ_PREFIX_DWT70_com_zimbra_url" style="cursor: pointer;" data-mce-style="cursor: pointer;"><a href="http://t1000.nc/" target="_blank" style="color: #336699; text-decoration: none; cursor: pointer;" data-mce-href="http://t1000.nc/" data-mce-style="color: #336699; text-decoration: none; cursor: pointer;">t1000.nc</a></span></span>'</span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'set stdfile 1'</span></div><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"></span></span></span></span></span><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'define mslp=ave(pressure.1,t=1,t=420,12)'</span></div><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"></span></span></span></span></span><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'd mslp'</span></div><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"></span></span></span></span></span><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'c'</span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'set stdfile 2'</span></div><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"></span></span></span></span></span><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'define tmp=ave(temp.2-273.15,t=1,t=420,12)'</span></div><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"></span></span></span></span></span><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"> 'd tmp'</span></div><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><br></span></span></span></span></span></div><div style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;" data-mce-style="font-family: 'Times New Roman'; font-size: 13.3333px; background-color: #fdfdfd;"><span style="font-family: verdana, helvetica, sans-serif; font-size: small;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;"><span style="background-color: rgb(253, 253, 253);" data-mce-style="background-color: #fdfdfd;">Good luck.</span></span></span></span></span></div></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>Van: </b>"Gargi Akhoury" <gargiakhoury@bitmesra.ac.in><br><b>Aan: </b>"GrADS Users Forum" <gradsusr@gradsusr.org><br><b>Verzonden: </b>Dinsdag 22 maart 2016 13:53:08<br><b>Onderwerp: </b>Re: [gradsusr] (no subject)<br><div><br></div><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" data-mce-href="mailto:tsd.davies@gmail.com">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" data-mce-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" data-mce-href="mailto:gargiakhoury@bitmesra.ac.in">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" data-mce-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" data-mce-href="http://temp.nc">temp.nc</a></div><div><a href="http://mslp.nc" target="_blank" data-mce-href="http://mslp.nc">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" data-mce-href="http://mslp.nc">mslp.nc</a>'</div><div>'sdfopen <a href="http://t1000.nc" target="_blank" data-mce-href="http://t1000.nc">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" data-mce-href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank" data-mce-href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br> </span></blockquote></div><br>_______________________________________________<br> gradsusr mailing list<br> <a href="mailto:gradsusr@gradsusr.org" target="_blank" data-mce-href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank" data-mce-href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br> <br></blockquote></div><br></div><br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div><div><br></div></div></body></html>