cru2clm.1
NAME
cru2clm - convert raw binary data files to clm data files
for LPJmL
SYNOPSIS
cru2clm [-h] [-firstyear first] [-lastyear last] [-nyear n]
[-scale s] [-firstcell f] [-ncell n] [-nbands n] [-swap]
[-yearcell] crufile clmfile
DESCRIPTION
Program converts raw binary data file consisting of 16bit
integer values into a file format suitable for LPJmL. It is
primarily intended to convert climate data files from the
Climate Research Unit (CRU).
OPTIONS
-h display a short help text
-firstyear first
first year in CRU file (default is 1901)
-lastyear last
last year in CRU file
-nyear n
number of years in CRU file (default is 103)
-scale s
set scale to s (default is 1)
-firstcell f
first cell in data file (default 0)
-ncell n
number of cells in data file (default is 67420)
-nbands n
number of bands in data/output file (default is 12)
-swap
change byte order in CRU file
-yearcell
does not revert order in CRU file
crufile
filename of binary CRU data file
clmfile
filename of clm data file written
EXAMPLES
Create clm data file from CRU dataset changing byte order:
cru2clm -swap tmp_1901-2003.bin tmp2003.clm
EXIT STATUS
cru2clm returns a zero exit status if the clm file is
created. 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), asc2clm(1), txt2clm(1), grid2clm(1), cft2clm(1),
catclm(1), clm(5)
Man(1) output converted with
man2html