<div>Hello Jennifer</div><div> </div><div>Version of GrADS: v2.0.a9 (little-endian readline printim grib2 netcdf hdf4-sds hdf5 opendap-grids,stn geotiff shapefile)</div><div> </div><div>YDEF for both files are same</div><div>
 </div><div>I am using &#39;open&#39;</div><div> </div><div>The dimension variables and other environments set before executing:</div><div>--------------------------------------------------</div><div>ga-&gt; open sing08040112d05nurbhgtah97p5ic.ctl <br>
Scanning description file:  sing08040112d05nurbhgtah97p5ic.ctl<br>Data file sing08040112d05nurbhgtah97p5ic.dat is open as file 1<br>LON set to 103.552 104.116 <br>LAT set to 1.1876 1.53311 <br>LEV set to 0.01 0.01 <br>Time values set: 2008:4:1:12 2008:4:1:12 <br>
E set to 1 1 <br>ga-&gt; open sing08040112d05nurbhgtxxl.ctl <br>Scanning description file:  sing08040112d05nurbhgtxxl.ctl<br>Data file sing08040112d05nurbhgtxxl.dat is open as file 2</div><div>ga-&gt; set dfile 1<br>Default file set to: sing08040112d05nurbhgtah97p5ic.dat <br>
ga-&gt; define mcape1=mcape<br>Define memory allocation size = 216720 bytes<br>ga-&gt; set dfile 2<br>Default file set to: sing08040112d05nurbhgtxxl.dat <br>ga-&gt; define mcape2=mcape<br>Define memory allocation size = 216720 bytes<br>
ga-&gt; d mcape2-mcape1<br>Operation error:  Incompatable grids <br>  Dimension ranges aren&#39;t equivalent<br>  Dimension = 1<br>  1st grid range = 1 129   2nd = 1 129 <br>  Error ocurred at column 14<br>DISPLAY error:  Invalid expression <br>
  Expression = mcape2-mcape1<br>----------------------------------------------------------<br></div><div>As I mentioned earlier, the number of variables are different in both ctl files because they are output from two different model runs and use different model environments.........</div>
<div> </div><div>Best regards</div><div>~Jagabandhu</div><div> </div><div class="gmail_quote">On Wed, Jan 23, 2013 at 10:27 PM, Jennifer Adams <span dir="ltr">&lt;<a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a>&gt;</span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div style="word-wrap:break-word">What version of GrADS are you using?<div>
What does the YDEF statement look like in both descriptors? </div><div>Are you using open or xdfopen?</div><div>What is the dimension environment set to before you execute your display of mcape.2-mcape.1?</div><div>--Jennifer</div>
<div><br></div><div><br><div><div><div class="h5"><div>On Jan 23, 2013, at 5:30 AM, Jagabandhu Panda wrote:</div><br><blockquote type="cite"><div>Dear users:</div><div> </div><div>     Hope you guys are doing fine. I need your help or suggestions to overcome a problem. I have WRF output from two model runs with same horizontal and vertical resolutions. I have two ctl files for this purpose with corresponding dat files for them. For both of these outputs, I have xdef, ydef, zdef and tdef same for both the files. However, the number of variables are different. One contains 166 variables and other 123. Since the model was tuned to produce more variables in the output file in the earlier case, the number of variables are more. However, in the later case it was not tuned to do so. On the other hand, they do produce same diagnostics after post processing. </div>

<div> </div><div>When I want to find the difference between say 2dcape field from these two runs, I am unable to do so as it says:</div><div> </div><div>Operation error:  Incompatable grids <br>  Dimension ranges aren&#39;t equivalent<br>
</div></blockquote></div></div><blockquote type="cite"><div><div class="h5"><div>  Dimension = 1<br>  1st grid range = 5 117   2nd = 5 117 <br>  Error ocurred at column 16<br>DISPLAY error:  Invalid expression <br>  Expression = mcape.2-mcape.1<br>
EXEC error:  error in metvar.sh.  EXEC stopped.<br clear="all">
</div><div>I am unable to point out how to proceed to find the differences each hour for a meteorological variable from the two runs. Could you please suggest some way to overcome it if possible. I will really be thankful to you for this purpose.</div>

<div> </div><div>Thanks and regards<br>-- Jagabandhu<br></div><div> </div></div></div><div class="im">
_______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></blockquote></div><br><div>
<span style="font:12px/normal Helvetica;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate;border-spacing:0px 0px;font-size-adjust:none;font-stretch:normal"><span style="font:12px/normal Helvetica;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate;border-spacing:0px 0px;font-size-adjust:none;font-stretch:normal"><span style="font:12px/normal Helvetica;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate;border-spacing:0px 0px;font-size-adjust:none;font-stretch:normal"><div>
--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a></div><div><br>
</div><br></span></span></span>
</div>
<br></div></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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br><div> </div>