Somehow the DOC got mixed up -- that was an input argument at some point but it then seemed cleaner to do the decimation outside of the read function