[gradsusr] BUFR

Javier Peña javier.p at ereda.com
Thu Aug 11 02:39:19 EDT 2011


Dear Grads-Users,

I would like to know how I could generate a ctl for some BURF files.
Following the web page http://www.iges.org/grads/gadoc/bufrformat.html I
have created the following ctl descriptor file for a BUFR file:

DSET ^gdas.adpsfc.t12z.20020203.bufr
title gdas.adpsfc.t12z.20020203
undef 9.999E+20
*  produced by Javier Penha
DTYPE bufr
TVAR yr 4,1 mo 4,2 dy 4,3 hr 4,4 mn 4,5
STID 1,198
XVAR 6,2
YVAR 5,2
TDEF 1 linear 12z03feb2002 1hr
VARS 9
slon 0 6,2 Station longitude
slat 0 5,2 Station latitude
selv 0 7,1 Station elevation
wdir 0 11,001 Wind direction
wspd 0 11,002 Wind speed
temp 0 12,225 Temperature
dewpt 0 12,227 Dew point temperature
mslp 0 10,51 Mean sea level pressure
dp 0 10,61 3-hour pressure change
ENDVARS
but it doesn't work. ¿Does it have some error? When I try to read it with
Grads I obtain the massage:

ga-> sdfopen gdas.adpsfc.t12z.20020203.ctl
Scanning self-describing file:  gdas.adpsfc.t12z.20020203.ctl
Definition of "kt" in "/usr/share/xml/udunits2-common.xml", line 86,
overrides prefixed-unit "1000000 kilogram"
Definition of "microns" in "/usr/share/xml/udunits2-common.xml", line 296,
overrides prefixed-unit "1e-15 second"
Definition of "ft" in "/usr/share/xml/udunits2-common.xml", line 393,
overrides prefixed-unit "1e-12 kilogram"
Definition of "yd" in "/usr/share/xml/udunits2-common.xml", line 401,
overrides prefixed-unit "8.64e-20 second"
Definition of "pt" in "/usr/share/xml/udunits2-common.xml", line 622,
overrides prefixed-unit "1e-09 kilogram"
Definition of "at" in "/usr/share/xml/udunits2-common.xml", line 1019,
overrides prefixed-unit "1e-15 kilogram"
Definition of "ph" in "/usr/share/xml/udunits2-common.xml", line 1537,
overrides prefixed-unit "3.6e-09 second"
Definition of "nt" in "/usr/share/xml/udunits2-common.xml", line 1544,
overrides prefixed-unit "1e-06 kilogram"
gaopnc error: nc_open failed to open file gdas.adpsfc.t12z.20020203.ctl
read_metadata: gaopnc failed
gadsdf: Couldn't ingest SDF metadata.
¿Does someone know a script to generate a ctl descriptor file? I'm looking
for some script similar to grib2ctl.pl (used with grib files) but for BUFR
files. ¿Does it exist?

I attach eigther BUFR file and ctl descriptor file.


Thanks in advance for your help.

Javier Peña

-- 
Javier Peña Álvarez
Energías Renovables
javier.p at ereda.com
EREDA

Tel:  +34 91 5014755
Fax: +34 91 5014756
Pº. Marqués de Monistrol 7
28011 MADRID
www.ereda.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110811/afe1a71c/attachment-0003.html 


More information about the gradsusr mailing list