NC_EINDEFINE

Operation not allowed in define mode.

The specified netCDF is in define mode rather than data mode.

With netCDF-4/HDF5 files, this error will not occur, unless ::NC_CLASSIC_MODEL was used in nc_create().

extern (C)
enum NC_EINDEFINE = -39;

Meta