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

[netCDF #RWH-394641]: NetCDF Java: Writing Structures to files

Hi list,

I'm trying to export a file in the NetCDF 4 format using NetCDF Java. I
have followed the instructions to install the C library and it seems to be
loaded successfully with netcdfAll-4.3.jar. However, the exported file does
not contain variables with Structure data type. I have found this
https://bugtracking.unidata.ucar.edu/browse/TDS-391 and assume it is not
possible to export Structures with NetCDF 4.3. The issue seems to be
resolved in version 4.5; however when I switch to netcdfAll-4.5.jar the
exporting fails at writer.create() with the following error message:

Cannot determine Netcdf4 library path
    at ucar.nc2.jni.netcdf.Nc4Iosp.create(Nc4Iosp.java:2251)
    at ucar.nc2.jni.netcdf.Nc4Iosp.create(Nc4Iosp.java:2251)
    at ucar.nc2.NetcdfFileWriter.create(NetcdfFileWriter.java:794)

I have installed the C library netCDF4.3.2-NC4-64.exe from here:

Could someone give me a pointer?


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.