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

Computing climatologies #158

Closed
juliohm opened this issue Jun 4, 2020 · 4 comments
Closed

Computing climatologies #158

juliohm opened this issue Jun 4, 2020 · 4 comments

Comments

@juliohm
Copy link
Member

juliohm commented Jun 4, 2020

I am new to climate sciences so forgive me if this is not an appropriate question for the project.

Is it possible to compute climatologies given a NetCDF file with a time series of climate data like in https://apps.ecmwf.int/static/wmolcdnv/docs/daily_climatology_description.pdf?

@Balinus
Copy link
Member

Balinus commented Jun 4, 2020

Daily climatologies are not implemented currently in ClimateTools. It shouldn't be too hard to implement though.

We need to add a method for function resample where we define day and size_window. Then loop over all available julian day in the provided ClimGrid (i.e. netCDF file) and do a weighted mean (+ other statistics of interest) of the window around the julian day (including all years).

The building block for extracting all index for a given julian day and a moving window for all available year is already present in the bias correction function qqmap.

I guess the only function not yet defined would be the weights, but this should not be difficult.

I could probably sketch something by the end of June or I can help you along the way if you are in a hurry. It would not take a lot of time to do it, but with the pandemic, I have my 3 childrens at home, hence not a lot of free time.

@juliohm
Copy link
Member Author

juliohm commented Jun 4, 2020

Thank you @Balinus , I will review what I need to do more carefully and will come back if this is blocking other activities. Hopefully I will be able to contribute to the package 👍

@Balinus
Copy link
Member

Balinus commented Jun 4, 2020

Great! That would be a great addition and is inline with the package objectives.

@juliohm
Copy link
Member Author

juliohm commented Apr 2, 2024

We have other ways to compute means over time series of images nowadays. Closing the issue.

@juliohm juliohm closed this as completed Apr 2, 2024
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