adddrain.1



     NAME
          adddrain - adds river basin to coordinate file

     SYNOPSIS
          adddrain [-longheader] [-downstream] [-short] coord_all.clm
          coord.clm drainage.clm coord_basin.clm

     DESCRIPTION
          Program creates new coordinate file with cells added that
          are part of the river basin. This has to be done for
          simulations with river routing enabled.

     OPTIONS
          -longheader
               Long (version 2) header assumed for CLM files

          -downstream
               By default only cell from upstream are added. Enabling
               this flags also cells from downstream will be added

          -short
               The datatype of coordinate data is set to short,
               default is float

          coord_all.clm
               Global coordinate file

          coord.clm
               Coordinate file river basins should be added

          drainage.clm
               River routing file corresponding to coord_all.clm

          coord_basin.clm
               New coordinate file created

     EXAMPLES
          adddrain -short
               grid.clm coord.clm drainage.clm coord_basin.clm

     EXIT STATUS
          Non zero is returned in case of failure.


     AUTHORS
          For authors and contributors see AUTHORS file


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

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



















































Man(1) output converted with man2html