I can give you a partial solution, not really LTTB. If you want to get a fixed number of samples, you can always precalculate the sampling factor. In your case, you want 500 samples and have 25 years. 25 years have ~25*8760 hours, so 219000 hours. We divide by 500 and we get that we need to sample by 438hours