eumdac-store
Keeps a directory or S3 bucket filled with an EUMDAC collection. eumdac
downloads what you ask for; eumdac-store is for running the same window again
and again (e.g. hourly):
- Skips what is already stored, using a ducats catalog of the store.
- Checks each file's size and zip structure (EUMDAC's MD5s are wrong) and retries bad ones.
- Quarantines a file that stays corrupt, so later runs don't keep fetching it.
- Never leaves partial files under their final name.
- Stays within EUMDAC's limit of 10 parallel connections.
- Reports gaps in the stored time series (
gaps).
pip install eumdac-store
Usage
eumdac-store download --config examples/ascat_szf.yaml --days 1 --download-root-dir /data/eumdac
eumdac-store download --config examples/ascat_szf.yaml --start 2026-01-01T00:00 --end 2026-01-02T00:00
eumdac-store list --config examples/ascat_szf.yaml --days 1
eumdac-store sync --config examples/ascat_szf.yaml
eumdac-store status --config examples/ascat_szf.yaml
eumdac-store gaps --config examples/ascat_szf.yaml --days 2 # exit 4 if any
from eumdac_store import EumdacStore, StoreConfig
store = EumdacStore(StoreConfig.from_yaml("examples/ascat_szf.yaml", download_root_dir="/data/eumdac"))
store.download(days=1)
Credentials: EUMDAC_KEY and EUMDAC_SECRET (environment or .env), or
~/.config/eumdac-store/credentials.json with consumer_key and
consumer_secret.
Configuration
See examples/. Every field can also be set as EUMDAC_STORE_<FIELD>.
| Field | Default | |
|---|---|---|
collection_id |
required | EUMDAC collection |
product_name |
required | subdirectory and catalog table |
filename_glob |
required | files the catalog lists |
filename_pattern |
required | regex with (?P<start>…), optional (?P<end>…) and group columns |
filename_ts_format |
%Y%m%d%H%M%S |
|
download_root_dir |
required | a directory or s3://bucket/prefix |
storage_options |
{} |
fsspec options for a URL root, e.g. endpoint_url |
catalog_file |
$XDG_CACHE_HOME/eumdac-store/<root>/catalog.duckdb |
|
max_workers |
10 | at most 10 |
max_retries |
3 | per file |
quarantine_cooloff_hours |
2.0 | |
gap_group_cols |
the pattern's groups | for gaps |
gap_min_seconds, gap_max_seconds |
0, 1 | allowed gap between consecutive files |
For S3, credentials come from the usual AWS environment variables or
storage_options. eumdac-store never deletes; use a bucket lifecycle rule
for retention.
Development
uv sync
uv run pytest
Metadata
Release files for eumdac-store 0.5.1
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 |
|---|---|---|---|---|
| eumdac_store-0.5.1.tar.gz | 21.4 kB | With provenance | Details for eumdac_store-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eumdac_store-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for eumdac_store-0.5.1-py3-none-any.whl |
Total release size: 39.3 kB
Release files / eumdac_store-0.5.1.tar.gz
| Download URL | eumdac_store-0.5.1.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a5f7e35b1a4e0418d144efaa45735cce0f3bf658c3cf758daab47fae8bf77b5
|
|
BLAKE2b-256 checksum How to use checksums |
4e2cf335765df1e555462dcbf3b232516dad6b2326d5476f31bafb6b439f0a89
|
| 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 30, 2026.
Transparency logRelease files / eumdac_store-0.5.1-py3-none-any.whl
| Download URL | eumdac_store-0.5.1-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f55fe7ced165cce42890e57a393c78275e8c0b602db8e9e92bfaf2d9573cd15
|
|
BLAKE2b-256 checksum How to use checksums |
3b6fadc6881881e0565dea4e676f89dc20f7fca683269aaa45aecce92c944e42
|
| 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 30, 2026.
Transparency logSecurity for eumdac-store 0.5.1
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 eumdac_store-0.5.1.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 30, 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.