[netcdfgroup] BadType exception using NcVar.getVar(void*)

Hello,

I'm trying to read float values from a netcdf file with the new C++ API. 
(NetCDF Version: 4.1.3)

Everything works fine, using NcVar.getVar(float*), however, if I try 
NcVar.getVar(void*) an NcBadType exception is thrown.

Is this a bug in the library or in my code.
According to the corresponding c function "nc_get_var", this should not 
happen.

Best regards,
Sebastian

Attachment: signature.asc
Description: This is a digitally signed message part.

  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: