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

[netCDF #DVS-605789]: Getting values of compound attributes

Hi James,

> What is the best way to get the values of a compound attribute? Is there
> a way to get the values of each field in a compound attribute separately?

Values of a compound attribute are accessed atomically.  It's not possible to
read or write member fields separately.  That's a constraint of the undelying
HDF5 library.  This is the C-based netCDF-4 library; I don't know whether the
netCDF-Java library provides access to individual fields, and there's no one 
here to ask right now.  If your question is about the netCDF-Java API, I'll
find out and get back to you, but you might get a faster response to that from 


Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu

Ticket Details
Ticket ID: DVS-605789
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.