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, You can write netCDF files "step by step", or even a single value at a time. Since netCDF is based on direct access rather than sequential access, you can write netCDF data in any order, for example a 2D variable by columns even if it is stored by rows. It is somewhat more efficient to write netCDF data in the same order it is stored on disk, but it's not necessary. There's a simple example of writing multiple "records" of netCDF data from various language interfaces in the examples under "Write some four-dimensional variables using a record dimension ..." on the web page of example programs: http://www.unidata.ucar.edu/software/netcdf/examples/programs/ --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: RXZ-619984 Department: Support netCDF Priority: Low Status: Closed