Class CdfContent


  • public class CdfContent
    extends java.lang.Object
    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 Detail

      • CdfContent

        public CdfContent​(CdfReader crdr)
                   throws java.io.IOException
        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:
        java.io.IOException
    • Method Detail

      • getGlobalAttributes

        public GlobalAttribute[] getGlobalAttributes()
        Returns the global attributes.
        Returns:
        global attribute array, in order
      • getVariableAttributes

        public VariableAttribute[] getVariableAttributes()
        Returns the variable attributes.
        Returns:
        variable attribute array, in order
      • getVariables

        public Variable[] getVariables()
        Returns the variables.
        Returns:
        variable array, in order
      • getCdfInfo

        public CdfInfo getCdfInfo()
        Returns some global information about the CDF file.
        Returns:
        CDF info