<div>The record length of R, Z (1D) and T_grads (2D) are not consistent</div> <div><BR><BR><B><I>JEFFREY S GALL <jsg229@PSU.EDU></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. 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. Suppose that I want to create a r-z plot of temperature. This is what I have done:<BR><BR>DO T=1,4 !T=time counter<BR><BR> <div> WRITE(541,REC=C) (R(I,T),I=1,IR) !R=radius, IR=32<BR> WRITE(541,REC=C) (Z(K,T),K=1,KX) !Z=height, KX=30</div> <div> WRITE(541,REC=C) ((T_GRADS(K,I,C),K=1,KX),I=1,IR) !T_GRADS = temperature</div> <div> </div> <div>END
DO</div> <div> </div> <div>Now, my .ctl file looks like:</div> <div>DSET 0.3sf_grads.dat<BR>byteswapped<BR>TITLE Sample<BR>UNDEF -9999<BR>XDEF 30 linear 1 1<BR>YDEF 32 linear 1 1<BR>ZDEF 1 linear 1 1<BR>TDEF 4 linear 12:00Z15SEP1999 180MN<BR>vars 3<BR>z 0 99 height<BR>r 0 99
radius<BR>t_az 0 99 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. What am I doing wrong here. Any help/advice in fixing this problem would be most appreciated. Thanks,</div><BR> <div> </div> <div>Jeff<BR></div> <div><BR><BR></div></BLOCKQUOTE><BR><p> 
<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>.