getclimate(3)

NAME
getclimate - get climate data for specified year

SYNOPSIS
#include "lpj.h"
Bool getclimate(Climate *climate,const Cell grid[],int  year,const Config *config);

DESCRIPTION
Function gets climate data for specified year. The arguments of getclimate are:

climate
    Pointer to climate data. Must be initialized by initclimate().

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

year
    year climate data is read.

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

RETURN VALUE
Upon successful read FALSE is returned and TRUE in case of failure.

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
initclimate(3), freeclimate(3), getco2(3), readconfig(3), iterate(3)