openmethane-prior
Method to calculate a gridded, prior emissions estimate for methane across Australia
What XERJ indexed
Snapshot
Only src/openmethane_prior/sectors/agriculture, src/openmethane_prior/sectors/livestock, tests/integration, tests/unit/test_livestock at commit cda155d99a (2026-10-13). main is 25 commits ahead.
Selected work

“Spatialise per-animal inventory emissions by animal headcounts”. 7 files, 477 lines in tests, src/openmethane_prior.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-20. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
Example questions
- Where does openmethane-prior handle “Spatialise per-animal inventory emissions by animal headcounts”?
- What does src/openmethane_prior do in openmethane-prior?
Inside the indexed corpus
- Languages by size: Python 98%, NCL 0.9%, Dockerfile 0.6%, Makefile 0.3%, Go Template 0.1%.
- On GitHub since 2023-05-24, last push 2026-10-28, 1,021 commits on main.
- The pin is 25 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for openmethane/openmethane-prior on 2026-10-31, and the LICENSE file at commit cda155d99a was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Lindsay Gaines (@aethr) has 1 selected repository on the hub.
Using XERJ with openmethane-prior
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones openmethane/openmethane-prior at the pinned commit and indexes it on your machine.
Search the GitHub repository openmethane/openmethane-prior with XERJ (https://hub.xerj.org/corpus/openmethane--openmethane-prior). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/openmethane/openmethane-prior openmethane-prior && git -C openmethane-prior checkout cda155d99a432c46851e275023d9a18690ad5c7e 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./openmethane-prior --url http://127.0.0.1:9200 --prefix openmethane-prior --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Lindsay GainesAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.