Filter question

Observations at each of locations are available at irregular times.
Is there a filter that at each of these locations would pick a single observation that falls closest to a specified (analysis) time and within a window? Thanks

The Temporal Thinning filter seems a good match for your needs.