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

Getting monthly mean of Tmax and Tmin #45

Open
kun-ecology opened this issue Aug 31, 2023 · 3 comments
Open

Getting monthly mean of Tmax and Tmin #45

kun-ecology opened this issue Aug 31, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@kun-ecology
Copy link

Dear Verónica Cruz-Alonso,

Great thanks for developing this wonderful R package! It has been incredibly useful in my research.

I am currently working on a project that requires calculating the monthly means of Tmax/Tmin to determine the annual and growing season mean temperatures. While I tried to download the tif file from the server and calculate the mean (as you suggested in the readme file), I found it challenging due to the vast number (over 5000) of points spanning several years, which can not be done with my own laptop.

So, I was wondering if it might be possible that you could add a function aimed at this task to the package. It would make my life a lot easier, and I'm sure others would find it useful too.

Thank you for considering my request.
I am looking forward to your thoughts on this matter.

Best Regards
Kun Guo

@Pakillo
Copy link
Collaborator

Pakillo commented Sep 6, 2023

Dear Kun

Thanks for the suggestion. We're currently discussing it cc @VeruGHub @cpucher

Meanwhile, I'm unclear if you have tried the approach outlined here: https://verughub.github.io/easyclimate/articles/climatic-indices.html#average-climatic-values-per-site-or-time-period. That is, you may not need to download the big rasters from the FTP server, but instead download the daily data (by means of easyclimate::get_daily_data) and then calculate monthly means as shown in that tutorial

Hope this helps

@VeruGHub
Copy link
Owner

VeruGHub commented Sep 6, 2023

Dear Kun Guo:

Thank you very much for writing, I am glad to hear that the package is useful. You should be able to download daily data for 5000 points using the function get_daily_climate in the package and it is probably easier than downloading the tiff file. If you have troubles, you could split the dataset of points and download the climatic data by parts.

As @Pakillo says, we are considering your proposal!

@kun-ecology
Copy link
Author

Hi @VeruGHub @Pakillo, thanks so much for your quick reply.
Apologies for my slow response, I have been doing the fieldwork for the last two weeks.
Big thanks for the suggestion by @Pakillo, I will try it.

I am very much looking forward to the update function!
Cheers
Kun

@Pakillo Pakillo added the enhancement New feature or request label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants