NAME
writeregioncode - Write region code file
SYNOPSIS
#include "lpj.h"
int writeregioncode(Outputfile *output,
int index,
const Cell grid[],
const Config *config
);
DESCRIPTION
Function writes region code data for LPJmL grid. Only cell
coordinates with valid soil code are written. The arguments
of writeregioncode are:
output
Pointer to initialized output data. output must be
initialized by fopenoutput().
index
Set index of output.
grid Cell grid array allocated and initialized by newgrid().
config
LPJmL configuration data. Must be read by readconfig().
RETURN VALUE
Upon successful completion the number of region codes
written is returned.
AUTHORS
For authors and contributors see AUTHORS file
COPYRIGHT
(C) Potsdam Institute for Climate Impact Research (PIK), see
COPYRIGHT file
SEE ALSO
readconfig(3), fopenoutput(3), newgrid(3), fcloseoutput(3),
isopen(3), writecoords(3), writecountrycode(3)
Man(1) output converted with
man2html