Getting Started¶
awesIO provides YAML schemas and validation utilities for airborne wind energy system configurations. This page covers installation, basic validation, and how to choose the right schema for your data.
Prerequisites¶
Python 3.9 or newer
A YAML file that includes a schema reference in
metadata.schema
Install¶
Install using pip¶
Install the latest version from the main branch:
pip install git+https://github.com/awegroup/awesIO.git
Install from a specific branch:
pip install git+https://github.com/awegroup/awesIO.git@branch-name
Install from a specific commit or tag:
pip install git+https://github.com/awegroup/awesIO.git@commit-hash
pip install git+https://github.com/awegroup/awesIO.git@v0.1.0
Install using pixi¶
Install the latest version:
pixi add --pypi "awesio @ git+https://github.com/awegroup/awesIO.git"
Install from a specific branch:
pixi add --pypi "awesio @ git+https://github.com/awegroup/awesIO.git@branch-name"
Install from a specific commit or tag:
pixi add --pypi "awesio @ git+https://github.com/awegroup/awesIO.git@commit-hash"
pixi add --pypi "awesio @ git+https://github.com/awegroup/awesIO.git@v0.1.0"
Validate a YAML file¶
The validator auto-detects the schema using metadata.schema.
from awesio.validator import validate
data = validate("path/to/your_file.yml")
If validation fails, the error message includes the exact path of the failing property and the expected constraints.
Schema selection¶
Choose the schema by setting the schema filename in the YAML metadata.
metadata:
name: Example configuration
description: System description
note: Notes for reviewers
awesIO_version: 0.1.0
schema: system_schema.yml
Available schemas¶
system_schema.yml: complete airborne system configurationspower_curves_schema.yml: power curve datasetswind_resource_schema.yml: wind resource dataoperational_constraints_schema.yml: operational constraints
Examples¶
File examples are available in the examples/ directory. Start with:
examples/ground_gen/soft_kite_pumping_ground_gen_system.ymlexamples/ground_gen/soft_kite_pumping_ground_gen_power_curves.ymlexamples/ground_gen/soft_kite_pumping_ground_gen_operational_constraints.ymlexamples/wind_resource.yml
Next steps¶
Review the schema reference pages for field definitions.
Use the developer guide if you plan to contribute.