This is a Heroku buildpack working with heroku-20 for vendoring the ecCodes library into your project.
In your project root:
heroku buildpacks:add https://github.com/hello-aurora/eccodes --index 1 --app HEROKU_APP_NAME
This buildpack install ecCodes and you will get the following commands available:
codes_countcodes_infocodes_split_filebufr_comparebufr_copybufr_countbufr_dumpbufr_filterbufr_getbufr_lsbufr_setgrib_comparegrib_copygrib_countgrib_dumpgrib_filtergrib_getgrib_get_datagrib_index_buildgrib_lsgrib_setgrib_to_netcd
To see more about the usage, please refers to their documentation.
Since the installation is cached you might want to clean it out due to config changes.
heroku plugins:install heroku-repoheroku repo:purge_cache --app HEROKU_APP_NAME