Skip to main content

Confoundry

A Causal Inference framework for Earth Observation applications.

How to Download the Data

To download geospatial time series datasets for a specific region, use the provided command-line interface (CLI):

  1. Prepare a GeoJSON file
    Create or obtain a GeoJSON file that defines the polygon of your region of interest (e.g., data/california.json).

  2. Activate your Python environment
    Make sure your environment is activated:

    source .venv/bin/activate
    
  3. Run the download command
    Use the following command to download data and populate the database:

    python -m drought_causality.download_to_db \
      --geojson_path data/california.json \
      --db_path confoundry_db.duckdb \
      --start_date 2014-01-01 \
      --end_date 2014-03-31
    
    • --geojson_path: Path to your GeoJSON file.
    • --db_path: Path to the DuckDB database file (will be created if it doesn't exist).
    • --start_date / --end_date: Date range for data download (format: YYYY-MM-DD).
    • --location_nickname: (Optional) Custom name for the location. Otherwise, the filename of the geojson is used by default.
    • --downloaders: (Optional, repeatable) Specify which data sources to download (e.g., spei, era5). If omitted, all available downloaders are used.

    Example with specific downloaders:

    python -m drought_causality.download_to_db \
      --geojson_path data/california.json \
      --downloaders spei --downloaders era5
    
  4. Output
    Downloaded files will be saved under data/<location_nickname>/, and all metadata will be recorded in the DuckDB database.

Aridity stratification of VAR–LiNGAM effects

Run python -m confoundry.varlingam_aridity_stratification --help to compare saved NDVI responses along an external aridity gradient. The module produces publication figures, LaTeX tables, QC coverage summaries, and spatial tests. See the experiment guide for inputs, commands, and scientific interpretation.

Cite this Work (TBC)

Metadata

Release files for confoundry 0.2.1

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

Source distribution (sdist)

Source distribution for confoundry 0.2.1
File Size Uploaded Provenance Actions
confoundry-0.2.1.tar.gz 307.6 kB Without provenance Details for confoundry-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for confoundry 0.2.1
File Interpreter ABI Platform Actions
confoundry-0.2.1-py3-none-any.whl Python 3 none any Details for confoundry-0.2.1-py3-none-any.whl

Total release size: 616.7 kB

Release files / confoundry-0.2.1.tar.gz

Download URL confoundry-0.2.1.tar.gz
Size 307.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e0efa565577997d3abb0affe76985fea2ebfab582e06ae6c1b0d5d07d3be9379
BLAKE2b-256 checksum
How to use checksums
9bf8542aea757d7f616aa910934eb2722738b4239e6a3abed587e99b91ea0a42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / confoundry-0.2.1-py3-none-any.whl

Download URL confoundry-0.2.1-py3-none-any.whl
Size 309.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb19fcb6f2155e9d94dcac2ae07ee52b3cdd0745b6efc9cc4628f0fb1efce119
BLAKE2b-256 checksum
How to use checksums
d43527562c2f3388b8266a9f155d986a55c25ad6cf03396adaa5c54b3c949160
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for confoundry 0.2.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.

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