<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 11, 2011, at 2:39 AM, Javier Peña wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear Grads-Users,</div> <div><br>I would like to know how I could generate a ctl for some&nbsp;BURF files. Following the web page <a href="http://www.iges.org/grads/gadoc/bufrformat.html">http://www.iges.org/grads/gadoc/bufrformat.html</a>&nbsp;I have created the following ctl descriptor file for a BUFR file:</div> <div>&nbsp;</div> <div>DSET ^gdas.adpsfc.t12z.20020203.bufr<br>title gdas.adpsfc.t12z.20020203<br>undef 9.999E+20<br>*&nbsp; produced by Javier Penha<br>DTYPE bufr<br>TVAR yr 4,1 mo 4,2 dy 4,3 hr 4,4 mn 4,5 <br>STID 1,198<br>XVAR 6,2<br>YVAR 5,2<br> TDEF 1 linear 12z03feb2002 1hr<br>VARS 9<br>slon 0 6,2 Station longitude<br>slat 0 5,2 Station latitude<br>selv 0 7,1 Station elevation<br>wdir 0 11,001 Wind direction<br>wspd 0 11,002 Wind speed<br>temp 0 12,225 Temperature<br> dewpt 0 12,227 Dew point temperature<br>mslp 0 10,51 Mean sea level pressure<br>dp 0 10,61 3-hour pressure change<br>ENDVARS <br></div> <div>but it doesn't work.&nbsp;¿Does it have some error? When I try to read it with Grads I obtain the massage:</div> <div>&nbsp;</div> <div>ga-&gt; sdfopen gdas.adpsfc.t12z.20020203.ctl <br></div></blockquote><div><br></div><div>Do not use the 'sdfopen' command to open a bufr descriptor file. Use the 'open' command instead.</div><br><blockquote type="cite"><div>Scanning self-describing file:&nbsp; gdas.adpsfc.t12z.20020203.ctl<br>Definition of "kt" in "/usr/share/xml/udunits2-common.xml", line 86, overrides prefixed-unit "1000000 kilogram"<br> Definition of "microns" in "/usr/share/xml/udunits2-common.xml", line 296, overrides prefixed-unit "1e-15 second"<br>Definition of "ft" in "/usr/share/xml/udunits2-common.xml", line 393, overrides prefixed-unit "1e-12 kilogram"<br> Definition of "yd" in "/usr/share/xml/udunits2-common.xml", line 401, overrides prefixed-unit "8.64e-20 second"<br>Definition of "pt" in "/usr/share/xml/udunits2-common.xml", line 622, overrides prefixed-unit "1e-09 kilogram"<br> Definition of "at" in "/usr/share/xml/udunits2-common.xml", line 1019, overrides prefixed-unit "1e-15 kilogram"<br>Definition of "ph" in "/usr/share/xml/udunits2-common.xml", line 1537, overrides prefixed-unit "3.6e-09 second"<br> Definition of "nt" in "/usr/share/xml/udunits2-common.xml", line 1544, overrides prefixed-unit "1e-06 kilogram"<br></div></blockquote><div>An unrelated problem .... GrADS should not be linked with the udunits2 library. &nbsp;You should be using version 1.11.7.&nbsp;</div><div>Please see <a href="http://iges.org/grads/gadoc/supplibs.html">http://iges.org/grads/gadoc/supplibs.html</a> for more information.&nbsp;</div><br><blockquote type="cite"><div>gaopnc error: nc_open failed to open file gdas.adpsfc.t12z.20020203.ctl<br> read_metadata: gaopnc failed <br> gadsdf: Couldn't ingest SDF metadata.<br></div> <div>¿Does&nbsp;someone know a script&nbsp;to&nbsp;generate&nbsp;a ctl descriptor file? I'm looking for&nbsp;some script&nbsp;similar to <a href="http://grib2ctl.pl">grib2ctl.pl</a> (used with grib files) but&nbsp;for BUFR files.&nbsp;¿Does it exist?</div></blockquote>No, a utility like that would be very useful, but nobody has written it yet.</div><div>--Jennifer</div><div><br><blockquote type="cite"> <div>&nbsp;</div> <div>I attach eigther BUFR file and ctl descriptor file.</div> <div>&nbsp;</div> <div><br>Thanks in advance for your help. </div> <div><br>Javier Peña<br clear="all"><br>-- <br>Javier Peña Álvarez<br>Energías Renovables<br><a href="mailto:javier.p@ereda.com">javier.p@ereda.com</a><br>EREDA<br><br>Tel:&nbsp; +34 91 5014755<br>Fax: +34 91 5014756<br>Pº. Marqués de Monistrol 7<br> 28011 MADRID<br><a href="http://www.ereda.com">www.ereda.com</a><br></div> _______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><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> </div><br></body></html>