nickmckay / GeoChronR

Development repository for GeoChronR
http://nickmckay.github.io/GeoChronR/
MIT License
32 stars 3 forks source link

Binning in corEns only the climate data, is it possible? Enhancement #75

Closed istvan60 closed 1 month ago

istvan60 commented 1 year ago

When on is running the Ensemble correlation with the corEns function there is no opportunity to bin only the used climate data and leave the proxy as it is. In the example below the proxy is already quite smooth, so there is no sense in removing more high-frequency variability. The aim would be to fit the resolution of the instrumental data to the proxy, i.e. find a binning for the instrumental which provides the best correspondence with the proxy.

kép

Thanks for your consideration.

nickmckay commented 1 year ago

Hmm, I'm not sure I understand. In corEns() you specify the bin.vec or bin.step that you want for both series. You can choose the resolution that makes the most sense for the two datasets. Also remember that in the case there is more variability in the proxy ensemble members than you see in the median.

Ultimately, to correlate, the two timeseries have to be aligned. Binning is the primary strategy we use in geoChronR to achieve this. There are other strategies, like interpolation or curve fitting, that could be used, and that we've discussed adding. Is this what you're looking for?