# printclm.1

         NAME
              printclm, printheader - Print contents of clm files for
              LPJmL

         SYNOPSIS
              printclm [-metafile] [-header] [-data] [-longheader] [-type
              {byte|short|int|float|double}] [-nbands n] [-start s] [-end
              e] [-first f] [-last l] clmfile ...

              printheader clmfile ...

         DESCRIPTION
              Program prints file header and data stored in clm data files
              for LPJmL. printheader is an alias for printclm printing the
              file header only.

         OPTIONS
              -metafile
                   File is a metafile describing the structure of the raw
                   binary file

              -header
                   Print without header

              -data
                   Print without data

              -longheader
                   set long header in CLM files.

              -type {byte|short|int|float|double}
                   Set datatype of clm file. Default is short.

              -nbands n
                   Set number  of bands to n ignoring value in file
                   header.

              -start s
                   Start output of data at year s.

              -end e
                   End output of data at year e.

              -first f
                   index of first cell for output.

              -last l
                   index of last cell for output.

              clmfile
                   filename of clm data file(s)

         EXAMPLE
              Print headers of all clm files in the current directory:
                   printclm -data *.clm

              or   printheader *.clm

         EXIT STATUS
              printclm and printheader return a zero exit status if clm
              file could be printed.  Non zero is returned in case of
              failure.

         AUTHOR
              Werner von Bloh (Werner.von.Bloh@pik-potsdam.de),

         SEE ALSO
              setclm(1), lpjml(1), cru2clm(1), grid2clm(1), cft2clm(1),
              clm(5)