reduce_to_paleoTS function

reduce pre-paleoTS format to paleoTS