# grid2clm.1

         NAME
              grid2clm - convert grid data file to clm data files for
              LPJmL

         SYNOPSIS
              grid2clm [-h] [-swap] [-scale s] [-cellsize c] gridfile
              clmfile

         DESCRIPTION
              Program converts raw binary data file consisting of 16bit
              integer values in a file format suitable for LPJmL.

         OPTIONS
              -h   display a short help text

              -swap
                   change byte order in grid file

              -scale s
                   set scale factor, default is 0.01

              -cellsize c
                   set cell size, default is 0.5

              gridfile
                   filename of binary grid data file

              clmfile
                   filename of clm data file written

         EXAMPLES
              Create clm data file from grid dataset changing byte order:
                   grid2clm -swap grid.bin grid.clm

         EXIT STATUS
              grid2clm returns a zero exit status if the clm file is
              created.  Non zero is returned in case of failure.

         AUTHORS
              Werner von Bloh (Werner.von.Bloh@pik-potsdam.de), Sibyll
              Schaphoff (Sibyll.Schaphoff@pik-potsdam.de), Stefanie Rost
              (Jachner) (Stefanie.Rost@pik-potsdam.de), Marlies
              Gumpenberger (Marlies.Gumpenberger@pik-potsdam.de), Tim
              Beringer (Erbrecht) (Tim.Beringer@pik-potsdam.de), Christoph
              Mueller (Christoph.Mueller@pik-potsdam.de)

         SEE ALSO
              lpjml(1), txt2clm(1), cru2clm(1), clm(5)