The failure is on [line 584](https://github.com/pmlmodelling/pylag/blob/4be18515af4a82be86457da1ecc572a0429cefd2/pylag/grid_metrics.pyx#L584), and occurs when creating the grid metrics file for FVCOM when the output file is missing the nbe array.