Offline cache warming

MetaCAD Pocket — marine tools, offline

Voyage tools, calculations and sea service — on iPhone and Android.

Features and platform differences
Back to validation suite
✓ PASS (7/7)gz_kg_correction· deterministic-formula

Derrett-Barrass MV Tanker — KG-Correction GZ from Cross-Curves at KG=8.5m

derrett-mv-tanker-gz-kg85

Reference & standards

IMO IS Code 2008 (Resolution MSC.267(85)) §2.2.4 (GZ at 30°)IMO IS Code 2008 §2.2.5 (angle of maximum GZ)ISO 16185:2000 §5.3
Tolerance
abs ≤ 0.05
rel ≤ 5.0%

KG-correction is exact algebra (GZ = KN_assumed − KG_actual·sin θ); residual reflects book diagram-reading precision (~5cm).

RMSE per field
gz = 0.0150
FWER (Holm)
p = 1.98e-1
p_adj = 1.00e+0
consistent

Per-row comparison

LabelInputsFieldExpectedComputedΔ absΔ relPass
GZ at 0°angle_deg=0gz0.00000.00000.00000.00%✓
GZ at 15°angle_deg=15gz0.94000.97940.03944.19%✓
GZ at 30°angle_deg=30gz2.20002.2000-4.44e-16-0.00%✓
GZ at 45°angle_deg=45gz2.60002.60360.00360.14%✓
GZ at 60°angle_deg=60gz2.08002.08300.00300.14%✓
GZ at 75°angle_deg=75gz1.08001.08300.00300.27%✓
GZ at 90°angle_deg=90gz-0.0500-0.0500-4.16e-170.00%✓

Reproducibility

commit
457ea0bf562e11e9f660f6bffca9952fe22d7b49
wasm sha256
d7f872160591403115870e42…
timestamp
2026-11-23T09:13:46.936Z
runner
v0.1.0
node
v22.22.0
compute time
0ms

By continuing to use this site, you accept essential cookies and anonymous analytics. Learn more