BH.oM.LadybugTools.WindroseData¶
Class structure¶
Implemented interfaces and base types¶
The WindroseData is inheriting from the following base type(s) and implements the following interfaces:
- BH.oM.LadybugTools.ISimulationData
- BH.oM.Base.IObject
Properties¶
Defining properties¶
The following properties are defined on the class
Name | Type | Description | Quantity |
---|---|---|---|
PrevailingDirection | List<double> | The direction bin of the prevailing wind, defined as two values (in degrees) for the lower and upper values for the bin, where 0 degrees is north. | - |
PrevailingPercentile95 | double | The 95th percentile wind speed value in the prevailing direction. | - |
PrevailingPercentile50 | double | The median (50th percentile) wind speed value in the prevailing direction. | - |
Percentile95 | double | The 95th percentile wind speed value. | - |
Percentile50 | double | The median (50th percentile) wind speed value. | - |
RatioOfCalmHours | double | The ratio of calm hours to total hours. Calm hours are hours with a wind speed of 1e-10 or less. | - |
Code and Schema¶
C# implementation¶
Assembly: LadybugTools_oM.dll
The C# class definition is available on github:
All history and changes of the class can be found by inspection the history.
JSON Schema implementation¶
The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.
JSON Schema
{
"$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/LadybugTools_oM/WindroseData.json"
}
The JSON Schema is available on github here: