When trying to run the simple example from the latest develop branch I get the following error:
$ ./run_simple_example.sh
cleared m_configHelp
terminate called after throwing an instance of 'netCDF::exceptions::NcBadId'
what(): NetCDF: Not a valid ID
file: ncType.cpp line:138
Aborted (core dumped)
The problem seems to be that nextsim is looking for a variable called "longitude" in file init_rect30x30.nc. But this variable does not exist in the netcdf file init_rect30x30.nc.
When trying to run the simple example from the latest develop branch I get the following error:
The problem seems to be that nextsim is looking for a variable called
"longitude"
in fileinit_rect30x30.nc
. But this variable does not exist in the netcdf fileinit_rect30x30.nc
.The error is triggered when it tries to read the variable from the netcdf file in file
core/src/RectGridIO.cpp
:https://github.com/nextsimhub/nextsimdg/blob/cdd7e6b5b1631d3aaa7340692a1cbb5364dd2839/core/src/RectGridIO.cpp#L141