writing to a netCDF file: possible to append new records?

From: Bob Tomas <tomas_at_nyahnyahspammersnyahnyah>
Date: Fri Aug 20 2010 - 15:45:11 MDT

Hello

I created a netCDF file with "time" as an unlimited, record dimension outside
of a do loop. Then, inside a do loop I read in some data, process it, and
write it out to my netCDF file. Each record is associated with an increasing
time coordinate value. I was hoping that this would produce a file of size
n, where n is the number of times I loop. Instead I get a file size with
one record in it. So instead of appending the records with each write,
it looks like I'm overwriting the record that is already in the file.

Is there something I'm possibly missing that will allow me to append records
to a netCDF file in ncl?

Thanks.

Bob

-------------------------------------------------------------
Robert A. Tomas
National Center for Atmospheric Research
Climate and Global Dynamics Division - Climate Analysis & Oceanography
1850 Table Mesa Drive
Boulder, CO 80305-3000
e-mail: tomas@ucar.edu tel: 303-497-1342 fax: 303-497-1348
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Aug 20 15:45:16 2010

This archive was generated by hypermail 2.1.8 : Wed Aug 25 2010 - 11:50:26 MDT