metno / fimex

File Interpolation, Manipulation and EXtraction
Other
24 stars 16 forks source link

GRIB_api #29

Open Besstrashnyy opened 3 years ago

Besstrashnyy commented 3 years ago

Hei. I get this error when I try to build fimex.

CMake Error at cmake/FimexUtils.cmake:245 (MESSAGE): Required grib_api include/library not found

I see they replaced grib_api with ecCodes I wonder how this can be fixed to keep all the functionality in place?

alexander-buerger-met-no commented 3 years ago

Hmm, we use eccodes all the time.

Do you have ecCodes installed? If it is installed, you need to add -DENABLE_ECCODES=YES -Deccodes_DIR=/path/to/eccodes/installation/lib/cmake/eccodes when running cmake. Does it work better with this option?