$${v(z) = v_\text{ref} \frac{\log \frac{z}{z_0}}{\log\frac{z_\text{ref}}{z_0}}}$$