Skip to main content

etcompare

etcompare compares daily OpenET model evapotranspiration with quality-controlled eddy covariance (EC) station ET. It builds on products you already have: flux-data-qaqc daily exports, fluxfootprints footprint rasters, and daily OpenET GeoTIFFs or a table of values already extracted from them. One YAML file declares the whole analysis. etcompare then:

  • extracts model ET over footprints or fixed windows;
  • builds frozen comparison cohorts;
  • scores daily pairs and period totals;
  • adds paired block-bootstrap intervals and rank stability;
  • runs diagnostics, representativeness, event, water-balance and held-out ensemble analyses when they are declared;
  • writes a report that states what was skipped and why.

Version 0.1.0 (MIT). It is not published to PyPI.

  • Documentation: docs/, built with Sphinx for Read the Docs (method guide, configuration, limitations, public API, data dictionary, references).
  • Changes: CHANGELOG.md.
  • Design decisions: docs/decisions.md.
  • Development status: IMPLEMENTATION_STATUS.md.

Install

pip install -e ".[geo,plot]"     # from a checkout; geo = rasters, plot = figures
# or, for development:
uv sync --extra geo --extra plot

The core (tables, cohorts, metrics, intervals, rankings, reports without figures) needs only numpy, pandas, pyarrow, scipy and PyYAML. Importing etcompare makes no network calls and needs no credentials.

Try it offline

etcompare demo demo --rasters      # fixed-seed synthetic stations, models, rasters, footprints
etcompare run demo/config.yaml     # about 4–5 minutes; the report is in demo/outputs/report/

Every value in the demonstration is generated. Its stations (XX-SY1..3) and models are not real, and every report page and caption says so. Without --rasters, the demonstration uses pre-extracted tables only and needs no geo extra.

Where the console script is blocked (for example by Windows Application Control), use python -m etcompare instead. The notebooks in notebooks/ cover:

  • a Colab quickstart (Google Drive is optional);
  • pre-extracted tables;
  • the raster workflow.

Command line

etcompare validate config.yaml   # read every declared table through its adapter
etcompare index    config.yaml   # index OpenET rasters and footprint sets
etcompare extract  config.yaml   # footprint aggregation, raster extraction, footprint sets
etcompare analyze  config.yaml   # cohorts, periods, metrics, intervals, rankings, ...
etcompare report   config.yaml   # figures, Markdown/HTML report, skipped-analyses table
etcompare run      config.yaml   # all five; units whose inputs did not change are reused
etcompare demo     DIRECTORY     # write the synthetic demonstration (--rasters adds GeoTIFFs)

Options:

  • --force rebuilds instead of reusing the cache.
  • --log-format json|text and --log-level control stderr logging.

Exit codes:

  • 0: success.
  • 2: a configuration or data-validation error, including a systematic read failure.
  • 1: any other error.

Each run writes <output_dir>/runs/<run_id>/run_manifest.json and a JSON-lines log. The manifest records the configuration hash, input checksums, versions, git revision, grids, masks, seeds, exclusion counts and unit statuses.

Long raster runs are protected by the processing: section:

  • keep-awake on Windows;
  • finite retries of transient read errors;
  • stall and suspend detection;
  • monthly checkpoints, so an interrupted extraction resumes to identical outputs;
  • unreadable files skipped and counted;
  • a run that fails outright when failures look systematic.

See docs/configuration.md.

Limitations

See docs/limitations.md for the full list. In short:

  • results are station level;
  • ensembles are built after extraction, never pixel-level;
  • there is no hierarchical interval across stations;
  • there is no polygon ET extraction;
  • staging and concurrency are not implemented.

Real-station data and reports stay local and are git-ignored.

Metadata

Release files for etcompare 0.1.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 etcompare 0.1.0
File Size Uploaded Provenance Actions
etcompare-0.1.0.tar.gz 484.6 kB Without provenance Details for etcompare-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 836.5 kB

Release files / etcompare-0.1.0.tar.gz

Download URL etcompare-0.1.0.tar.gz
Size 484.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f9bbdd48e319d3947bfdaca319f46d51b78299a5c2bffa4511c19959455f3a9b
BLAKE2b-256 checksum
How to use checksums
d52ae584fc9cde75a29f63fdc37c1f1e0c40a508f39dcb7c102567017c3ebc79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / etcompare-0.1.0-py3-none-any.whl

Download URL etcompare-0.1.0-py3-none-any.whl
Size 351.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75226f0d1f9c97ac84f136d1e7383d3c2fa871bab9b11b6f0d77b6c7bec822f3
BLAKE2b-256 checksum
How to use checksums
59304dbed4795c2d2ea2b90cbe0eaf5700477dfd636fb878b10166bd24ee1258
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for etcompare 0.1.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.

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