NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
On Thu, Jan 28, 2021 at 7:04 AM Sourish Basu <Sourish.Basu@xxxxxxxxxxxx> wrote: > What you want to do can be easily done in python once you've installed the > python-netcdf module (https://pypi.org/project/netCDF4/), as follows: > > you beat me to it :-) > with Dataset('file_name.nc', 'a') as fid: > note that the 'a' is critical here -- that allows you to change the file in place -- the default is read-only. -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chris.Barker@xxxxxxxx
netcdfgroup
archives: