Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating a variable in a netcdf file #148

Open
jbensabat opened this issue Jan 31, 2024 · 0 comments
Open

updating a variable in a netcdf file #148

jbensabat opened this issue Jan 31, 2024 · 0 comments

Comments

@jbensabat
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant