[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #RTA-885842]: Writing several netcdf files simultaneously by multiple threads

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.


  • Subject: [netCDF #RTA-885842]: Writing several netcdf files simultaneously by multiple threads
  • Date: Wed, 05 Oct 2016 11:20:56 -0600

One more point. Writing into memory could be implemented.
but the problem is what to do if the amount written is larger
than the block of memory. There are two obvious solutions:
1. have the netcdf-c library generate an NC_ENOMEM (out of memory)
   error, or some other error.
2. Don't have the user specify the memory, but rather have the
   netcdf-c library allocate and (when necessary) extend the memory
   and at nc_close, make it possible for the user to get the final
   memory block.

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: RTA-885842
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.