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 Harald, > there has been a bug in libsrc/posixio.c for a long time which > manifests itself when providing a sizehint which is larger than > the hardcoded value of NCIO_MAXBLOCKSIZE. In that case, for > Netcdf-3 files, it falls back to using the default blocksize > (which may be poor on some systems) instead of using the maximum > size. This really bites us for classic files larger 256 MB. > > The attached patch fixes this behavior and allows to redefine > NCIO_MAXBLOCKSIZE during compilation. I've tested your bug fix in our current development sources, and it works fine on tested platforms. It should be in the next release. Thanks for contributing this! --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: FEE-497418 Department: Support netCDF Priority: High Status: Closed