-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add CAP test * update test * fix test * attempt to fix metadata CAP * update metadata-ID * remove pywcwp ets validate for CAP * fix test, display metadata being validated * fix test * fix metadata_id * update message-count +1 * update url * fix url other metadata
- Loading branch information
1 parent
93660d3
commit 5244f3a
Showing
9 changed files
with
101 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<?xml-stylesheet type="text/xsl" href="https://www.meteo.sc/cap-alert-style.xsl"?> | ||
<alert xmlns="urn:oasis:names:tc:emergency:cap:1.2"> | ||
<identifier>urn:oid:2.49.0.0.690.0.2024.5.19.13.18.0</identifier> | ||
<sender>[email protected]</sender> | ||
<sent>2024-05-19T17:18:00+04:00</sent> | ||
<status>Actual</status> | ||
<msgType>Alert</msgType> | ||
<scope>Public</scope> | ||
<info> | ||
<language>en</language> | ||
<category>Met</category> | ||
<event>Strong Winds</event> | ||
<urgency>Immediate</urgency> | ||
<severity>Moderate</severity> | ||
<certainty>Observed</certainty> | ||
<audience>General Public</audience> | ||
<effective>2024-05-19T17:30:00+04:00</effective> | ||
<onset>2024-05-19T17:30:00+04:00</onset> | ||
<expires>2024-05-19T23:30:00+04:00</expires> | ||
<senderName>Seychelles Meteorological Authority</senderName> | ||
<headline>Moderate to strong south-easterly winds over Aldabra area</headline> | ||
<description>Moderate to strong south-easterly winds over Aldabra area associated with a severe tropical storm Ialy on 19th May 2024 from 5pm to 11pm</description> | ||
<instruction>Beware of strong south-easterly winds of 40km/hr gusting to 60km/hr causing rough seas. Mariners are advised to take extra precautions when navigating these areas</instruction> | ||
<web>https://www.meteo.sc/alerts/severe-tropical-storm-ialy-is-expected-to-cause-moderate-to-strong-south-easterly-winds-over-aldabra-area-on-19th-may-2024/</web> | ||
<contact>[email protected]</contact> | ||
<area> | ||
<areaDesc>Aldabra area</areaDesc> | ||
<polygon>-9.186965,46.078276 -9.336746,45.936002 -9.57065,45.983427 -9.748309,46.116216 -9.897844,46.249006 -10.000609,46.42922 -9.953902,46.694799 -9.692216,46.770679 -9.467752,46.770679 -9.327387,46.742224 -9.186965,46.694799 -9.140146,46.533555 -9.121416,46.362825 -9.186965,46.078276</polygon> | ||
</area> | ||
</info> | ||
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | ||
<ds:SignedInfo> | ||
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/> | ||
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/> | ||
<ds:Reference URI=""> | ||
<ds:Transforms> | ||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> | ||
<ds:Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/> | ||
</ds:Transforms> | ||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> | ||
<ds:DigestValue>s9RKcAph3khDLX4nOQQDZ7c23uVZqCDJziRZznnh3nA=</ds:DigestValue> | ||
</ds:Reference> | ||
</ds:SignedInfo> | ||
<ds:SignatureValue>liScT3sHEpNO1TXEDY1nMC5FoBnQruioH/xkU1rNRKfK8Y3y4/lRz64ueJfoWGYB/N3NWLkMhQ6V0X4lHGPyfA==</ds:SignatureValue> | ||
<ds:KeyInfo> | ||
<ds:X509Data> | ||
<ds:X509Certificate>MIIDeTCCAv6gAwIBAgISA7FZkY9qfwdIeZgOZUlggQr+MAoGCCqGSM49BAMDMDIx | ||
CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbm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mrSH24bdzXdacRoCMQCLW6bf0Y1mwuJN+jBCjTbyCe+F | ||
1ZEDJBb2AKxTZpWdVdtfRErY5BxHuACOm9SlXGE= | ||
</ds:X509Certificate> | ||
</ds:X509Data> | ||
</ds:KeyInfo> | ||
</ds:Signature> | ||
</alert> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ mcf: | |
version: 1.0 | ||
|
||
metadata: | ||
identifier: urn:wmo:md:int_wmo_test:cap | ||
identifier: urn:wmo:md:int-wmo-test:cap | ||
hierarchylevel: dataset | ||
|
||
identification: | ||
|
@@ -32,10 +32,10 @@ identification: | |
wmo: | ||
keywords: | ||
- weather | ||
keywords_type: themes | ||
keywords_type: theme | ||
vocabulary: | ||
name: Earth system disciplines as defined by the WMO Unified Data Policy, Resolution 1 (Cg-Ext(2021), Annex 1. | ||
url: https://codes.wmo.int/topic-hierarchy/earth-system-discipline | ||
url: https://codes.wmo.int/wis/topic-hierarchy/earth-system-discipline | ||
extents: | ||
spatial: | ||
- bbox: [-180.0, -90.0, 180.0, 90.0] | ||
|
@@ -44,12 +44,13 @@ identification: | |
- begin: 2024-07-02 | ||
end: null | ||
resolution: P1H | ||
wmo_data_policy: core | ||
rights: WMO Unified Policy for the International Exchange of Earth System Data | ||
url: https://example.org/fixme | ||
|
||
contact: | ||
host: | ||
organization: WMO | ||
url: https://wmo.int | ||
host: &contact_poc | ||
organization: World Meteorological Organisation | ||
url: https://www.wmo.int/ | ||
individualname: Firstname Lastname | ||
positionname: Position Name | ||
phone: null | ||
|
@@ -58,7 +59,7 @@ contact: | |
city: null | ||
administrativearea: null | ||
postalcode: null | ||
country: Switzerland | ||
email: [email protected] | ||
hoursofservice: 0700h - 1500h UTC | ||
country: null | ||
email: null | ||
hoursofservice: 0800h - 1600h UTC | ||
contactinstructions: email |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters