Package uk.ac.bristol.star.cdf


package uk.ac.bristol.star.cdf
Pure java library for read-only access to CDF (NASA Common Data Format) files.

For low-level access to the record data of a CDF file, use the CdfReader class. For high-level access to the variables and attributes that form the CDF data and metadata, use the CdfContent class.

The package makes extensive use of NIO buffers for mapped read-on-demand data access, so should be fairly efficient for reading scalar records and whole raw array records. Convenience methods for reading shaped arrays may be less efficient.

This package is less capable than the official JNI-based java interface to the CDF C library (read only, less flexible data read capabilities), but it is pure java (no native code required) and it's also quite a bit less complicated to use.

  • Class
    Description
    Represents an entry in a global or variable attribute.
    Provides all the data and metadata in a CDF file in a high-level read-only easy to use form.
    Exception thrown during CDF parsing when the data stream appears either to be in contravention of the CDF format, or uses some feature of the CDF format which is unsupported by the current implementation.
    Encapsulates some global information about a CDF file.
    Examines a CDF file and provides methods to access its records.
    Enumerates the data types supported by the CDF format.
    Does string formatting of epoch values in various representations.
    Provides the description and entry values for CDF attribute with global scope.
    Takes care of turning raw variable record values into shaped record values.
    Handles conversions between TT_TIME2000 (TT since J2000.0) and Unix (UTC since 1970-01-01) times.
    Provides the metadata and record data for a CDF variable.
    Provides the description and per-variable entry values for a CDF attribute with variable scope.