The board of supervisors of any county may appropriate and expend money from the general fund of the county, either within or without the county, for the purpose of providing weather data and may co-operate with the United States, the State, other counties, municipal corporations or any other public agency for such purpose, when such data are for the benefit of the county.