getlanduse(3)

NAME
getlanduse - Get land use data

SYNOPSIS
#include "lpj.h"
Bool getlanduse(Landuse landuse,Cell grid[],int year,int ncft,const Config *config);

DESCRIPTION
Function reads land use data for specified year. The arguments of getlanduse are:

landuse
    Pointer to land use data. Must be initialized by initlanduse().

grid
    Cell grid array allocated and initialized by newgrid().

year
    Sets year land use is read.

ncft
    Number of crop plant functional types.

config
    LPJmL configuration data. Must be read by readconfig().

RETURN VALUE
Upon successful completion FALSE is returned and TRUE on error.

AUTHORS
Werner von Bloh (Werner.von.Bloh@pik-potsdam.de), Sibyll Schaphoff (Sibyll.Schaphoff@pik-potsdam.de), Stefanie Rost (Jachner) (Stefanie.Rost@pik-potsdam.de), Marlies Gumpenberger (Marlies.Gumpenberger@pik-potsdam.de), Tim Beringer (Erbrecht) (Tim.Beringer@pik-potsdam.de), Christoph Mueller (Christoph.Mueller@pik-potsdam.de) Jens Heinke (Jens.Heinke@pik-potsdam.de), Hester Biemans (Hester.Biemans@wur.nl), Kirsten Thonicke (Kirsten.Thonicke@pik-potsdam.de), Ursula Heyder (Ursula.Heyder@pik-potsdam.de),

SEE ALSO
readconfig(3), initlanduse(3), freelanduse(3)