A guide for upper-air reference measurements