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.
Lynton-
I have just checked in a partial fix
for your problem. There were 3 different
kinds of problems.
1. ncgen was improperly handling datalists
with vlens. This is the primary fix.
2. the version of your example that I had
had a couple of errors in it, namely,
the data for compound type fields must
be enclosed in {...} when the field
is non-scalar.
3. Even after fixing 1 and 2, your example
causes HDF5 library failures. I will
be working on that separately.
I inserted your example (with #2 fixed
and with the causes of #3 commented out)
in netcdf/ncdump/cdl4/ref_tst_vlen_data2.cdl
and it is now part of the test set.
I am not closing this issue just yet until
you have had a chance to test it.
=Dennis Heimbigner
Unidata
Ticket Details
===================
Ticket ID: JNH-860762
Department: Support netCDF
Priority: Critical
Status: Closed