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 Nath, > I am a colleague of Chuck at EXA Corp. We found that while the write > issue with large records was fixed in this version, there is still an > issue on the read side. I am attaching a modified version of your > large_files.c test program which demonstrates the issue. The following > patch appears to fix the read issue. > > % diff 4.2.1.1-0{2,3}/amd64_linux_pic/src/libsrc/v1hpg.c > 1120,1121c1120,1121 > < if((*vpp)->len == UINT32_MAX) > < ncp->recsize += (*vpp)->dsizes[0]; > --- > > > if((*vpp)->len == UINT32_MAX) /* Flag for large last > > record */ > > ncp->recsize += (*vpp)->dsizes[0] * (*vpp)->xsz; > > Regards, > Nath Thanks for the excellent test and fix! I've committed both into our current development trunk, so they'll be in the next release, version 4.3.1. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: UBZ-355729 Department: Support netCDF Priority: Critical Status: Closed