set_obs function

Set observations in a network model