Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, Nix, apt, MacPorts 安装 eccodes

查看 eccodes 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install eccodes

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ecCodes

MacPorts ports tree · science/ecCodes/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add eccodes

Alpine Linux edge package indexes · eccodes · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install eccodes

Fedora Rawhide package metadata · eccodes · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#eccodes

nixpkgs package indexes · pkgs/by-name/ec/eccodes/package.nix · 来源: api.github.com

Debian apt已验证 · 92%
sudo apt install libeccodes-data

Debian stable package indexes · libeccodes-data · 来源: deb.debian.org

概览

软件包摘要

Decode and encode messages in the GRIB 1/2 and BUFR 3/4 formats

命令和别名

  • bufr_compare
  • bufr_compare_dir
  • bufr_copy
  • bufr_count
  • bufr_dump
  • bufr_filter
  • bufr_get
  • bufr_index_build
  • bufr_ls
  • bufr_set
  • codes_bufr_filter
  • codes_config
  • codes_count
  • codes_export_resource
  • codes_info
  • codes_parser
  • codes_split_file
  • grib2ppm
  • grib_compare
  • grib_copy
  • grib_count
  • grib_dump
  • grib_filter
  • grib_get
  • grib_get_data
  • grib_histogram
  • grib_index_build
  • grib_ls
  • grib_set
  • grib_to_netcdf
  • gts_compare
  • gts_copy

历史

项目历史与用法

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.

时间线

  • 2005: ECMWF copyright range for the software begins.
  • 2018: ecCodes GitHub repository created; GRIB-API maintenance ends in December 2018.
  • 2021-2022: Public GitHub releases show active 2.x release cadence.
  • 2026: ecCodes 2.47.0 released and repository remains active.

Related projects

  • GRIB-API is the direct predecessor and compatibility target for much of ecCodes' GRIB functionality.
  • CodesUI, mentioned in ECMWF's ecCodes documentation, is a related user interface for ecCodes.
  • Higher-level meteorological software commonly pairs ecCodes with Python bindings, Fortran/C applications, and conversion tools such as grib_to_netcdf.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 5 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bufr_comparecli全局可执行文件
bufr_compare_dircli全局可执行文件
bufr_copycli全局可执行文件
bufr_countcli全局可执行文件
bufr_dumpcli全局可执行文件
bufr_filtercli全局可执行文件
bufr_getcli全局可执行文件
bufr_index_buildcli全局可执行文件
bufr_lscli全局可执行文件
bufr_setcli全局可执行文件
codes_bufr_filtercli全局可执行文件
codes_configcli全局可执行文件
codes_countcli全局可执行文件
codes_export_resourcecli全局可执行文件
codes_infocli全局可执行文件
codes_parsercli全局可执行文件
codes_split_filecli全局可执行文件
grib2ppmcli全局可执行文件
grib_comparecli全局可执行文件
grib_copycli全局可执行文件
grib_countcli全局可执行文件
grib_dumpcli全局可执行文件
grib_filtercli全局可执行文件
grib_getcli全局可执行文件
grib_get_datacli全局可执行文件
grib_histogramcli全局可执行文件
grib_index_buildcli全局可执行文件
grib_lscli全局可执行文件
grib_setcli全局可执行文件
grib_to_netcdfcli全局可执行文件
gts_comparecli全局可执行文件
gts_copycli全局可执行文件
gts_countcli全局可执行文件
gts_dumpcli全局可执行文件
gts_filtercli全局可执行文件
gts_getcli全局可执行文件
gts_lscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.47.0
管理器更新时间2026-04-22
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖gcc, libaec, libpng, netcdf, openjpeg
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameeccodes
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

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-data
  • Section: science
  • Architecture: all
  • Source Package: eccodes
  • normalized package name match
  • 匹配方式:Eccodes
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libeccodes-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libeccodes-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-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: eccodes
  • 7 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Eccodes
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libeccodes-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libeccodes-doc 2.41.0-1

GRIB decoding/encoding software (documentation)

https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home

sudo apt install libeccodes-doc
  • Section: doc
  • Architecture: all
  • Source Package: eccodes
  • 1 依赖
  • normalized package name match
  • 匹配方式:Eccodes
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libeccodes-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libeccodes-tools 2.41.0-1

GRIB decoding/encoding software (utilities)

https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home

sudo apt install libeccodes-tools
  • Section: utils
  • Architecture: amd64
  • Source Package: eccodes
  • 5 依赖
  • normalized package name match
  • 匹配方式:Eccodes
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libeccodes-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libeccodes0 2.41.0-1

GRIB and BUFR enecoding/encoding software library

https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home

sudo apt install libeccodes0
  • Section: libs
  • Architecture: amd64
  • Source Package: eccodes
  • 9 依赖
  • normalized package name match
  • 匹配方式:Eccodes
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libeccodes0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

eccodes

nix profile install nixpkgs#eccodes
  • normalized package name match
  • 匹配方式:Eccodes
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ec/eccodes/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libeccodes-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-data
  • Section: universe/science
  • Architecture: all
  • Source Package: eccodes
  • normalized package name match
  • 匹配方式:Eccodes
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libeccodes-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libeccodes-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-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: eccodes
  • 7 依赖
  • normalized package name match
  • 匹配方式:Eccodes
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libeccodes-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libeccodes-doc 2.34.1-1build2

GRIB decoding/encoding software (documentation)

https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home

sudo apt install libeccodes-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: eccodes
  • 1 依赖
  • normalized package name match
  • 匹配方式:Eccodes
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libeccodes-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libeccodes-tools 2.34.1-1build2

GRIB decoding/encoding software (utilities)

https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home

sudo apt install libeccodes-tools
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: eccodes
  • 7 依赖
  • normalized package name match
  • 匹配方式:Eccodes
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libeccodes-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libeccodes0 2.34.1-1build2

GRIB and BUFR enecoding/encoding software library

https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home

sudo apt install libeccodes0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: eccodes
  • 9 依赖
  • normalized package name match
  • 匹配方式:Eccodes
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libeccodes0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

eccodes 2.46.0-r0

API and tools for decoding and encoding WMO meteorological message formats

https://github.com/ecmwf/eccodes

sudo apk add eccodes
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: eccodes
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Eccodes
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: eccodes from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

eccodes 2.47.0-1.fc45

WMO data format decoding and encoding

https://confluence.ecmwf.int/display/ECC/ecCodes+Home

sudo dnf install eccodes
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: eccodes
  • 15 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Eccodes
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: eccodes from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

eccodes-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-data
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: eccodes
  • 1 提供
  • normalized package name match
  • 匹配方式:Eccodes
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: eccodes-data from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

eccodes-devel 2.47.0-1.fc45

Contains ecCodes development files

https://confluence.ecmwf.int/display/ECC/ecCodes+Home

sudo dnf install eccodes-devel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: eccodes
  • 7 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Eccodes
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: eccodes-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

eccodes-doc 2.47.0-1.fc45

Documentation and example code

https://confluence.ecmwf.int/display/ECC/ecCodes+Home

sudo dnf install eccodes-doc
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: eccodes
  • 1 提供
  • normalized package name match
  • 匹配方式:Eccodes
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: eccodes-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment