You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH: warn when a drag CSV does not form a regular grid #1238
When a multi-variable drag CSV given to Rocket (power_off_drag / power_on_drag) is not an exact grid, Rocket.__load_rocket_drag_csv falls back to scattered interpolation without telling the user. This happens with a missing combination, a repeated row, or the same value written two ways (0.3 and 0.30000000000000004).
The drag coefficient then changes both between and outside the points. On a 3 x 3 table with one point dropped, a query beyond the last alpha goes from 0.57 to 0.53.
Proposal: a warnings.warn where the loader falls back (if csv_func is None:), saying the table is not a full grid and scattered interpolation is used. Then remove "no warning is given" from the note in docs/user/rocket/rocket_usage.rst.
Activity