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

[netCDF #YHF-407954]: Fwd: Re: [netcdfgroup] netcdf-4.2-rc1 release candidate available



Heiko,

I wrote:
> 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.

I've implemented a fix and tested it, but it isn't in the 4.2 snapshot 
yet.  If you have some need for the fix before it gets in 4.2-rc2, let
me know and I can send the patch for libsrc4/nc4hdf.c.

--Russ

> > 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