Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with Koppen Geiger calculation #61

Open
CatherineBuckland opened this issue Nov 11, 2024 · 1 comment
Open

Help with Koppen Geiger calculation #61

CatherineBuckland opened this issue Nov 11, 2024 · 1 comment
Assignees

Comments

@CatherineBuckland
Copy link

Hi pastclim team,
I am new to the pastclim package, and keen to try and use it to calculate palaeo Koppen Geiger classifications using the package and data from the CHELSA-TraCE21K data repository.

In the pastclim example, I see you use call in the data 'Temp', and 'Prec' as three dimentional arrays. I am interested in looking at particular periods, for example 5-4.5ka (as an example), is it simplest for me to produce new raster files for each monthly average, and then group them as a 12-layer raster stack, which I then call into the function. Would this work?
Also I know that the precip value refers to averange monthly precipitation, but what metric is Temp? Is it average monthly temp, min or max? I cannot see Mean Monthly Temp available on CHELSA-TraCE21K - only max and min.

Many thanks,

Catherine

@dramanica
Copy link
Member

Yes, you can use the function on SpatRaster objects, so what you suggest should work.
For mean temperature, you can simply use (tmin+tmax)/2; that's what was used in the original publication to compute bio1, which is the mean annual temperature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants