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.
Hi Kent: You cant use netcdf-3 to write variable length records. John > Full Name: Kent Myers > Email Address: address@hidden > Organization: Simfinit > Package Version: 4.3 > Operating System: Windows7 64 > Hardware: Dell Precision T3500 > Description of problem: > > Hi, > > I am trying to use NetcdfFileWriteable to create a database to maintain a > variable number of large records of data from a simulation. A record may > contain from a few hundred bytes of doubles to a few megabytes of doubles. > Some records will be small and some large. I do not know ahead of time > the size of the records or how many there will be. It seems that NetCDF > is not suitable for this application because it requires that I know the > size of the data I will write before I actually create the file. When I > tried to addDimension() after create() I got the error not in define mode. > > Is there some other technique that I have not yet discovered that would > support my application using NetCDF? > > Thanks, > Kent > > Ticket Details =================== Ticket ID: PME-115746 Department: Support netCDF Java Priority: Normal Status: Closed