<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ciao, Stefano -- <div>You didn't show what your actual file names are, but the %e template is a straight string substitution, there is no integer to describe how many numbers are involved as there are with the time templating strings. If your files are:</div><div><div>WAfrica_prec_19970501_0.nc</div>WAfrica_prec_19970501_1.nc</div><div>WAfrica_prec_19970501_2.nc </div><div>et al. </div><div>Then change "%e1" in your DSET entry to "%e". </div><div><br></div><div>Also, you must change </div><div><blockquote type="cite"><div>lon=>lon </div></blockquote>to lon=>glon</div><div>(and lat to glat) because lat and lon are internally defined variables. </div><div>No need to alias precip to precip as the original name is valid as it is. </div><div>--Jennifer</div><div><br><div><div>On Apr 10, 2012, at 5:52 AM, Stefano Materia wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>I would like to concatenate several model outputs coming from different <br>ensemble members. I edited a control file accordingly, and placed all my <br>netcdf files in the same directory. However, when I open the control <br>file and attempt to display any variables (whether the e dimension is <br>varying or not), I get the "cannot contour grid - all undefined values" <br>error. What is wrong?<br><br>DSET ^WAfrica_prec_19970501_%e1.nc<br>OPTIONS template<br>DTYPE netcdf<br>TITLE Precipitation from ISO<br>UNDEF -9999<br>XDEF 38 linear -30 1.875<br>YDEF 32 linear -20 1.875<br>TDEF 184 linear 01may1997 1dy<br>EDEF 9 NAMES 0 1 2 3 4 5 6 7 8<br>ZDEF 1 linear 1 1<br>VARS 4<br>precip=>precip 0 t,y,x precip<br>lon=>lon 0 x longitude(degrees_east)<br>lat=>lat 0 x latitude(degrees_north) time=>time <br> 0 t time<br>endvars<br><br>Thanks for your help,<br>Stefano<br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><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">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></span>
</div>
<br></div></body></html>