AntADatabase
Visit antadatabase.com to explore the database in 3D or download it, and the documentation for full examples.
SQL database for the AntArchitecture Community Data
AntADatabase is a Python package providing efficient access to Internal Reflecting Horizons (isochrones) data across Antarctica. Designed for ice sheet modelers, it offers fast, memory-efficient data structures to constrain models with published IRH data.
Key Features
- SQL Indexing: Fast querying of IRH data by dataset, institute, project, age, region, basin, variable, or line ID
- netCDF Storage: Data stored in netCDF-4 (HDF5) files for optimal read performance
- Plotting Tools: Built-in visualization functions for quick data exploration
- Lazy Data Generation: Generate data for later use
Data Variables
Each dataset contains (when available):
PSX,PSY: CoordinatesDistance: Along-track distanceIRH_DEPTH: Internal Reflecting Horizon depthIRH_NUM: Number of traced IRHs per pointICE_THK: Ice thicknessSURF_ELEV: Surface elevationBED_ELEV: Bed elevation
Installation
pip install anta_database
This installs what is needed to query and plot the database. Optional extras:
pip install "anta_database[compile]" # compile the database from raw data
pip install "anta_database[pism]" # plot comparisons with PISM outputs
pip install "anta_database[all]" # everything
For the latest development version:
pip install git+https://github.com/antoinehermant/anta_database.git
Downloading the data
Download the database, or update it to the latest published version (only new or changed files are downloaded):
from anta_database import sync
sync() # default local directory
sync("/path/to/AntADatabase/") # or a directory of your choice
or from the command line: anta-sync --dir /path/to/AntADatabase/. From an existing Database, use db.sync(), or Database(sync=True) to always sync when loading.
When loading a synced database, Database tells you if a newer version is published (disable with check_updates=False). Updates are never downloaded without you asking, so your results only change when you decide to sync.
Keep the package up to date as well (pip install -U anta_database): if some features of the latest data need a newer package, sync() and Database print a warning. In the unlikely case of a breaking change to the data format, each package version keeps syncing the data it can read, and a newer package is needed to get the new data.
When sync() downloads files, it sends one anonymous count (first download or later sync, number of files and bytes, package and database versions) for the download statistics of the AntADatabase; nothing that identifies you is kept. Turn it off with ANTA_NO_STATS=1, sync(stats=False) or anta-sync --no-stats. See antadatabase.com/privacy.
Quick Start
from anta_database import Database
# Load the database (without a path, uses the default directory of sync())
db = Database()
# Query data by various criteria
db.query(dataset="Cavitte_2020", age=10000)
# Visualize data
db.plot.var(title="My IRH Data")
Documentation
Full documentation and examples are available in the documentation.
Data Access
The AntADatabase is free to download with sync() (see Downloading the data). Any data used must be cited at source using the DOIs provided in the metadata.
Support
- Issues: Report bugs or request features on GitHub Issues
- Contact: antoine.hermant@unibe.ch
Citation
If you use this tool in your work, please cite this repository and the original data sources using their provided DOIs.
Acknowledgments
Developed as part of the CHARIBDIS project (Swiss National Science Foundation grant no. 211542).
Metadata
Release files for anta-database 0.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| anta_database-0.6.2.tar.gz | 8.3 MB | With provenance | Details for anta_database-0.6.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anta_database-0.6.2-py3-none-any.whl | Python 3 | none | any | Details for anta_database-0.6.2-py3-none-any.whl |
Total release size: 10.7 MB
Release files / anta_database-0.6.2.tar.gz
| Download URL | anta_database-0.6.2.tar.gz |
|---|---|
| Size | 8.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1154a9a03a0b79019aaca5f5ccade94a694123abebc52ebeb0f3b3ea24ff839a
|
|
BLAKE2b-256 checksum How to use checksums |
dd771db677e1a88cc5b0a7c4db363ab0b7299bd23a3f0455f52a8620cb4b9141
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / anta_database-0.6.2-py3-none-any.whl
| Download URL | anta_database-0.6.2-py3-none-any.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2283b910a422ef062fc51ad6afc543bad9b4aa6249bba03e9f6213ea32de095
|
|
BLAKE2b-256 checksum How to use checksums |
8f45df30780a1eb88a7d5b400ec8a753212bfc2ec619dca365aa37b4626cd978
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logSecurity for anta-database 0.6.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for anta_database-0.6.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.