# lpjprint.1

         NAME
              lpjprint - Print contents of restart file of LPJmL model
              runs

         SYNOPSIS
              lpjprint [-h] [-inpath dir] [-restartpath dir]
              [[-Dmacro[=value]] [-Idir] ...] [filename [start [end]]]

         DESCRIPTION
              Program prints contents of restart file of a LPJmL model
              run. The LPJmL configuration file is read in in order to
              find the location and name of the restart file.

         OPTIONS
              -h   display a short help text

              -inpath dir
                   set the input directory path. The path is added to the
                   input filenames if they do not contain an absolute
                   path.

              -restartpath dir
                   set the restart directory path. The path is added to
                   the restart filename if they do not contain an absolute
                   path.

              -Dmacro{=value]
                   define macro for the preprocessor of the configuration
                   file

              -Idir
                   define include directory for the preprocessor of the
                   configuration file

              filename
                   name of configuration file, default is lpjml.conf.

              start
                   Index of first grid cell to be printed.

              end  Index of last grid cell to be printed.

         EXAMPLE
         file located in the scratch file system
              Print restart file with default configuration file with restart
                   lpjprint -restartpath /scratch/02/lpj

         ENVIRONMENT
              LPJCONFIG
                   default LPJmL configuration filename

              LPJPREP
                   defines preprocessor command for LPJmL configuration
                   file, default is cpp -P.

              LPJROOT
                   defines the root directory for LPJmL. This directory is
                   added to the include directories of the preprocessor

              LPJINPATH
                   Path appended to the input filenames. Only done for
                   filenames without absolute path.

              LPJOPTIONS
                   runtime options for the preprocessor of LPJmL
                   configuration files

              LPJRESTARTPATH
                   Path appended to the restart filenames. Only done for
                   filenames without absolute path.

         EXIT STATUS
              lpjprint returns a zero exit status if the restart file has
              been printed.  Non zero is returned in case of failure.

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

         COPYRIGHT
              (C) Potsdam Institute for Climate Impact Research (PIK), see
              COPYRIGHT file

         SEE ALSO
              lpjml(1)