Skip to main content

openAMUNDSEN-DA

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

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

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.2
File Size Uploaded
openamundsen_da-0.9.2.tar.gz 395.1 kB Details

Built distribution (wheel)

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

Total release size: 857.7 kB

Release files / openamundsen_da-0.9.2.tar.gz

Download URL openamundsen_da-0.9.2.tar.gz
Size 395.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9ab8a13d34c5491f49422cee7d999b44b599da1295eb9a71d6b2a60e0e4668bd
BLAKE2b-256 checksum
How to use checksums
2a0661b323a96f3994a9150d014d758340edf55efaf8f9e0a7cbebe65f91a09f
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 23, 2026.

Transparency log

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

Download URL openamundsen_da-0.9.2-py3-none-any.whl
Size 462.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c813a38d990083e01a4288d2b7eefbae943b0902d82a796e3b100f1216cf840b
BLAKE2b-256 checksum
How to use checksums
706b47a8b4aea435c48b9ea4bd35756feeb03eebf3d1b2406dfab3580149ec77
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 23, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.4

2 release files

0.9.3

2 release files

This release

0.9.2 This release

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