The quantity of spirits contained in any vat, vessel, cask, bottle or package in any distillery or warehouse may be ascertained by weight, measure or gauge, as may be prescribed.