<div>The record length of R, Z (1D) and T_grads (2D)&nbsp;are not consistent</div>  <div><BR><BR><B><I>JEFFREY S GALL &lt;jsg229@PSU.EDU&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">I am attempting to create a .dat file and .ctl file for use in creating radius-height (r-z) plots in Grads.&nbsp; I have 4 different times and the dimensions of the data are 32 points in the radial direction and 30 points in the vertical direction.&nbsp; Suppose that I want to create a r-z plot of temperature.&nbsp; This is what I have done:<BR><BR>DO T=1,4&nbsp; !T=time counter<BR><BR>  <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WRITE(541,REC=C) (R(I,T),I=1,IR) !R=radius, IR=32<BR>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; WRITE(541,REC=C) (Z(K,T),K=1,KX) !Z=height, KX=30</div>  <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WRITE(541,REC=C) ((T_GRADS(K,I,C),K=1,KX),I=1,IR) !T_GRADS = temperature</div>  <div>&nbsp;</div>  <div>END
 DO</div>  <div>&nbsp;</div>  <div>Now, my .ctl file looks like:</div>  <div>DSET&nbsp;&nbsp;&nbsp; 0.3sf_grads.dat<BR>byteswapped<BR>TITLE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sample<BR>UNDEF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -9999<BR>XDEF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 30&nbsp; linear&nbsp; 1&nbsp; 1<BR>YDEF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32&nbsp;&nbsp; linear 1&nbsp; 1<BR>ZDEF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp; linear 1&nbsp; 1<BR>TDEF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp; linear&nbsp;&nbsp; 12:00Z15SEP1999&nbsp;&nbsp; 180MN<BR>vars&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3<BR>z&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 99&nbsp; height<BR>r&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 99&nbsp;
 radius<BR>t_az&nbsp;&nbsp; 0 99&nbsp; TEMP AZ. AVG.<BR>endvars<BR></div>  <div>When I attempt to create my r-z plot, I get a field is constant, value=0 error.&nbsp; What am I doing wrong here.&nbsp; Any help/advice in fixing this problem would be most appreciated.&nbsp; Thanks,</div><BR>  <div>&nbsp;</div>  <div>Jeff<BR></div>  <div><BR><BR></div></BLOCKQUOTE><BR><p>&#32;
                <hr size=1>
Now you can <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/reading_pane/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">scan emails quickly with a reading pane</a>. Get the new <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/reading_pane/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">Yahoo! Mail</a>.