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.
> Hello, > > I'm working with NetCDF-Java to read a NetCDF file. My NetCDF file contains a > compound type with several int records nested in it. The compound type also > contains two nested VLEN int types. I'm able to read values in the non-VLEN > int fields of the compound type, but I'm not able to read values in VLEN > types. I can only read their lengths. I have looked on the Github project to > try and find an example of reading VLEN types using Java but I was not able > to find anything. Do you have any resources available that demonstrate how to > read values out of a VLEN type that is nested inside of a compound type? > > I've attached my IntTimSciSamp.nc file, the output of "ncdump > IntTimSciSamp.nc", and my IntTimSciSampRead.java code to this email. I > appreciate any help you could give me. > > Thank you, > Justin Spurgeon > Hi Justin: Im checking this out. Ill let you know what i find. John Ticket Details =================== Ticket ID: VCT-362793 Department: Support netCDF Java Priority: Normal Status: Open