Unidata / netcdf-cxx4

Official GitHub repository for netCDF-C++ libraries and utilities.
Other
124 stars 49 forks source link

updating a variable in a netcdf file #148

Open jbensabat opened 5 months ago

jbensabat commented 5 months ago

Hello I have a netcdf file with a number of variables and dimensions, one of them is NC_UNLIMITED I am trying to update one variable in the file so after having pulled the variables I call the following method

NcVar v; float *fvalues; // fill fvalues with new values for the size of the variable

v.Put(start,count,fvalues);

I get an exception digging deeper with the debugger I get an error number -101 (HDF error).

has anybody delt with such kind of problem ? any help would really be appreciated best jac