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
Werner von Bloh (Werner.von.Bloh@pik-potsdam.de),

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