Skip to main content

HESTIA Aggregation Engine

Pipeline Status Coverage Report Documentation Status

Documentation

Official documentation can be found on Read the Docs.

Documentation of the aggregation process can be found in the docs folder.

Install

  1. Install the module:
pip install hestia_earth.aggregation

Usage

from hestia_earth.aggregation import aggregate

# `country` and `product` are glossary Terms
country = {'@type': 'Term', '@id': 'GADM-JPN', 'name': 'Japan', 'termType': 'region'}
product = {'@type': 'Term', '@id': 'wheatGrain', 'name': 'Wheat, grain', 'termType': 'crop'}

aggregates = aggregate(country=country, product=product, start_year=2010, end_year=2025)

Generating Covariance matrix

To generate the covariance matrix, some CSV files are generated and stored in a folder.

By default, these files are created in the /tmp/covariance directory and removed at the end of the aggregation. Set the TMP_DIR env variable to use $TMP_DIR/covariance instead.

You can also choose a different storage method with the AGGREGATION_COVARIANCE_STORAGE env variable:

  • temporary: default value, will store the files in $TMP_DIR/covariance and delete them at the end;
  • s3#<folder>: upload the files on the S3 bucket defined by the variable AWS_BUCKET_UPLOADS;
  • local#<folder>: copy the files to a local folder.

Metadata

Release files for hestia-earth-aggregation 0.23.17

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

Source distribution (sdist)

Source distribution for hestia-earth-aggregation 0.23.17
File Size Uploaded Provenance Actions
hestia_earth_aggregation-0.23.17.tar.gz 81.2 kB Without provenance Details for hestia_earth_aggregation-0.23.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hestia-earth-aggregation 0.23.17
File Interpreter ABI Platform Actions
hestia_earth_aggregation-0.23.17-py3-none-any.whl Python 3 none any Details for hestia_earth_aggregation-0.23.17-py3-none-any.whl

Total release size: 175.9 kB

Release files / hestia_earth_aggregation-0.23.17.tar.gz

Download URL hestia_earth_aggregation-0.23.17.tar.gz
Size 81.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8c417608abaf958e2e43d4339b1a7f3a7b2239232ec5da3b47b5894cd42eb7a7
BLAKE2b-256 checksum
How to use checksums
0d4b304c461a1db79f0b0792b43e74b2bae34c6fb7d869bc13cf27d0e49a35dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / hestia_earth_aggregation-0.23.17-py3-none-any.whl

Download URL hestia_earth_aggregation-0.23.17-py3-none-any.whl
Size 94.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3dfcd3ed66a9ac8af2a8ff4df542bc9308f960c258c2f5b90d6ad369c8b254c4
BLAKE2b-256 checksum
How to use checksums
dba80594079de13781abfd3f1df7aa0d69f214f665a3ed7e3af029aceda8bc51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for hestia-earth-aggregation 0.23.17

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.23.17 This release

2 release files No provenance

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