<?xml version="1.0" encoding="UTF-8"?>
<MD_Metadata xmlns="http://www.isotc211.org/2005/gmd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:gml="http://www.opengis.net/gml"
    xmlns:gco="http://www.isotc211.org/2005/gco"
    xmlns:wmo="http://wis.wmo.int/2006/metadata"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://www.isotc211.org/2005/gmd/gmd.xsd http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/base/gml.xsd http://wis.wmo.int/2006/metadata ../wmo/wmo_metadata_extensions.xsd">
    <!-- validated in oXygen 7.2 [www.oxygenxml.com] Options :: XML Parser Features :: http://apache.org/xml/features/honour-all-schemaLocations [OFF] -->
    <!-- ========== fileIdentifier ========== -->
    <!-- 
        need to enforce globally unique identifier 
    -->
    <fileIdentifier><gco:CharacterString>uk.metoffice.jedds.metar</gco:CharacterString></fileIdentifier>
    <!-- ========== language ========== -->
    <language><gco:CharacterString>en</gco:CharacterString></language>
    <!-- ========== characterSet ========== -->
    <characterSet><MD_CharacterSetCode codeList="./resources/codeList.xml#MD_CharacterSetCode" codeListValue="utf8"/></characterSet>
    <!-- ========== parentIdentifier ========== -->
    <!-- ========== hierarchyLevel ========== -->
    <!-- ========== hierarchyLevelName ========== -->
    <!-- ========== contact ========== -->
    <contact>
        <CI_ResponsibleParty id="CI_ResponsibleParty--MetOffice">
            <organisationName><gco:CharacterString>Met Office</gco:CharacterString></organisationName>
            <contactInfo>
                <CI_Contact id="CI_Contact--MetOffice">
                    <phone>
                        <CI_Telephone>
                            <voice><gco:CharacterString>+44 1392 885680</gco:CharacterString></voice>
                            <facsimile><gco:CharacterString>+44 1392 885681</gco:CharacterString></facsimile>
                        </CI_Telephone>
                    </phone>
                    <address>
                        <CI_Address>
                            <deliveryPoint><gco:CharacterString>Fitzroy Road</gco:CharacterString></deliveryPoint>
                            <city><gco:CharacterString>Exeter</gco:CharacterString></city>
                            <administrativeArea><gco:CharacterString>Devon</gco:CharacterString></administrativeArea>
                            <postalCode><gco:CharacterString>EX1 3PB</gco:CharacterString></postalCode>
                            <country><gco:CharacterString>United Kingdom</gco:CharacterString></country>
                            <electronicMailAddress><gco:CharacterString>enquiries@metoffice.gov.uk</gco:CharacterString></electronicMailAddress>
                        </CI_Address>
                    </address>
                    <onlineResource>
                        <CI_OnlineResource>
                            <linkage><URL>http://www.metoffice.gov.uk</URL></linkage>
                        </CI_OnlineResource>
                    </onlineResource>
                </CI_Contact>
            </contactInfo>
            <role><CI_RoleCode codeList="./resources/codeList.xml#CI_RoleCode" codeListValue="pointOfContact"/></role>
        </CI_ResponsibleParty>
    </contact>
    <!-- ========== dateStamp ========== -->
    <!-- 
        date for this metadata record - not the content described by this record 
    -->
    <dateStamp><gco:Date>2006-06-05</gco:Date></dateStamp>
    <!-- ========== metadataStandardName ========== -->
    <metadataStandardName><gco:CharacterString>WMO Core Metadata Profile</gco:CharacterString></metadataStandardName>
    <!-- ========== metadataStandardVersion ========== -->
    <metadataStandardVersion><gco:CharacterString>1.0 (draft)</gco:CharacterString></metadataStandardVersion>
    <!-- ========== dataSetURI ========== -->
    <!-- 
        point to human readable webpage describing the dataset rather than the data access end point? 
    -->
    <dataSetURI><!-- the following URI is fictional --><gco:CharacterString>http://metar.jedds.metoffice.gov.uk</gco:CharacterString></dataSetURI>
    <!-- ========== locale ========== -->
    <!-- currently this example instance is ENGLISH only ... no multilingual support implemented -->
    <!-- ========== spatialRepresentationInfo ========== -->
    <!-- ========== referenceSystemInfo ========== -->
    <!-- ========== metadataExtensionInfo ========== -->
    <!-- link to single authoritative document on WMO WIS website -->
    <metadataExtensionInfo><!-- metadata extension information not published at this time --></metadataExtensionInfo>
    <!-- ========== identification information ========== -->
    <identificationInfo>
        <MD_DataIdentification>
            <citation>
                <CI_Citation>
                    <title><gco:CharacterString>JEDDS global METAR collection</gco:CharacterString></title>
                    <date gco:nilReason="inapplicable"/>
                    <citedResponsibleParty>
                        <CI_ResponsibleParty>
                            <organisationName><gco:CharacterString>Met Office</gco:CharacterString></organisationName>
                            <contactInfo xlink:href="#CI_Contact--MetOffice"/>
                            <role><CI_RoleCode codeList="./resources/codeList.xml#CI_RoleCode" codeListValue="publisher"/></role>
                        </CI_ResponsibleParty>
                    </citedResponsibleParty>
                    <presentationForm><CI_PresentationFormCode codeList="./resources/codeList.xml#CI_PresentationFormCode" codeListValue="documentDigital"/></presentationForm>
                </CI_Citation>
            </citation>
            <abstract>
                <gco:CharacterString>
                    Continuously updated collection of weather observation 'bulletins' (METARs) for aerodromes throughout the world.  
                    The "FM 15–XII METAR" routine weather report is an an International Civil Aviation Organisation (ICAO) and World Meteorological 
                    Organisation (WMO) Code form representing an observation of weather and runway conditions at a specific aerodrome, observed
                    at designated aerodrome at a specific time. The issuing centre is authorised and managed by the ICAO member state, and created 
                    according to declared ICAO and WMO standards. WMO Volume 306 Manual on codes 
                    [http://www.wmo.int/web/www/DPS/NewCodesTables/WMO306vol-I-1PartA.pdf] describes the international code form for METAR and the 
                    corresponding standard coding procedures.
                </gco:CharacterString>
            </abstract>
            <pointOfContact xlink:href="#CI_ResponsibleParty--MetOffice"/>
            <descriptiveKeywords>
                <MD_Keywords>
                    <keyword><wmo:WMO_DelimitedString delimiter="|" isoType="CharacterString">OBSERVATION | By Type | Surface | Aerodrome Weather Report (METAR)</wmo:WMO_DelimitedString></keyword>
                </MD_Keywords>
            </descriptiveKeywords>
            <descriptiveKeywords>
                <MD_Keywords>
                    <!--
                        Note: many of these terms derive from controlled vocabularies and *could* be represented as follows -
                        <keyword>
                            <wmo:WMO_IntlMetVocabCode codeList="pointerToVol182CodelistCatalogue" codeListValue="someControlledVocabItem" codeSpace="http://wis.wmo.int"/>
                        </keyword>
                    -->
                    <keyword><gco:CharacterString>Aviation</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Aerodrome</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Airport</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Observation</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>METAR</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Weather</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Temperature</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Dew Point</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Precipitation</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Visibility</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Cloud Amount</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Cloud Type</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Cloud Height</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Wind Direction</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Wind Speed</gco:CharacterString></keyword>
                    <keyword><gco:CharacterString>Gust Speed</gco:CharacterString></keyword>
                </MD_Keywords>
            </descriptiveKeywords>
            <language><gco:CharacterString>en</gco:CharacterString></language>
            <topicCategory><MD_TopicCategoryCode>climatologyMeteorologyAtmosphere</MD_TopicCategoryCode></topicCategory>
            <topicCategory><MD_TopicCategoryCode>transportation</MD_TopicCategoryCode></topicCategory>
            <extent>
                <EX_Extent>
                    <geographicElement>
                        <EX_GeographicDescription>
                            <geographicIdentifier>
                                <MD_Identifier>
                                    <!-- global coverage ... need to find appropriate 'gazetteer' to describe this -->
                                    <code><gco:CharacterString>global</gco:CharacterString></code>
                                </MD_Identifier>
                            </geographicIdentifier>
                        </EX_GeographicDescription>
                    </geographicElement>
                    <geographicElement>
                        <EX_GeographicBoundingBox>
                            <westBoundLongitude><gco:Decimal>-180.0</gco:Decimal></westBoundLongitude>
                            <eastBoundLongitude><gco:Decimal>180.0</gco:Decimal></eastBoundLongitude>
                            <southBoundLatitude><gco:Decimal>-90.0</gco:Decimal></southBoundLatitude>
                            <northBoundLatitude><gco:Decimal>90.0</gco:Decimal></northBoundLatitude>
                        </EX_GeographicBoundingBox>
                    </geographicElement>
                    <temporalElement>
                        <EX_TemporalExtent>
                            <extent>
                                <gml:TimePeriod gml:id="TemporalExtent">
                                    <!--
                                        1) Use the "indeterminatePosition" to establish one "edge" of the time window
                                        2) Use the *period* [P] declaration to indicate the other "edge" ... here the duration is *negative* implying the period ends 3 days previously
                                        Translation: 3-day time window upto the current day
                                    -->
                                    <gml:beginPosition indeterminatePosition="now"/>
                                    <gml:endPosition>-P3D</gml:endPosition>
                                </gml:TimePeriod>
                            </extent>
                        </EX_TemporalExtent>
                    </temporalElement>
                </EX_Extent>
            </extent>
        </MD_DataIdentification>
    </identificationInfo>  
    <!-- ========== contentInfo ========== -->
    <!-- ========== distributionInfo ========== -->
    <!--
        will add "binding" to data access service once I've figured out *how*
    -->
    <!-- ========== dataQualityInfo ========== -->
    <!-- ========== portrayalCatalogueInfo ========== -->
    <!-- ========== metadataConstraints ========== -->
    <!-- ========== applicationSchemaInfo ========== -->
    <!-- ========== metadataMaintenance ========== -->
    <!-- 
        =======================================================
        additional elements from ISO 19139 that DO NOT appear in ISO 19115
        =======================================================
    -->
    <!-- ========== series ========== -->
    <!-- ========== describes ========== -->
    <!-- ========== propertyType ========== -->
    <!-- ========== featureType ========== -->
    <!-- ========== featureAttribute ========== -->
</MD_Metadata>


