Class Weather

Applied Stereotypes:
XSDcomplexType

Defines the weather conditions in terms of light, fog, precipitation, cloud, temperature and atmospheric pressure states. If one of the conditions is missing it means that it doesn't change.

Used in:
Environment
Properties
  Name Type Cardinality AppliedStereotypes Description
  atmosphericPressure double 0..1 XSDattribute Reference atmospheric pressure at z=0.0 in world coordinate system. Unit: [Pa]. Range: [80000..120000]. The actual atmospheric pressure around the entities of the scenario has to be calculated depending on their z position. See also the Standard Atmosphere as defined in ISO2533.
D cloudState CloudState 0..1 XSDattribute, deprecated Definition of the cloud state, i.e. cloud state and sky visualization settings.
  fractionalCloudCover FractionalCloudCover 0..1 XSDattribute Definition of cloud states using the fractional cloud cover in oktas.
  temperature double 0..1 XSDattribute Outside temperature at z=0.0 in world coordinate system. Unit: [K]. Range: [170..340]. The actual outside temperature around the entities of the scenario has to be calculated depending on their z position.
  sun Sun 0..1 XSDelement Definition of the sun, i.e. position and intensity.
  fog Fog 0..1 XSDelement Definition of fog, i.e. visual range and bounding box.
  precipitation Precipitation 0..1 XSDelement Definition of precipitation, i.e. type and intensity.
  wind Wind 0..1 XSDelement Definition of the wind: direction and speed.
  domeImage DomeImage 0..1 XSDelement Image reference to represent the sky. Mutually exclusive with "fractionalCloudCover". If the image also contains lighting information (HDRi) it is also mutually exclusive with "sun".
Deprecation
  • Property cloudState deprecated. With version 1.2. Use fractionalCloudCover instead.
XSD 1.3 Representation


<xsd:complexType name="Weather">
<xsd:all>
<xsd:element name="Sun" type="Sun" minOccurs="0"/>
<xsd:element name="Fog" type="Fog" minOccurs="0"/>
<xsd:element name="Precipitation" type="Precipitation" minOccurs="0"/>
<xsd:element name="Wind" type="Wind" minOccurs="0"/>
<xsd:element name="DomeImage" type="DomeImage" minOccurs="0"/>
</xsd:all>
<xsd:attribute name="cloudState" type="CloudState">
<xsd:annotation>
<xsd:appinfo>
deprecated
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="atmosphericPressure" type="Double"/>
<xsd:attribute name="temperature" type="Double"/>
<xsd:attribute name="fractionalCloudCover" type="FractionalCloudCover"/>
</xsd:complexType>

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "all"; mixed: "false"]
  • Property atmosphericPressure
    • XSDattribute
  • Property cloudState
    • XSDattribute
    • deprecated [withVersion: "1.2"; comment: "Use fractionalCloudCover instead"]
  • Property fractionalCloudCover
    • XSDattribute
  • Property temperature
    • XSDattribute
  • Property sun
    • XSDelement [position: "1"]
  • Property fog
    • XSDelement [position: "2"]
  • Property precipitation
    • XSDelement [position: "3"]
  • Property wind
    • XSDelement [position: "4"]
  • Property domeImage
    • XSDelement [position: "5"]

To XSD