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 Heiko, Thanks for sending the bug report. I've created a Jira issue describing the bug: https://www.unidata.ucar.edu/jira/browse/NCF-141 A temporary workaround is to avoid having a dimension with the same name as a variable, when the variable is not a coordinate variable for the dimension, as is the case with the unused "time" dimension in your file and the "int time(yc,xc)" variable. I've verified that the compression works OK if either the dimension or variable is renamed, or if the unused dimension is deleted. I'm not sure whether this will get fixed before the 4.2 release, as the bug appears to occur because code is missing to detect this case, and it may need to be added in several places in the netCDF-4 library. --Russ > Thanks, > > with the documentation I was able to install netcdf-4.2-rc1. The library > seems to work well (with fimex), but I have a problem when using nccopy > to convert a nc3 file to nc4 with compression: > > heikok@pc4027:/disk1/Fimex$ /disk1/heiko/local/netcdf4.2-rc1/bin/nccopy > -k 4 ascat_20071117_052102_metopa_05591_eps_o_250_0100_ovw.l2.nc test.nc > heikok@pc4027:/disk1/Fimex$ /disk1/heiko/local/netcdf4.2-rc1/bin/nccopy > -k 4 -d 3 ascat_20071117_052102_metopa_05591_eps_o_250_0100_ovw.l2.nc > test.nc > NetCDF: Start+count exceeds dimension bound > Location: file nccopy.c; line 954 > > You can get a copy of the file from: > > http://pastebin.met.no/p/c/file?id=a044194a3e/ascat_20071117_052102_metopa_05591_eps_o_250_0100_ovw.l2.nc > > Best regards, > > Heiko > > > > > > On 2012-01-20 20:04, Unidata netCDF Support wrote: > > I realized that the rc1 documentation was not accessible. > > So, look at this page: > > http://www.unidata.ucar.edu/software/netcdf/docs_rc/build_default.html > > > > =Dennis Heimbigner > > Unidata > > =Dennis Heimbigner > > Unidata > > > > > > Ticket Details > > =================== > > Ticket ID: YHF-407954 > > Department: Support netCDF > > Priority: Normal > > Status: Closed > > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: YHF-407954 Department: Support netCDF Priority: Normal Status: Closed