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

Code to produce opendap sequence

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.


  • Subject: Code to produce opendap sequence
  • Date: Fri, 27 Jan 2006 13:20:33 -0800

Ultimately, I want to use the java netcdf 2.2 library to generate an .nc file which, when viewed with opendap, appears to have a sequence.

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
<>< <>< <>< <>< <>< <>< <>< <>< <><