def reload_after_reset(station, reset_at):$ export = Export.open(station)$ window = reload_window(reset_at, margin_minutes=45)$ $ for block in export.blocks(window):$ if block.checksum_ok():$ continue$ export.requeue(block, reason="gauge reset")$ $ return export.commit(dry_run=False)$