improved setter method for sources
add scaling and offset fields to the DataArray