|
Re: How to overwrite a variable in netCDF file? [message #77946 is a reply to message #77945] |
Sun, 16 October 2011 17:56  |
Zhang Bo
Messages: 22 Registered: October 2011
|
Junior Member |
|
|
On Oct 16, 7:19 pm, Ashley Berg <ashley.b...@gmail.com> wrote:
> How do I overwrite a variable in a netCDF file?
>
> I have a netCDF file that contains dozens and dozens of variables, and
> I am reading one variable in and modifying it. I want to place the
> modified variable back into the netCDF file in place of the original
> (the name and dimensions of the variable are the same as the
> original). How do I do this? I don't want to have to read in and
> write back out every variable into a new file.
>
> Thanks!
I work more closely with grib2 rather than netCDF format. My
experience is there are other scripts can be used for manipulating
meteorological more efficiently. Since they have build-in functions
for specific purpose just like your. I suspect that GrADS may have
packages for data replacing. Sorry for no further help.
|
|
|