subsample function

Convert a daily record to discrete