{"id":"v001","input":{"charted_depth":"12.0 m","tide":"1.5 m","draft":"10.8 m","squat":"0.6 m","margin":"1.0 m"},"expect":{"ok":true,"result.clearance.value":1.0999999999999996,"result.under_keel.value":2.0999999999999996,"result.water_depth.value":13.5,"result.keel_depth.value":11.4},"source":"add-marine-navigation navigation/under-keel-clearance scenario: the Stack scenario","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.clearance.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.water_depth.value":{"abs":1e-09},"result.keel_depth.value":{"abs":1e-09}}}
{"id":"v002","input":{"charted_depth":"9.0 m","tide":"0.4 m","draft":"8.9 m","squat":"0.5 m","margin":"1.0 m"},"expect":{"ok":true,"result.clearance.value":-1.0,"result.under_keel.value":0.0,"result.water_depth.value":9.4,"result.keel_depth.value":9.4,"meta.warnings.*.code":"BELOW_MARGIN"},"source":"add-marine-navigation navigation/under-keel-clearance scenario: the Negative clearance scenario","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.clearance.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.water_depth.value":{"abs":1e-09},"result.keel_depth.value":{"abs":1e-09}}}
{"id":"v003","input":{"charted_depth":"15.0 m","tide":"0.0 m","draft":"12.0 m","squat":"0.8 m","margin":"1.5 m"},"expect":{"ok":true,"result.clearance.value":0.6999999999999993,"result.under_keel.value":2.1999999999999993,"result.water_depth.value":15.0,"result.keel_depth.value":12.8},"source":"Python arithmetic of the same stack","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.clearance.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.water_depth.value":{"abs":1e-09},"result.keel_depth.value":{"abs":1e-09}}}
{"id":"v004","input":{"charted_depth":"11.5 m","tide":"2.3 m","draft":"10.4 m","squat":"0.45 m","margin":"0.6 m"},"expect":{"ok":true,"result.clearance.value":2.350000000000001,"result.under_keel.value":2.950000000000001,"result.water_depth.value":13.8,"result.keel_depth.value":10.85},"source":"Python arithmetic of the same stack","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.clearance.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.water_depth.value":{"abs":1e-09},"result.keel_depth.value":{"abs":1e-09}}}
{"id":"v005","input":{"charted_depth":"20.0 m","tide":"-0.5 m","draft":"14.2 m","squat":"1.1 m","margin":"2.0 m"},"expect":{"ok":true,"result.clearance.value":2.200000000000001,"result.under_keel.value":4.200000000000001,"result.water_depth.value":19.5,"result.keel_depth.value":15.299999999999999},"source":"Python arithmetic of the same stack","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.clearance.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.water_depth.value":{"abs":1e-09},"result.keel_depth.value":{"abs":1e-09}}}
{"id":"v006","input":{"charted_depth":"8.2 m","tide":"1.1 m","draft":"7.0 m","squat":"0.3 m","margin":"0.5 m"},"expect":{"ok":true,"result.clearance.value":1.4999999999999991,"result.under_keel.value":1.9999999999999991,"result.water_depth.value":9.299999999999999,"result.keel_depth.value":7.3},"source":"Python arithmetic of the same stack","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.clearance.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.water_depth.value":{"abs":1e-09},"result.keel_depth.value":{"abs":1e-09}}}
{"id":"v007","input":{"charted_depth":"13.75 m","tide":"0.85 m","draft":"11.9 m","squat":"0.55 m","margin":"1.25 m"},"expect":{"ok":true,"result.clearance.value":0.8999999999999986,"result.under_keel.value":2.1499999999999986,"result.water_depth.value":14.6,"result.keel_depth.value":12.450000000000001},"source":"Python arithmetic of the same stack","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.clearance.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.water_depth.value":{"abs":1e-09},"result.keel_depth.value":{"abs":1e-09}}}
{"id":"v008","input":{"charted_depth":"30.0 m","tide":"1.0 m","draft":"22.5 m","squat":"1.4 m","margin":"3.0 m"},"expect":{"ok":true,"result.clearance.value":4.100000000000001,"result.under_keel.value":7.100000000000001,"result.water_depth.value":31.0,"result.keel_depth.value":23.9},"source":"Python arithmetic of the same stack","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.clearance.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.water_depth.value":{"abs":1e-09},"result.keel_depth.value":{"abs":1e-09}}}
{"id":"v009","input":{"charted_depth":"14.4 m","tide":"0 m","draft":"12.0 m","margin":"1.0 m","speed":"10.0 kt","block_coefficient":0.8,"channel":"open-water"},"expect":{"ok":true,"result.squat_used.value":0.7979981405617133,"result.under_keel.value":1.6020018594382872,"result.clearance.value":0.6020018594382872,"result.squat_other_end.value":0.4787988843370274},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: open water, K = 1","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.clearance.value":{"abs":1e-09},"result.squat_other_end.value":{"abs":1e-09}}}
{"id":"v010","input":{"charted_depth":"11.0 m","tide":"0 m","draft":"9.0 m","margin":"1.0 m","speed":"8.0 kt","block_coefficient":0.75,"channel":"open-water"},"expect":{"ok":true,"result.squat_used.value":0.47879888433702794,"result.under_keel.value":1.5212011156629721,"result.clearance.value":0.5212011156629721,"result.squat_other_end.value":0.43091899590332505},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: open water, K = 1","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.clearance.value":{"abs":1e-09},"result.squat_other_end.value":{"abs":1e-09}}}
{"id":"v011","input":{"charted_depth":"18.0 m","tide":"0 m","draft":"15.0 m","margin":"1.0 m","speed":"12.0 kt","block_coefficient":0.85,"channel":"open-water"},"expect":{"ok":true,"result.squat_used.value":1.2209371550594212,"result.under_keel.value":1.7790628449405794,"result.clearance.value":0.7790628449405794,"result.squat_other_end.value":0.12209371550594182},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: open water, K = 1","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.clearance.value":{"abs":1e-09},"result.squat_other_end.value":{"abs":1e-09}}}
{"id":"v012","input":{"charted_depth":"8.4 m","tide":"0 m","draft":"7.0 m","margin":"1.0 m","speed":"14.0 kt","block_coefficient":0.5,"channel":"open-water"},"expect":{"ok":true,"result.squat_used.value":0.9775477221880987,"result.under_keel.value":0.4224522778119013,"result.clearance.value":-0.5775477221880987,"result.squat_other_end.value":-0.5865286333128584,"meta.warnings.*.code":"BELOW_MARGIN"},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: open water, K = 1","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.clearance.value":{"abs":1e-09},"result.squat_other_end.value":{"abs":1e-09}}}
{"id":"v013","input":{"charted_depth":"9.7 m","tide":"0 m","draft":"7.76 m","margin":"1.0 m","speed":"8.0 kt","block_coefficient":0.667,"channel":"open-water"},"expect":{"ok":true,"result.squat_used.value":0.4258118078037302,"result.under_keel.value":1.5141881921962685,"result.clearance.value":0.5141881921962685,"result.squat_other_end.value":0.4072634454557998},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: open water, K = 1","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.clearance.value":{"abs":1e-09},"result.squat_other_end.value":{"abs":1e-09}}}
{"id":"v014","input":{"charted_depth":"12.0 m","tide":"0 m","draft":"10.0 m","margin":"0.5 m","speed":"8.0 kt","block_coefficient":0.8,"channel":"confined-channel"},"expect":{"ok":true,"result.squat_used.value":1.0247460665409698,"result.under_keel.value":0.9752539334590296,"result.clearance.value":0.47525393345902955},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: a confined channel, S = 0.25","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.clearance.value":{"abs":1e-09}}}
{"id":"v015","input":{"charted_depth":"11.5 m","tide":"0 m","draft":"9.5 m","margin":"0.5 m","speed":"6.0 kt","block_coefficient":0.7,"channel":"confined-channel"},"expect":{"ok":true,"result.squat_used.value":0.5043672046256336,"result.under_keel.value":1.495632795374366,"result.clearance.value":0.995632795374366},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: a confined channel, S = 0.25","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.clearance.value":{"abs":1e-09}}}
{"id":"v016","input":{"charted_depth":"10.0 m","tide":"0 m","draft":"8.0 m","margin":"0.5 m","speed":"9.0 kt","block_coefficient":0.62,"channel":"confined-channel"},"expect":{"ok":true,"result.squat_used.value":1.005131786361084,"result.under_keel.value":0.9948682136389166,"result.clearance.value":0.49486821363891664},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: a confined channel, S = 0.25","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.clearance.value":{"abs":1e-09}}}
{"id":"v017","input":{"charted_depth":"10.0 m","tide":"0 m","draft":"7.76 m","margin":"0.3 m","speed":"8.0 kt","block_coefficient":0.667,"channel":"blockage-factor","blockage_factor":0.105725},"expect":{"ok":true,"result.squat_used.value":0.4442145173526059,"result.under_keel.value":1.7957854826473945,"result.squat_other_end.value":0.4248645329767265},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: blockage factor 0.105725","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.squat_other_end.value":{"abs":1e-09}}}
{"id":"v018","input":{"charted_depth":"13.0 m","tide":"0 m","draft":"11.0 m","margin":"0.3 m","speed":"7.0 kt","block_coefficient":0.8,"channel":"blockage-factor","blockage_factor":0.18},"expect":{"ok":true,"result.squat_used.value":0.6112305649935833,"result.under_keel.value":1.3887694350064166,"result.squat_other_end.value":0.36673833899614955},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: blockage factor 0.180000","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.squat_other_end.value":{"abs":1e-09}}}
{"id":"v019","input":{"charted_depth":"11.7 m","tide":"0 m","draft":"9.0 m","margin":"0.3 m","speed":"10.0 kt","block_coefficient":0.72,"channel":"blockage-factor","blockage_factor":0.22},"expect":{"ok":true,"result.squat_used.value":1.3076322597959587,"result.under_keel.value":1.3923677402040404,"result.squat_other_end.value":1.2867101436392232},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: blockage factor 0.220000","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.squat_other_end.value":{"abs":1e-09}}}
{"id":"v020","input":{"charted_depth":"10.5 m","tide":"0 m","draft":"8.5 m","margin":"0.3 m","speed":"11.0 kt","block_coefficient":0.55,"channel":"blockage-factor","blockage_factor":0.12},"expect":{"ok":true,"result.squat_used.value":0.7624962272912502,"result.under_keel.value":1.2375037727087506,"result.squat_other_end.value":0.07624962272912576},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: blockage factor 0.120000","sourceVersion":"Python math; the 2016 bulletin","tolerance":{"result.squat_used.value":{"abs":1e-09},"result.under_keel.value":{"abs":1e-09},"result.squat_other_end.value":{"abs":1e-09}}}
{"id":"v021","input":{"charted_depth":"20.0 m","tide":"0 m","draft":"10.0 m","margin":"1 m","speed":"10 kt","block_coefficient":0.8},"expect":{"ok":false,"error.code":"OUT_OF_DOMAIN"},"source":"add-marine-navigation navigation/under-keel-clearance scenario: the Out of range scenario, h/T = 2.0 against the published 1.1 to 1.4","sourceVersion":"Python math; the 2016 bulletin","tolerance":{}}
{"id":"v022","input":{"charted_depth":"12.0 m","tide":"0 m","draft":"10.0 m","margin":"1 m","speed":"10 kt","block_coefficient":0.95},"expect":{"ok":false,"error.code":"OUT_OF_DOMAIN"},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: Table 1 holds Barrass to C_B 0.5 to 0.85","sourceVersion":"Python math; the 2016 bulletin","tolerance":{}}
{"id":"v023","input":{"charted_depth":"12.0 m","tide":"0 m","draft":"10.0 m","margin":"1 m","speed":"10 kt","block_coefficient":0.8,"channel":"blockage-factor","blockage_factor":0.05},"expect":{"ok":false,"error.code":"OUT_OF_DOMAIN"},"source":"\"Mircea cel Batran\" Naval Academy Scientific Bulletin XIX(1) 2016, pp. 105-111, equations (2) to (4) and Table 1, reimplemented in Python: K = 5.74 S^0.76 is published for S from 0.10 to 0.25","sourceVersion":"Python math; the 2016 bulletin","tolerance":{}}
{"id":"v024","input":{"charted_depth":"12.0 m","tide":"0 m","draft":"10.0 m","margin":"1 m","speed":"10 kt"},"expect":{"ok":false,"error.code":"INVALID_INPUT"},"source":"add-marine-navigation navigation/under-keel-clearance scenario: the squat estimate needs the block coefficient","sourceVersion":"Python math; the 2016 bulletin","tolerance":{}}
