Downsample

These are the commits that implement downsampling when importing instrument data.
This isn't something changed for this PR, but is there a reason we're shelling out to this command instead of using it directly?