mod the sample command to use dataset monitor to wait until granule is ingested. this will hopefully fix the intermittent error where the temp values count is wrong on replay.