NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdf-java] Errors reading certain NetCDF4 data

Hi mike:

Im trying to track down if this bug is fixedd or not. 1) can you send us a
file with the problem? 2) which exact version of netcdf-java are you using?

john

On Mon, Jan 12, 2015 at 3:33 PM, Gangl, Michael E (398H) <
Michael.E.Gangl@xxxxxxxxxxxx> wrote:

> We’ve written some wrappers around the NetCDF java packages and are
> running into some odd errors. We can successfully read the netCDF4 and
> NetCDF4-classic files. But we have a new NetCDF4 file that is throwing us
> an interesting error:
>
> java.lang.IllegalStateException: MessageAttribute unknown version 72
>         at
> ucar.nc2.iosp.hdf5.H5header$MessageAttribute.read(H5header.java:2645)
>         at
> ucar.nc2.iosp.hdf5.H5header$DataObject.processAttributeInfoMessage(H5header
> .java:1579)
>         at
> ucar.nc2.iosp.hdf5.H5header$DataObject.<init>(H5header.java:1548)
>         at
> ucar.nc2.iosp.hdf5.H5header$DataObject.<init>(H5header.java:1441)
>         at ucar.nc2.iosp.hdf5.H5header.getDataObject(H5header.java:1291)
>         at ucar.nc2.iosp.hdf5.H5header.access$700(H5header.java:48)
>         at
> ucar.nc2.iosp.hdf5.H5header$DataObjectFacade.<init>(H5header.java:1334)
>         at ucar.nc2.iosp.hdf5.H5header.readSuperBlock2(H5header.java:301)
>         at ucar.nc2.iosp.hdf5.H5header.read(H5header.java:156)
>         at ucar.nc2.iosp.hdf5.H5iosp.open(H5iosp.java:86)
>         at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1110)
>         at ucar.nc2.NetcdfFile.open(NetcdfFile.java:623)
>         at ucar.nc2.NetcdfFile.open(NetcdfFile.java:320)
>         at ucar.nc2.NetcdfFile.open(NetcdfFile.java:290)
>         at ucar.nc2.NetcdfFile.open(NetcdfFile.java:277)
>         at ucar.nc2.NetcdfFile.open(NetcdfFile.java:265)
>
>
> The file is provided to us, so I don’t have any idea how it’s being
> written, but would that matter? Is this a library issue? Is this some
> configuration on my part that might be causing this issue?
>
> Thanks,
> Mike Gangl
>
>
>
>
> _______________________________________________
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: