next up previous contents
Next: A.3 gAttributes Section Up: A Skeleton Table Format Previous: A.1 Introduction

A.2 Header Section

The header section contains general information about the CDF. The format of the header section is as follows:

#header

                    CDF NAME: <cdf-name>
               DATA ENCODING: <data-encoding>
                    MAJORITY: <variable-majority>
                      FORMAT: <cdf-format>

!     Variables   G.Attributes V.Attributes   Records     Dims       Sizes
!     ---------   ------------ ------------   -------     ----    -----------
   <rVars>/<zVars>   <gAttrs>    <vAttrs>   <n-recs>/z  <n-dims>  <dim-sizes>

The fields are defined as follows:

An example header section for a CDF with 2-dimensional rVariables follows:

#header

                  CDF NAME: sample2
             DATA ENCODING: NETWORK
                  MAJORITY: ROW
                    FORMAT: SINGLE

! Variables G.Attributes V.Attributes Records  Dims   Sizes
! --------- ------------ ------------ -------  ----  -------
    14/0         18            4        1/z      2   180 360

If the rVariables had zero dimensions, the header section would be as follows:

#header

                  CDF NAME: sample0
             DATA ENCODING: NETWORK
                  MAJORITY: ROW
                    FORMAT: SINGLE

! Variables G.Attributes V.Attributes Records  Dims  Sizes
! --------- ------------ ------------ -------  ----  -----
    14/0         18            4        1/z      0



next up previous contents
Next: A.3 gAttributes Section Up: A Skeleton Table Format Previous: A.1 Introduction



cdfsupport@nssdca.gsfc.nasa.gov