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 Charlie, > I never received a response to this bug report so I am resending. > Hope I am using the right address. Yes, but this is the first time I've seen it, so I don't know what happened to your previous submission. We've duplicated the problem using the files you made available, and it looks like a bug in how ncdump displays multidimensional character arrays that have more than one unlimited dimension. We hope to have a fix soon. Thanks for being persistent about reporting the bug. --Russ > -------- Original Message -------- > Subject: ncgen problem with multiple record dimensions? > Date: Thu, 19 Jun 2014 15:36:51 -0700 > From: Charlie Zender <address@hidden> > Organization: University of California, Irvine > To: netCDF Support <address@hidden> > > Hi, > > Latest ncgen seems to fail to create netCDF4 file from this CDL file > produced by ncdump from a presumably valid netCDF4 file that > contains multiple record dimensions (MRD): > > zender@givre:~$ ncks -O -d time,0,1 -d run,0,1 -d step,0,1 -d number,0,1 > -d ngr,0,1 ${DATA}/hdf/71355.ecmf.1.nc ~/mrd.nc > zender@givre:~$ ncdump ~/mrd.nc > ~/mrd.cdl > zender@givre:~$ ncgen -k netCDF-4 -b -o ~/mrd2.nc ~/mrd.cdl > assertion failure: con->nctype == NC_COMPOUND > > Aborted (core dumped) > zender@givre:~$ ncgen -v > ncgen: option requires an argument -- 'v' > Usage: ncgen [ -b ] [ -c ] [ -f ] [ -k kind ] [ -x ] [-S struct-format] > [-M <name> [ -o outfile] [ file ... ] > netcdf library version 4.3.3-rc1 of Jun 5 2014 13:50:57 $ > > The basic problem is that ncgen cannot work with ncdump output. > This prevents me from examining the possibly deeper problems > that this bug exposes, which have troubled some NCO users. > > mrd.nc and mrd.cdl are at > > http://dust.ess.uci.edu/tmp/mrd.cdl > http://dust.ess.uci.edu/tmp/mrd.nc > > because they are too big to send from my current slow connection. > > Can you reproduce the problem? > If so, please let me know when there is a fix. > > Thanks! > c > -- > Charlie Zender, Earth System Sci. & Computer Sci. > University of California, Irvine 949-891-2429 )'( > > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: FJV-105162 Department: Support netCDF Priority: Normal Status: Closed