<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The template substitution string should be just %e, and your edef should have the 2-digit names: <div> dset ^mmm%e.dat</div><div> edef 11 names 01 02 03 04 05 06 07 08 09 10 11</div><div>There is no formatting of numbers with %e -- it is a straight substitution of the ensemble name given in EDEF. </div><div><br></div><div>Also, since your data do not vary in Z, then the variable declaration should be:</div><div>s 0 99 height</div><div><br></div><div>--Jennifer</div><div><br></div><div><div><div>On Jan 16, 2009, at 11:48 AM, Lemmy wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Jennifer,<br><br>I have gone through the instructions of using ensemble dimension but somehow my data files are not opened properly.<br><br>Here are the ensemble of 11 data files I have:<br><br>mmm00.dat<br>mmm01.dat<br>.....<br>mmm11.dat<br><br>Here is my ctl file:<br><br>DSET ^mmm%e2.dat<br>OPTIONS template<br>TITLE etkf<br>UNDEF -99999<br>XDEF 51 linear 0 2.5<br>YDEF 21 linear 0 2.5<br>ZDEF 1 linear 0 1<br>TDEF 500 linear 00z01apr99 3hr<br>EDEF 11 names 1 2 3 3 4 5 6 7 8 9 10 11<br>vars 1<br>s 1 99 height<br>endvars<br><br>and here is the result:<br><br>Scanning description file: baro.ctl<br>Data file mmm%e2.dat is open as file 1<br><br>I would expect it to open mmm01.dat,...., but it plainly opened just mmm%e2.dat. What surprised me further is that although the file mmm%e2.dat does not exist, the X-window is still popped up as if it works. I appreciate your any help very much.<br><br>Lemmy<br><br><br><br><br><br><br>--- On Thu, 15/1/09, Jennifer Adams <<a href="mailto:jma@COLA.IGES.ORG">jma@COLA.IGES.ORG</a>> wrote:<br>From: Jennifer Adams <<a href="mailto:jma@COLA.IGES.ORG">jma@COLA.IGES.ORG</a>><br>Subject: New Documentation for the Ensemble Dimension<br>To: <a href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a><br>Date: Thursday, 15 January, 2009, 7:57 AM<br><br>Hi, Everyone --<br>I have added a new section to the User's Guide that explains how the<br>ensemble dimension has been implemented in GrADS 2.0. Additional<br>topics include how to create a descriptor file for an ensemble data<br>set, how to organize your data using templating, special<br>considerations for certain data formats, and some examples (with<br>illustrations!) using real data.<br><br><a href="http://iges.org/grads/gadoc/ensembles.html">http://iges.org/grads/gadoc/ensembles.html</a><br><br>Real time NCEP GFS Ensemble forecasts are behind our GDS at<br>http://monsoondata.org:9090/dods/gfsens/<br>Why not take a moment to fire up 'gradsdap', use 'sdfopen' to<br>access<br>the latest forecast, and start playing with ensemble data. It's cool!<br><br>--Jennifer<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; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><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></div></span> </div><br></div></body></html>