Skip to main content

Data assimilation extension for openAMUNDSEN

Project description

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. Its scientific formulation and Rofental application are described by Wagner et al. (2026); 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/franzwagner-uibk/openamundsen_da:0.9.0

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openamundsen_da-0.9.0.tar.gz (394.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openamundsen_da-0.9.0-py3-none-any.whl (462.5 kB view details)

Uploaded Python 3

File details

Details for the file openamundsen_da-0.9.0.tar.gz.

File metadata

  • Download URL: openamundsen_da-0.9.0.tar.gz
  • Upload date:
  • Size: 394.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for openamundsen_da-0.9.0.tar.gz
Algorithm Hash digest
SHA256 5a73ca4a404a33242a0f37fe67721c05473a0fda22ceb82d8f81fdf3b6a35e16
MD5 3e40c24536f520bc35dd144ab570eaa3
BLAKE2b-256 c43dc9d3559946a4e268260b5a40351681c26a6da6472776483bda9f6e8768a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for openamundsen_da-0.9.0.tar.gz:

Publisher: release.yml on franzwagner-uibk/openamundsen_da

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openamundsen_da-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: openamundsen_da-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 462.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for openamundsen_da-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad2b1bb8ba488edf47d69b401bf3738fb77e3784ee5e04bbb8d7f43bfba20916
MD5 8c4140cca35dd89c0e7024d988c9b3b4
BLAKE2b-256 36357b7dee0b408af3823ab1aba820e89ff5ffa0df292fb7ec5f11c882cd2091

See more details on using hashes here.

Provenance

The following attestation bundles were made for openamundsen_da-0.9.0-py3-none-any.whl:

Publisher: release.yml on franzwagner-uibk/openamundsen_da

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page