🍺 BREW Explorer

← all formulae

erfa

brew install erfa v2.0.1 BSD-3-Clause

Essential Routines for Fundamental Astronomy

13
30-day installs · #7960
64
90-day · #6673
64
365-day · #10367
171
★ GitHub stars · updated 4mo ago

Build dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "meson",
    "ninja"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Essential Routines for Fundamental Astronomy",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:22+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "erfa",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-04-14T10:56:39Z",
  "github_readme_excerpt": "This is the source code repository for ERFA (Essential Routines for\nFundamental Astronomy).  ERFA is a C library containing key algorithms for\nastronomy, and is based on the `SOFA library \u003chttp://www.iausofa.org/\u003e`_ published by the International\nAstronomical Union (IAU).\n\nERFA is intended to replicate the functionality of SOFA (aside from possible\nbugfixes in ERFA that have not yet been included in SOFA), but is licensed\nunder a three-clause BSD license to enable its compatibility with a wide\nrange of open source licenses. Permission for this release has been\nobtained from the SOFA board, and is available in the ``LICENSE`` file included\nin this source distribution.\n\nDifferences from SOFA\n---------------------\n\nThis version of ERFA (v2.0.0) is based on SOFA version \"20210512\", with the\ndifferences outlined below.\n\nERFA branding\n^^^^^^^^^^^^^\n\nAll references to \"SOFA\" in the source code have been changed to ERFA, and\nfunctions have the prefix ``era`` instead of ``iau``.\n\nC macro prefixes\n^^^^^^^^^^^^^^^^\n\nAll C macros used in ERFA are the same as their SOFA equivalents, but with an\n``ERFA_`` prefix to prevent namespace collisions.\n\nVersion information\n^^^^^^^^^^^^^^^^^^^\n\nERFA provides a few utility functions for accessing version information at\nruntime which are not a part of SOFA.  Specifically, these are the\n``eraVersion``, ``eraVersion*``, and ``eraSofaVersion`` functions that are\nexposed in the ``erfaextra.h`` header.\n\nRuntime leap second modification\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nERFA provides the capability to modify at runtime the leap seconds assumed for\nvarious calculations. These are accessed via the ``eraGetLeapSeconds`` and\n``eraSetLeapSeconds`` functions that are exposed in the ``erfaextra.h`` header.\nThis functionality is currently considered somewhat experimental, meaning an\nimproved API might be available in the future, but the current API can also be\ncounted on for the near future.\n\nBug fixes\n^^^^^^^^^\n\nERFA includes smaller changes that may or",
  "github_repo": "liberfa/erfa",
  "github_stars": 171,
  "github_topics": [],
  "homepage": "https://github.com/liberfa/erfa",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 13,
  "installs_365d": 64,
  "installs_90d": 64,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-3-Clause",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "erfa",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 7960,
  "rank_365d": 10367,
  "rank_90d": 6673,
  "raw_hash": "c9933e6b5829f162",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/e/erfa.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "2.0.1",
  "versioned_formulae": [],
  "why_use_this": null
}