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

[netCDF #FJV-105162]: Fwd: ncgen problem with multiple record dimensions?

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.


> -------- 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):
> address@hidden:~$ 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
> address@hidden:~$ ncdump ~/mrd.nc > ~/mrd.cdl
> address@hidden:~$ ncgen -k netCDF-4 -b -o ~/mrd2.nc ~/mrd.cdl
> assertion failure: con->nctype == NC_COMPOUND
> Aborted (core dumped)
> address@hidden:~$ 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

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.