Update Regional parametrization of Laimax authored by Marie Brunel's avatar Marie Brunel
......@@ -46,4 +46,24 @@ typedef struct
int default_irrig_system; /* default irrig system at region level (SURF=1,SPRINK=2,DRIP=3), used for ALLCROPS or ALL_IRRIGATION with regional parametrisation */
} Regionpar; /* parameters defined for each region */
```
The selection of the regional laimax as the laimax values used further is done in the [initmanage.c function](https://gitlab.pik-potsdam.de/brunel/lpjml-med/-/blob/main/src/landuse/initmanage.c) depending on the LAIMAX_REGION configuration.
\ No newline at end of file
The selection of the regional laimax as the laimax values used further is done in the [initmanage.c function](https://gitlab.pik-potsdam.de/brunel/lpjml-med/-/blob/main/src/landuse/initmanage.c) depending on the LAIMAX_REGION configuration.
## Tree density
As well as the laimax per cft and the default irrigation system, tree density is given per region.
Below, the file [manage_morocco_treedensregion.par](https://gitlab.pik-potsdam.de/brunel/lpjml-med/-/blob/regional_laimax/par/manage_morocco_treedensregion.par) which gives the tree density per region for Morocco. (only possible for one country run so far)
```
#include "../include/managepar.h"
/* region citrus fruits date_palm olives nuts grapes vegetables cotton fodder_grass */
Al_Hoceima 0.05 -1 0.028 0.021 0.036 0.2 -1 -1 -1
Oriental 0.05 -1 0.028 0.021 0.036 0.2 -1 -1 -1
Fes_Meknes 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
Rabat_Kenitra 0.05 -1 0.028 0.021 0.036 0.2 -1 -1 -1
B_M_Khenifra 0.05 -1 0.028 0.021 0.036 0.2 -1 -1 -1
Casablanca_Settat 0.05 -1 0.028 0.021 0.036 0.2 -1 -1 -1
Marrakech_Safi 0.05 -1 0.028 0.021 0.036 0.2 -1 -1 -1
Draa_Tafilalet 0.05 -1 0.028 0.021 0.036 0.2 -1 -1 -1
Souss_Massa 0.05 -1 0.028 0.021 0.036 0.2 -1 -1 -1
G_Oued_Noun 0.05 -1 0.028 0.021 0.036 0.2 -1 -1 -1
```
This new parameter file is scanned in the new routine [src/landuse/fscantreedensregion.c](https://gitlab.pik-potsdam.de/brunel/lpjml-med/-/blob/regional_laimax/src/landuse/fscantreedensregion.c) when the configuration LAIMAX_REGION is used.
\ No newline at end of file