Each row is a settled gate setting and the steady meter flow it produced. When you have a full day of steady readings at a new gate position, add a row — the fit and the gate answer above update instantly. Weight is optional (use the number of hourly readings; blank = 1). Exclude the first opening after the canal is off (cold start), since its ramp understates steady flow.
| Gate (in) | Meter (cfs) | Weight | Note |
|---|
To make edits permanent, replace the DEFAULT_CALIBRATION block near the top of this file's <script> with the text below, then save the file.
A straight line is fit through the calibration points (weighted least-squares), giving cfs = a·in + b. To find a gate setting we invert it: in = (cfs − b) / a. A local interpolation between the two nearest measured points is shown as a cross-check. As you add points the line refines itself; no formula needs editing by hand.