adddrain.1



     NAME
          adddrain - adds river basin to coordinate file

     SYNOPSIS
          adddrain [-longheader] 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

          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
               /iplex/01/2012/open/input_VERSION2/grid.bin coord.clm
               /iplex/01/2012/open/input_VERSION2/drainage.bin
               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