Is possible to modify the value of a giving dimension on a netcdf file?

I am using the native matlab netcdf functions to modify a netcdf file, and i would like to modify the value of a dimension. netcdf.renameDim will allow me to modify the name of the dimension, but not the size of the dimension. any advice?

3 Comments

If you know the dimension and its size,why don't you make a new netcdf file?
thanks for the suggestion, but it is a pretty large netcdf file, with a lot of dimension, attributes, variables,.....I would prefer just to modify one single dimension than having to write all again. Basically I am calibrating some data, and publishing back the calibrated file. I only have to increase the dimension of the variables than contains the calibration information.
what is the original dimension what is the new dimension? Tell me the variables on which the dimension depends.

Sign in to comment.

Answers (0)

Asked:

on 15 Mar 2016

Commented:

on 16 Mar 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!