From 20f9dfbd84ad1444c1a0a7f2aeed8634866d3ee8 Mon Sep 17 00:00:00 2001 From: lejeunemax Date: Tue, 17 Feb 2026 18:50:40 +0100 Subject: [PATCH] Fixing incorrect crs definition --- windIO/examples/plant/plant_wind_farm/multiple_types.yaml | 5 +++-- windIO/schemas/plant/common.yaml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/windIO/examples/plant/plant_wind_farm/multiple_types.yaml b/windIO/examples/plant/plant_wind_farm/multiple_types.yaml index 6aee8ca..567d20b 100644 --- a/windIO/examples/plant/plant_wind_farm/multiple_types.yaml +++ b/windIO/examples/plant/plant_wind_farm/multiple_types.yaml @@ -7,6 +7,8 @@ layouts: y: [ 6490.2719, 6316.9180, 6455.3421, 6043.4997, 5631.6572, 5219.8148, 5665.8933, 5093.7148, 4521.5362, 3949.3577, 4876.4446, 4143.9299, 3411.4153, 2678.9006, 4086.9958, 3416.8405, 2746.6851, 2076.5297, 1406.3743, 3297.5471, 2665.4498, 2033.3525, 1401.2557, 769.1637, 137.0718 ] + z: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] + crs: +proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +ellps=WGS84 +units=m +no_defs +type=crs turbine_types: [1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1] turbine_identifiers: [ "WT01", "WT02", "WT03", "WT04", "WT05", "WT06", "WT07", "WT08", "WT09", "WT10", @@ -15,5 +17,4 @@ layouts: ] turbine_types: 0: !include ../plant_energy_turbine/IEA37_10MW_turbine.yaml - 1: !include ../plant_energy_turbine/IEA37_15MW_turbine.yaml - + 1: !include ../plant_energy_turbine/IEA37_15MW_turbine.yaml \ No newline at end of file diff --git a/windIO/schemas/plant/common.yaml b/windIO/schemas/plant/common.yaml index fda2cb7..c0c3653 100644 --- a/windIO/schemas/plant/common.yaml +++ b/windIO/schemas/plant/common.yaml @@ -55,7 +55,7 @@ definitions: crs: title: (Optional) Coordinate reference system description: Coordinate reference system described as a PROJ string - type: array + type: string data_types: decimal: