ClimateTools.jl icon indicating copy to clipboard operation
ClimateTools.jl copied to clipboard

Computing climatologies

Open juliohm opened this issue 4 years ago • 3 comments

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?

juliohm avatar Jun 04 '20 13:06 juliohm

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.

Balinus avatar Jun 04 '20 13:06 Balinus

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 👍

juliohm avatar Jun 04 '20 15:06 juliohm

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

Balinus avatar Jun 04 '20 17:06 Balinus

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

juliohm avatar Apr 02 '24 09:04 juliohm