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

Recomendadtion for working with raster data #80

Open
AmandaBatlle opened this issue Feb 3, 2025 · 1 comment
Open

Recomendadtion for working with raster data #80

AmandaBatlle opened this issue Feb 3, 2025 · 1 comment

Comments

@AmandaBatlle
Copy link

Hello,

I have a time series of 30 years of Andalucia Region. What would be the best/most efficinet way to generate SPI in raster format?
I saw the example using 3-d array input:
data(cruts4)
dim(cruts4)
spei_12 <- spei(cruts4, 12)

dim(spei_12$fitted)
[1] 1440 2 3

But I'm not sure how the multidimensional SPEI output can be slices and exported in a format that can be converted back to raster.

Thank you very much.

@sbegueria
Copy link
Owner

sbegueria commented Feb 4, 2025 via email

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