Skip to main content

openAMUNDSEN-DA

DOI

openAMUNDSEN-DA is the data assimilation layer for the distributed snow and hydrological model openAMUNDSEN. It prepares configured snow observations, executes sequential ensemble updates and writes reproducible diagnostics and compact gridded results.

The project is a v0.9 research preview. A scientific manuscript describing the openAMUNDSEN-DA framework and its Rofental application is in preparation. This repository documents the software interface and operational workflow.

Documentation

Install

Install the Python package on Python 3.11–3.14:

python -m pip install openamundsen-da

For the complete geospatial runtime, use the multi-architecture container:

docker pull ghcr.io/openamundsen/openamundsen-da:0.9.3

Use exact versions or image digests for reproducible work. The moving edge image tracks the latest green main commit and is not a release.

Command-line workflow

The installed distribution exposes one command, openamundsen-da:

openamundsen-da observations snow-cover PROJECT_DIR
openamundsen-da observations wet-snow PROJECT_DIR
openamundsen-da prepare PROJECT_DIR
openamundsen-da run PROJECT_DIR --max-workers 24
openamundsen-da render PROJECT_DIR --max-workers 24
openamundsen-da clean PROJECT_DIR

clean is preview-only unless --apply is supplied. A successful single-domain run already removes package-owned restart state after all configured outputs pass validation; member grids remain available.

Large domains use explicit data assimilation stages:

openamundsen-da subdomains prepare PROJECT_DIR
openamundsen-da subdomains run PROJECT_DIR
openamundsen-da subdomains merge PROJECT_DIR
openamundsen-da subdomains render PROJECT_DIR

The separate openamundsen-da subdomains model prepare|run|merge branch tiles one ordinary openAMUNDSEN simulation without projects or assimilation.

Python interface

from openamundsen_da import prepare_project, run_project

project = "/data/rofental/projects/project_2022_2023"
prepare_project(project)
result = run_project(project, max_workers=24)
print(result.manifest_path)

The supported Python surface contains the six top-level workflow operations documented in the API reference. Subdomain modules and lower-level scientific routines are internal interfaces.

Configuration boundary

  • <setup-name>.yml is pure openAMUNDSEN configuration and shared setup data.
  • <project-name>.yml owns the time span, observations and data assimilation.
  • generated step YAML files own one assimilation window and step-local model overrides.

Model grid inputs are selected exclusively by output_data.grids.format and support grid-layout NetCDF or deterministic georeferenced GeoTIFF. The compact data assimilation result is always results/grids/da_output_grids.nc.

Development

Build and validate the distribution, then build the same wheel-based image used for release:

python -m pip install build twine
bash scripts/ci/build_distribution.sh
docker build -t openamundsen-da:local .

Run tests through the repository wrappers:

bash scripts/ci/run_lint.sh
bash scripts/ci/run_unit_tests.sh
bash scripts/ci/run_integration_tests.sh
bash scripts/ci/run_integration_tests_subdomain.sh

See tests/README.md for the exact validation contracts.

License

openAMUNDSEN-DA is released under the MIT License, including commercial use subject to the license terms.

Release files for openamundsen-da 0.9.3

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

Source distribution (sdist)

Source distribution for openamundsen-da 0.9.3
File Size Uploaded
openamundsen_da-0.9.3.tar.gz 395.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openamundsen-da 0.9.3
File Interpreter ABI Platform
openamundsen_da-0.9.3-py3-none-any.whl Python 3 none any Details

Total release size: 858.3 kB

Release files / openamundsen_da-0.9.3.tar.gz

Download URL openamundsen_da-0.9.3.tar.gz
Size 395.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f58069e6cb3dd50c3aaefbfd29b896e535a540b87d06c044627eaf3e3675ea3c
BLAKE2b-256 checksum
How to use checksums
382709d3fb3a63110713d60fa8ce37a21ec84879c0b4e7b864d98dab683a5d9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jul 24, 2026.

Transparency log

Release files / openamundsen_da-0.9.3-py3-none-any.whl

Download URL openamundsen_da-0.9.3-py3-none-any.whl
Size 462.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9fa028485307e557c44091f9fac0fd35e58c8c495c772961a4d4927d6597050e
BLAKE2b-256 checksum
How to use checksums
4f1f2b4ed6e769933ae7bb6d91c058b5f52179f088dac9e4b90113b1062b1529
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jul 24, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.4

2 release files

This release

0.9.3 This release

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

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