Error analysis and sampling strategy design for using fixed or mobile platforms to estimate ocean flux