<div>Dear Grads-Users,</div>
<div><br>I would like to know how I could generate a ctl for some 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> I have created the following ctl descriptor file for a BUFR file:</div>
<div> </div>
<div>DSET ^gdas.adpsfc.t12z.20020203.bufr<br>title gdas.adpsfc.t12z.20020203<br>undef 9.999E+20<br>* 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. ¿Does it have some error? When I try to read it with Grads I obtain the massage:</div>
<div> </div>
<div>ga-> sdfopen gdas.adpsfc.t12z.20020203.ctl <br>Scanning self-describing file: 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>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 someone know a script to generate a ctl descriptor file? I'm looking for some script similar to <a href="http://grib2ctl.pl">grib2ctl.pl</a> (used with grib files) but for BUFR files. ¿Does it exist?</div>
<div> </div>
<div>I attach eigther BUFR file and ctl descriptor file.</div>
<div> </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: +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>