Greetings Nhan, I thought the PATH needed to point to the lib directory of the netcdf-c install, not bin. Did it used to work pointing to bin? Unfortunately, I do not have a windows machine to test on currently. Could you try adding the netcdf lib/ directory to the path? Thanks! Sean > Hi Sean, > > Thanks for your reply. After installing the C library, I include both > /*netCDF 4.3.2\bin*/ and/*netCDF 4.3.2\deps\x64\bin*//**/ in the > environment PATH. > > Regards, > Nhan > > On 11/24/2014 3:40 PM, Unidata netCDF Java Support wrote: > > Greetings Nhan, > > > > Which method are you using to point to the netCDF C library? > > > > http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/reference/netcdf4Clibrary.html > > > > Cheers! > > > > Sean > > > >> 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 > >> java.lang.NullPointerException > >> 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: > >> http://www.unidata.ucar.edu/software/netcdf/docs/winbin.html. > >> > >> Could someone give me a pointer? > >> > >> Cheers, > >> Nhan > > Ticket Details > > =================== > > Ticket ID: RWH-394641 > > Department: Support netCDF Java > > Priority: Low > > Status: Open > > > > > -- > > > *Thanh-Trong-Nhan Vo* > > > smile consult GmbH > Vahrenwalder StraÃe 4 > D-30165 Hannover > > > > > > > Tel: > > > > 0511/543617-46 > > Fax: > > > > 0511/543617-66 > > Mail: > > > > address@hidden <mailto:address@hidden> > > Internet: > > > > http://www.smileconsult.de <http://www.smileconsult.de/> > > > GeschÃftsfÃhrer: Frank Sellerhoff âPeter Milbradt âChristoph Lippert > USt-IdNr.: DE208857046 âAmtsgericht Hannover HRB 58707 > > > Ticket Details =================== Ticket ID: RWH-394641 Department: Support netCDF Java Priority: Low Status: Open
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.