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

Replace polynomial in CRU downscaling with piecewise linear #66

Open
fabern opened this issue Dec 3, 2024 · 2 comments
Open

Replace polynomial in CRU downscaling with piecewise linear #66

fabern opened this issue Dec 3, 2024 · 2 comments

Comments

@fabern
Copy link
Member

fabern commented Dec 3, 2024

The CRU dataset is downscaled from the monthly observations to daily observations.
Some variables (e.g. temperature) use polynomial interpolation for that.
This can give rise to strange patterns, e.g. see below the seasonal patterns of daily minimum temperature for the years 1901 to 2023 at a Swiss site.

image

The differences might be too small to be relevant for vegetation simulations.
Nevertheless, I am wondering whether a simple piecewise linear interpolation would not be better behaved.
Is there a strong justification of the polynomial approach? Otherwise, I would suggest to change this to something linear.

Furthermore, a linear interpolation would have the advantage that the interpolated values are guaranteed to lie within the extremes of the observed ones. This could help avoid potential numerical issues.

@stineb
Copy link
Collaborator

stineb commented Dec 4, 2024

Could you plot the time series (all years)?

@fabern
Copy link
Member Author

fabern commented Dec 5, 2024

image

This is the time series 1901 to 2023.

Details get a bit lost. What we can see however, is that the down-scaled, interpolated time series is not bounded by the extremes of the monthly averages.

This extensions is not a problem per se. After all, the down-scaled data should be more varying than the average. But the shape in the first plot just looks strange.

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