Davai environment: commandlines for running DAVAI-tests experiments.
Project description
DAVAI
This project contains:
- the davai command-line interface, to create davai experiments and run them,
- the davai-specific utilities, resources and AlgoComponents for Vortex (plugin)
- the davai tasks templates, jobs sequences and config files
- the documentation
This repository is the result of the merge of:
- the
davaisub-package from Vortex (1.x) - the
DAVAI-envrepository (command-line interface) - the
DAVAI-testsrepository (utilities, tasks & jobs)
Installation
-
on
belenos@MF -
or to setup your own install:
- Create a venv:
python -m venv ~/venvs/davai` source ~/venvs/davai - Then either install your own working version:
- Clone this repository, e.g. in
~/repositories/and install it:git clone https://github.com/ACCORD-NWP/DAVAI.git pip install [-e] DAVAI - Or from PyPI:
pip install davai
- Clone this repository, e.g. in
- Create a venv:
[!TIP] Useful function to put in your
.bashrc:function davai-activate() { path="${1:-.}" source $path/venv/bin/activate }so as to activate an experiment venv using
davai-activatefrom within it, ordavai-activate path/to/xp.
Quick start
For a quick start:
- Prepare an experiment based on version
<v>of the Davai tests, to validate an IAL Git reference<r>:
davai-new_xp <r> [-v <v>] [-h]
Notes:- you may need to specify the path to your IAL repository by argument, cf. options with
-h. - to know what version of the tests to use, cf. below. From
CY50+ onwards, a default version can be infered from the IAL repository.
- you may need to specify the path to your IAL repository by argument, cf. options with
- Go to the prompted directory of the experiment (ending with
.../dv-<nnnn>-<platform>@<user>/davai/nrv/) and source the associated python virtualenv as prompted:
source venv/bin/activate - Run the tests:
davai-run_xpand monitor (standard output for the build, then job scheduler). - If you need to re-build & re-run tests:
davai-build [-h]davai-run_tests [-h]
More details to be found in the documentation, in particular in case of a multi-repos contribution.
Tests versions and reference experiments
From CY50+, a default version of Davai can be found in IAL repo, file .davai_default_version.
However, new versions can be recommended, unrelated to changes in the IAL. For that matter, it will be referenced here
Documentation
Cf. here.
Dependencies
DAVAI is mainly written in Python. Make sure you have Python3.10 at least.
Python dependencies are included in the pyproject.toml file.
They include in particular:
- IAL-build:
wrappers around
gitandgmkpack(and eventually other building tools) to build IAL executables from Git - IAL-expertise: tools to analyse automatically the outputs of NWP configurations -- norms, Jo-tables, fields in FA/GRIB files, ...
- EPyGrAM: a Python library for handling output data from the IAL models; it is used here within IAL-expertise. Note that the Vortex package, currently used in version 1.x, is not yet available in these dependencies; cf. below.
It also uses Git, make sure you have a "recent enough" version of it, or some commands may not work properly. DAVAI works over a number of NWP packages, tools, softwares, that need to be pre-installed on the machine with their own procedures. These include:
- Vortex: scripting system used for the definition of tasks (resources, executables launch, ...) and the running of the jobs. It embeds a number of necesary-as-well sub-packages.
- Gmkpack: build system for IAL. Documentation is outdated.
These packages may already be pre-installed on MF's HPC or other platforms where DAVAI is already ported. Cf. the "Local complements" in "Installation" section, in this case.
To install them on a new machine, cf. the projects' installation instructions.
Lexicon
- DAVAI = "Device Aiming at the VAlidation of IAL"
- IAL = IFS-Arpege-LAM
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file davai-2.0.2-py3-none-any.whl.
File metadata
- Download URL: davai-2.0.2-py3-none-any.whl
- Upload date:
- Size: 174.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a0e447d691c8d124275bc19d04b5f77e6fe1144c87d4be3ab6c31685a58d373
|
|
| MD5 |
a1d29ef303ca8396c128eb39921a0b29
|
|
| BLAKE2b-256 |
6ae7d30162d47eca20213a4f258288a9fd73f257e72d1e49efaf7449c3cc048f
|