macOS
brew install eccodeslocal Homebrew formula metadata
sudo port install ecCodesMacPorts ports tree · science/ecCodes/Portfile · 来源: api.github.com
安装
brew install eccodeslocal Homebrew formula metadata
sudo port install ecCodesMacPorts ports tree · science/ecCodes/Portfile · 来源: api.github.com
sudo apk add eccodesAlpine Linux edge package indexes · eccodes · 来源: dl-cdn.alpinelinux.org
sudo dnf install eccodesFedora Rawhide package metadata · eccodes · 来源: dl.fedoraproject.org
nix profile install nixpkgs#eccodesnixpkgs package indexes · pkgs/by-name/ec/eccodes/package.nix · 来源: api.github.com
sudo apt install libeccodes-dataDebian stable package indexes · libeccodes-data · 来源: deb.debian.org
概览
Decode and encode messages in the GRIB 1/2 and BUFR 3/4 formats
历史
ecCodes is ECMWF's library and command-line toolkit for decoding and encoding meteorological message formats, especially GRIB and BUFR. It is package-manager significant because it is infrastructure: many weather, climate, forecasting, and data-conversion workflows depend on having its tools and libraries installed correctly.
ECMWF describes ecCodes as a package providing an API and command-line tools for WMO GRIB editions 1 and 2, BUFR editions 3 and 4, and decoding of WMO GTS abbreviated headers. The repository README says it provides C, Fortran 90, and Python interfaces along with quick command-line access to messages.
The project is explicitly the evolution of ECMWF's older GRIB-API. ECMWF's documentation says ecCodes fully provides GRIB-API functionality for GRIB encoding and decoding, keeps the C, Fortran 90, and Python interfaces, drops the old Fortran 77 interface, and adds a codes_ API that works across supported message formats.
ECMWF marks ecCodes as the primary GRIB encoding/decoding package used at ECMWF and notes that GRIB-API has not been maintained since December 2018. That replacement history is central to ecCodes adoption: existing GRIB-API users were strongly advised to migrate, with compatibility maintained where possible.
The GitHub repository was created in December 2018 and is still active, with the README carrying ECMWF software maturity badges and 2026 releases in the 2.4x series.
ecCodes' adoption follows the operational meteorology stack rather than the usual application-CLI pattern. It is used where GRIB and BUFR data are read, written, inspected, filtered, converted, or bridged into Python, Fortran, C, and NetCDF workflows.
Package metadata shows ecCodes available in Homebrew, Alpine, Fedora-family packaging, MacPorts, Nix, and Debian/Ubuntu data packages. That broad packaging matters because meteorological tools often expect ecCodes definitions and command-line programs such as grib_ls, grib_get, grib_set, bufr_dump, and grib_to_netcdf to be present.
Users commonly install ecCodes for command-line inspection and transformation of GRIB/BUFR files, for language bindings, or as a dependency of higher-level weather-data software. The command suite includes GRIB, BUFR, GTS, and generic codes_* tools.
The migration documentation explains that many GRIB-API functions and tools were retained or mapped into ecCodes, while some experimental or superseded tools were removed. That makes ecCodes both a compatibility layer for old workflows and the maintained path forward.
ecCodes is the kind of package that quietly makes scientific software distributions work. It ships binary tools, libraries, format definitions, samples, and bindings around specialized international data formats; small packaging mistakes can break large data-processing pipelines.
It is also a case study in successor packaging: GRIB-API users needed a maintained replacement that preserved enough CLI and ABI/API behavior to make migration practical while adding BUFR and GTS coverage under one key/value access model.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bufr_compare | cli | 全局可执行文件 | |
bufr_compare_dir | cli | 全局可执行文件 | |
bufr_copy | cli | 全局可执行文件 | |
bufr_count | cli | 全局可执行文件 | |
bufr_dump | cli | 全局可执行文件 | |
bufr_filter | cli | 全局可执行文件 | |
bufr_get | cli | 全局可执行文件 | |
bufr_index_build | cli | 全局可执行文件 | |
bufr_ls | cli | 全局可执行文件 | |
bufr_set | cli | 全局可执行文件 | |
codes_bufr_filter | cli | 全局可执行文件 | |
codes_config | cli | 全局可执行文件 | |
codes_count | cli | 全局可执行文件 | |
codes_export_resource | cli | 全局可执行文件 | |
codes_info | cli | 全局可执行文件 | |
codes_parser | cli | 全局可执行文件 | |
codes_split_file | cli | 全局可执行文件 | |
grib2ppm | cli | 全局可执行文件 | |
grib_compare | cli | 全局可执行文件 | |
grib_copy | cli | 全局可执行文件 | |
grib_count | cli | 全局可执行文件 | |
grib_dump | cli | 全局可执行文件 | |
grib_filter | cli | 全局可执行文件 | |
grib_get | cli | 全局可执行文件 | |
grib_get_data | cli | 全局可执行文件 | |
grib_histogram | cli | 全局可执行文件 | |
grib_index_build | cli | 全局可执行文件 | |
grib_ls | cli | 全局可执行文件 | |
grib_set | cli | 全局可执行文件 | |
grib_to_netcdf | cli | 全局可执行文件 | |
gts_compare | cli | 全局可执行文件 | |
gts_copy | cli | 全局可执行文件 | |
gts_count | cli | 全局可执行文件 | |
gts_dump | cli | 全局可执行文件 | |
gts_filter | cli | 全局可执行文件 | |
gts_get | cli | 全局可执行文件 | |
gts_ls | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://confluence.ecmwf.int/display/ECC
安装元数据
| 软件包键 | brew:eccodes |
|---|---|
| 版本 | 2.47.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/eccodes |
| 主页 | https://confluence.ecmwf.int/display/ECC |
| 仓库 | https://github.com/ecmwf/eccodes |
| 上游文档 | https://confluence.ecmwf.int/display/ECC |
| 许可证 | Apache-2.0 |
| 源码归档 | https://confluence.ecmwf.int/download/attachments/45757960/eccodes-2.47.0-Source.tar.gz |
| 最后更新 | 2026-04-22T21:19:38Z |
| Pulse | updated |
| 依赖 | gcc, libaec, libpng, netcdf, openjpeg |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | eccodes |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libeccodes-data 2.41.0-1
GRIB and BUFR enecoding/encoding software library - data
https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
sudo apt install libeccodes-datalibeccodes-dev 2.41.0-1
GRIB and BUFR decoding/encoding software library (development)
https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
sudo apt install libeccodes-devlibeccodes-doc 2.41.0-1
GRIB decoding/encoding software (documentation)
https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
sudo apt install libeccodes-doclibeccodes-tools 2.41.0-1
GRIB decoding/encoding software (utilities)
https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
sudo apt install libeccodes-toolslibeccodes0 2.41.0-1
GRIB and BUFR enecoding/encoding software library
https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
sudo apt install libeccodes0eccodes
nix profile install nixpkgs#eccodeslibeccodes-data 2.34.1-1build2
GRIB and BUFR enecoding/encoding software library - data
https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
sudo apt install libeccodes-datalibeccodes-dev 2.34.1-1build2
GRIB and BUFR decoding/encoding software library (development)
https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
sudo apt install libeccodes-devlibeccodes-doc 2.34.1-1build2
GRIB decoding/encoding software (documentation)
https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
sudo apt install libeccodes-doclibeccodes-tools 2.34.1-1build2
GRIB decoding/encoding software (utilities)
https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
sudo apt install libeccodes-toolslibeccodes0 2.34.1-1build2
GRIB and BUFR enecoding/encoding software library
https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
sudo apt install libeccodes0eccodes 2.46.0-r0
API and tools for decoding and encoding WMO meteorological message formats
https://github.com/ecmwf/eccodes
sudo apk add eccodeseccodes 2.47.0-1.fc45
WMO data format decoding and encoding
https://confluence.ecmwf.int/display/ECC/ecCodes+Home
sudo dnf install eccodeseccodes-data 2.47.0-1.fc45
Data needed by the eccodes library and tools
https://confluence.ecmwf.int/display/ECC/ecCodes+Home
sudo dnf install eccodes-dataeccodes-devel 2.47.0-1.fc45
Contains ecCodes development files
https://confluence.ecmwf.int/display/ECC/ecCodes+Home
sudo dnf install eccodes-develeccodes-doc 2.47.0-1.fc45
Documentation and example code
https://confluence.ecmwf.int/display/ECC/ecCodes+Home
sudo dnf install eccodes-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.