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.
My reading of the netcdf java library leads me to believe I need to create a Structure. Does anyone have sample code showing how to create a .nc file with a Structure using the java netcdf library?
I have experimented with netcdfFile.addRecordStructure(), but can't figure out how to access the Structure in order to call addMemberVariable in order to add the variables to it.
Sincerely, Bob Simons Satellite Data Product Manager Environmental Research Division NOAA Southwest Fisheries Science Center 1352 Lighthouse Ave Pacific Grove, CA 93950-2079 (831)658-3205 address@hidden <>< <>< <>< <>< <>< <>< <>< <>< <><