Package uk.ac.bristol.star.cdf
Class CdfContent
java.lang.Object
uk.ac.bristol.star.cdf.CdfContent
Provides all the data and metadata in a CDF file in a high-level
read-only easy to use form.
- Since:
- 20 Jun 2013
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns some global information about the CDF file.Returns the global attributes.Returns the variable attributes.Variable[]
Returns the variables.
-
Constructor Details
-
CdfContent
Constructs a CdfContent from a CdfReader. This reads the attribute metadata and entries and variable metadata. Record data for variables is not read at construction time.- Parameters:
crdr
- object which knows how to read CDF records- Throws:
IOException
-
-
Method Details
-
getGlobalAttributes
Returns the global attributes.- Returns:
- global attribute array, in order
-
getVariableAttributes
Returns the variable attributes.- Returns:
- variable attribute array, in order
-
getVariables
Returns the variables.- Returns:
- variable array, in order
-
getCdfInfo
Returns some global information about the CDF file.- Returns:
- CDF info
-