Wow, the value of undef looks pretty ridiculous. Are you sure of it? Since all of your vars would use non-negative values, probably anything negative would suffice for the value of undef. <br><br>Your first time value in your TDEF line doesn't look to match the first times you want to plot. It looks like you want to plot data from 1979, but your first time is in 1985, so you'd have to use negative time values to access that first file of data (which you didn't...you started chsub at 1).<br>
<br>Lastly, I assume you knew which years in that time were leap years so you used the correct numbers for each chsub entry. If you change the things above and still have problems, recheck to make sure you have the correct number of time steps to represent each data file.<br>
<br>Jeff Duda<br><br><div class="gmail_quote">On Fri, Feb 15, 2013 at 10:03 AM, Luis Blacutt <span dir="ltr"><<a href="mailto:luis.blacutt@gmail.com" target="_blank">luis.blacutt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Dear all,<div><br></div><div>I have five nc files, I generated a ctl file to open them all as follows.</div><div><br></div><div><div>dset ^EraInterim%<a href="http://ch.nc" target="_blank">ch.nc</a></div><div>
chsub 1 4384 1979-1984</div><div>chsub 4385 8766 1985-1990</div><div>chsub 8767 13150 1991-1996</div><div>chsub 13151 17532 1997-2002</div><div>chsub 17533 21916 2003-2008</div><div>chsub 21917 24776 2009-2012</div>
<div>undef 200000004008175468544.000000<br></div><div>options template little_endian yrev</div><div>dtype netcdf</div><div>xdef 36 linear 274.500000 1.500000<br></div><div>ydef 46 linear -55.500000 1.500000<br></div><div>
zdef 1 linear 1 1<br></div><div>tdef 24776 linear 06:00Z01jan1985 12hr<br></div><div>vars 4<br></div><div>t2m 0 t,y,x 2-metre temperature [K]</div><div>cp 0 t,y,x Convective precipitation</div><div>lsp 0 t,y,x Stratiform precipitation (Large-scale precipitation)</div>
<div>tp 0 t,y,x Total precipitation</div><div>endvars<br></div></div><div><br></div><div>Apparently I succeeded, however the values I get are totally wrong. At this point I'm clueless, can anyone help me out?</div>
<div><br></div><div>Best regards</div><span class="HOEnZb"><font color="#888888"><div>Luis</div></font></span></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>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>