wmo-im / iwxxm

XML schema and Schematron for aviation weather data exchange
https://old.wmo.int/wiswiki/tiki-index.php%3Fpage=TT-AvXML
48 stars 22 forks source link

Representation of airframe icing phenomenon is missing in the WAFS Significant Weather Forecast Package #294

Closed blchoy closed 1 year ago

blchoy commented 1 year ago

Describe the bug Amendment 79 to ICAO Annex 3 indicated that information on icing will be included in the WAFS SIGWX forecasts but it was not.

To Reproduce Not applicable.

Expected behavior Representation of icing phenomenon is required to describe icing in WAFS SIGWX forecasts.

Screenshots Not applicable.

Desktop (please complete the following information): Not applicable.

Additional context Not applicable.

blchoy commented 1 year ago

The implementation is rather straight forward. We only need to add a new codelist type iwxxm:DegreeOfIcingType to WAFSSigWxFC.xsd:

        <complexType name="DegreeOfIcingType">
                <annotation>
                        <documentation>Degree of icing.

See WMO No. 306 Vol I.2 FM 94 BUFR code table 0 20 041 "Airframe Icing".</documentation>
                        <appinfo>
                                <vocabulary>http://codes.wmo.int/bufr4/codeflag/0-20-041</vocabulary>
                                <extensibility>none</extensibility>
                        </appinfo>
                </annotation>
                <complexContent>
                        <extension base="gml:ReferenceType"></extension>
                </complexContent>
        </complexType>

The corresponding instance fragment will look like:

    <!-- An Icing Object -->
    <iwxxm:feature>
        <iwxxm:MeteorologicalFeature gml:id="uuid.48f96fb3-6534-4593-b760-9c65d0b9fa96">
            <gml:identifier codeSpace="http://wafs/sigwxobj">f597964d-1c4f-4564-b30c-03b318c71a60</gml:identifier>
            <iwxxm:phenomenon xlink:href="http://codes.wmo.int/49-2/MeteorologicalFeature/AIRFRAME_ICING"/>
            <iwxxm:phenomenonGeometry>
                <iwxxm:ElevatedVolume gml:id="uuid.7eaf9fd5-f648-4c40-82cd-81cb1e6387ad" srsDimension="2" axisLabels="Lat Long" srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
                    <gml:patches>
                        <gml:PolygonPatch>
                            <gml:exterior>
                                <gml:Ring>
                                    <gml:curveMember>
                                        <gml:Curve gml:id="uuid.012c21ce-6d29-4769-bdca-d042b306fca0" srsDimension="2" axisLabels="Lat Long" srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
                                            <gml:segments>
                                                <gml:CubicSpline>
                                                    <gml:posList> -41.623153 -158.734129 -42.921036 -158.310418 -43.614695 -156.565840 -44.448049 -154.972043 -45.933174 -154.748367 -46.733087 -153.171172 -46.985416 -151.164300 -46.884731 -149.037755 -47.995659 -147.690252 -48.199330 -145.711761 -46.904387 -145.018761 -45.627836 -145.977674 -44.393574 -146.977162 -42.959553 -147.449231 -41.878655 -148.831074 -41.959083 -150.789464 -41.053172 -152.365167 -40.289571 -154.037198 -40.159991 -155.942752 -40.378993 -157.783406 -41.623153 -158.734129 </gml:posList>
                                                    <gml:vectorAtStart> -35.75874 -5.02593 </gml:vectorAtStart>
                                                    <gml:vectorAtEnd> -35.75874 -5.02593 </gml:vectorAtEnd>
                                                </gml:CubicSpline>
                                            </gml:segments>
                                        </gml:Curve>
                                    </gml:curveMember>
                                </gml:Ring>
                            </gml:exterior>
                        </gml:PolygonPatch>
                    </gml:patches>
                    <iwxxm:upperElevation uom="FL">240</iwxxm:upperElevation>
                    <iwxxm:upperVerticalReference>MSL</iwxxm:upperVerticalReference>
                    <iwxxm:lowerElevation uom="FL">100</iwxxm:lowerElevation>
                    <iwxxm:lowerVerticalReference>MSL</iwxxm:lowerVerticalReference>
                </iwxxm:ElevatedVolume>
            </iwxxm:phenomenonGeometry>
            <iwxxm:phenomenonProperty>
                <iwxxm:DegreeOfIcing xlink:href="http://codes.wmo.int/bufr4/codeflag/0-20-041/3"/>
            </iwxxm:phenomenonProperty>
        </iwxxm:MeteorologicalFeature>
    </iwxxm:feature>
amilan17 commented 1 year ago

https://github.com/wmo-im/iwxxm/wiki/TT-AvData-Teleconference-2022-Dec-09 notes: