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

1 view (last 30 days)
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
Pedro Vélez
Pedro Vélez on 15 Mar 2016
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.
KSSV
KSSV on 16 Mar 2016
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)

Community Treasure Hunt

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

Start Hunting!