[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BUFR code



On Tue, 18 Jul 2006, Kevin Baggett wrote:

> Hi Robb,
> I have been using the ToolsUI program that you showed me.
> On the NcML page, there is an option to "Write NetCDF" which I was
> trying to do with a BUFR file.
> After attempting to do this, I get
> java.lang.IllegalStateException: unknown DataType == Structure
>         at ucar.nc2.N3header.getType(N3header.java:434)
>         at ucar.nc2.N3header.writeVars(N3header.java:627)

kevin,

NcML hasn't been updated yet to handle structures, structures are in
netCDF 4 but not netCDF 3. I'll ask programmer in that area when he
expects it to be available and get back to you. What EUMETSAT file can't
you read, can you make one available?

robb...


> etc.
> The code looks like it is checking for Floats, Doubles, etc., so when it
> sees the Structure, it dies (Viewer shows a Structure for the obs), even
> though the elements of the structure have Floats,Doubles,etc.
> I don't know if this is something that is supposed to work or not.
> If you do have stuff that works with this (such as Profiler data), can
> you point me to or send me a file that I could use?
> I have downloaded BUFR data from EUMETSAT and I have been able to read
> all but 1 of those files with your code, so that is good.
> Thanks for your help!
> Kevin
>

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================