Wind Resource Data Schema

Schema for wind resource data with clustering information.

Schema File

src/awesio/schemas/wind_resource_schema.yml

Example File

See: examples/wind_resource.yml

Validation

To validate a file against this schema:

from awesio.validator import validate

# Auto-detects schema from file metadata
data = validate("your_file.yml")

The validator automatically detects the schema type from the metadata.schema field in your YAML file.

Schema Structure

Wind Resource Data Schema

wind_resource_schema

Schema for wind resource data with clustering information.

type

object

properties

  • metadata

type

object

properties

  • name

type

string

  • description

type

string

  • note

type

string

  • awesIO_version

type

string

  • schema

type

string

const

wind_resource_schema.yml

  • n_clusters

type

integer

minimum

1

  • n_wind_speed_bins

type

integer

minimum

1

  • n_wind_direction_bins

type

integer

minimum

1

  • wind_direction_bin_width_deg

type

number

minimum

0

  • reference_height_m

type

number

minimum

0

  • total_samples

type

integer

minimum

1

  • wind_speed_range_m_s

type

array

maxItems

2

minItems

2

  • data_source

type

string

  • location

type

object

properties

  • latitude

type

number

  • longitude

type

number

additionalProperties

False

  • time_range

type

object

properties

  • start_year

type

integer

  • end_year

type

integer

  • years_included

type

array

  • months_included

type

string / array

additionalProperties

False

  • altitude_range_m

type

array

  • time_created

type

string

additionalProperties

True

  • altitudes

type

array

items

type

number

  • wind_speed_bins

type

object

properties

  • bin_edges_m_s

type

array

items

type

number

  • bin_centers_m_s

type

array

items

type

number

additionalProperties

False

  • wind_direction_bins

type

object

properties

  • bin_edges_deg

type

array

items

type

number

  • bin_centers_deg

type

array

items

type

number

additionalProperties

False

  • clusters

type

array

items

type

object

properties

  • id

type

integer

minimum

1

  • n_samples

type

integer

minimum

0

  • frequency

type

number

maximum

1

minimum

0

  • u_ref_mean_m_s

type

number

minimum

0

  • u_ref_std_m_s

type

number

minimum

0

  • v_ref_mean_m_s

type

number

  • v_ref_std_m_s

type

number

minimum

0

  • u_normalized

type

array

items

type

number

  • v_normalized

type

array

items

type

number

  • wind_speed_distribution

type

array

items

type

number

  • wind_direction_distribution

type

array

items

type

number

additionalProperties

False

  • probability_matrix

type

object

properties

  • description

type

string

  • dimensions

type

string

  • data

type

array

items

type

array

items

type

array

items

type

number

additionalProperties

False

additionalProperties

False