Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [netcdfgroup] Handling netcdf data

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
  • 2021 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: