This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Wes, I neglected to answer your follow-up email: > I was wrong here...when I change the first dimension size of each variable to > NC_UNLIMITED, the program gets past the nc_dev_var call (where it conks out > on the > second variable), but then doesn't write any data out to the file. The sample program you sent didn't actually write any data, so I can't reproduce the problem here. However, a common mistake is to not call nc_close(ncFID) before exiting, which flushes buffers and makes sure the number of records count is written to disk. If you have an example that shows a bug in writing data, we would be very interested in seeing it. Thanks! --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: VMY-113616 Department: Support netCDF Priority: Normal Status: Closed