Grib file error caused by eccodes
Added by Kevin Havener 8 months ago
Whenever I try to do anything with a grib file using cdo, I get this error.
ECCODES ERROR : Unable to find boot.def. Context path=/home/havenerk/.edm/envs/kfh311/share/eccodes/samples
Possible causes:
- The software is not correctly installed
- The environment variable ECCODES_DEFINITION_PATH is defined but incorrect
ecCodes assertion failed: `0' in /tmp/b/libeccodes-2.42.0-1/work/eccodes-2.42.0-Source/src/eccodes/grib_context.cc:220
The correct context path would end in "definitions" not "samples". Exporting the environment variable works and so does renaming "definitions" to "samples".
I assume this is an error in the (commercial) compilation of libeccodes because the eccodes command line operators work fine. I just wanted to see if anyone else has encountered the problem, maybe if they have compiled cdo/libeccode. I've tried cdo 2.5.0 and 2.5.2 and libeccodes 2.42 and 2.38.