MagicForrest / DGVMTools

R package for processing, analysing and visualising ouput from Dynamic Global Vegetation Models (DGVMs)
GNU General Public License v3.0
27 stars 22 forks source link

Custom biome schemes #73

Closed lukasbaumbach closed 3 months ago

lukasbaumbach commented 3 years ago

Hi,

first of all this is less of an issue but more of a feature request I guess. While the existing biome schemes already cover many use cases, in some cases it would be nice to be able to also use custom schemes tailored to the respective region of interest. I saw that there is already a class for schemes, so I wonder if it would be possible to make this accessible to the user for defining their own scheme objects?

Cheers :)

MagicForrest commented 3 years ago

Hi Lukas,

You can definitely make your own biome scheme. Look at the the classifications-schemes.R for a template, then simply copy one and modify it to meet your needs. You will need to do two things, set the biome rules in a function and define the new Classification.

Any specific questions just ask them here, I'll keep the issue open.

lukasbaumbach commented 3 years ago

I see now, I'll try to wriggle through the code (will need to combine different growth-related outputs). Thanks!