Skip to main content

PyPI version Downloads GitHub issues

AntADatabase

Visit the Home Page for full documentation and 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 flight ID
  • HDF5 Storage: Data stored in HDF5 format 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: Coordinates
  • Distance: Along-track distance
  • IRH_DEPTH: Internal Reflecting Horizon depth
  • IRH_NUM: Number of traced IRHs per point
  • ICE_THK: Ice thickness
  • SURF_ELEV: Surface elevation
  • BED_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.

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 on the Home Page.

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

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.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anta-database 0.5.0
File Size Uploaded Provenance Actions
anta_database-0.5.0.tar.gz 7.7 MB With provenance Details for anta_database-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anta-database 0.5.0
File Interpreter ABI Platform Actions
anta_database-0.5.0-py3-none-any.whl Python 3 none any Details for anta_database-0.5.0-py3-none-any.whl

Total release size: 9.6 MB

Release files / anta_database-0.5.0.tar.gz

Download URL anta_database-0.5.0.tar.gz
Size 7.7 MB
Tags Source
SHA-256 checksum
How to use checksums
a397145008f51a64b982da0dff800ff51b308a2e516a566c526f79dc9879b95b
BLAKE2b-256 checksum
How to use checksums
cf92582c250cdae2c4928fb8b0a7675eab86d95cc343dcaebd11dbee1f8e32e3
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 Oct 27, 2026.

Transparency log

Release files / anta_database-0.5.0-py3-none-any.whl

Download URL anta_database-0.5.0-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
59de21e2be712ef727441befe9cbe15ad8b8207cb04e56efebcf806e2b9d58cb
BLAKE2b-256 checksum
How to use checksums
bdee0ba89a55f91b99b52f873b3a6c2596b053ac40d4e56ecbb9c032209b93a8
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 Oct 27, 2026.

Transparency log

Security for anta-database 0.5.0

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.

Select from 2 files

Attestation for anta_database-0.5.0.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 Oct 27, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page