Comments (4)
The following are proposed changes to the two schematron rules:
<sch:pattern id="SIGMET.SIGMETPosition-2">
<sch:rule context="//iwxxm:SIGMETPosition">
<sch:assert test="( ( ( exists(//iwxxm:TropicalCycloneSIGMET) and (count(//iwxxm:TropicalCycloneSIGMET//iwxxm:analysisCollection) = count(//iwxxm:TropicalCycloneSIGMET//iwxxm:analysisCollection//iwxxm:forecastPositionAnalysis//iwxxm:tropicalCyclonePosition) ) ) and ( exists(//iwxxm:TropicalCycloneSIGMET) and not(exists(//iwxxm:TropicalCycloneSIGMET//iwxxm:supplementaryAnalysisCollection//iwxxm:forecastPositionAnalysis//iwxxm:tropicalCyclonePosition) ) ) ) or ( not(exists(//iwxxm:TropicalCycloneSIGMET)) and (count(//iwxxm:TropicalCycloneSIGMET//iwxxm:tropicalCyclonePosition) = 0) ) )">SIGMET.SIGMETPosition-2: iwxxm:tropicalCyclonePosition shall only be present in iwxxm:analysisCollection of iwxxm:TropicalCycloneSIGMET</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="SIGMET.SIGMETEvolvingCondition-5">
<sch:rule context="//iwxxm:SIGMETEvolvingCondition">
<sch:assert test="( ( ( exists(//iwxxm:TropicalCycloneSIGMET) and (count(//iwxxm:TropicalCycloneSIGMET//iwxxm:analysisCollection) = c
ount(//iwxxm:TropicalCycloneSIGMET//iwxxm:analysisCollection//iwxxm:analysis//iwxxm:tropicalCyclonePosition) ) ) and ( exists(//iwxxm:TropicalCycloneSIGMET) and not(exists(//iwxxm:TropicalCycloneSIGMET//iwxxm:supplementaryAnalysisCollection//iwxxm:analysis//iwxxm:tropicalCyclonePosition) ) ) ) or ( not(exists(//iwxxm:TropicalCycloneSIGMET)) and (count(//iwxxm:TropicalCycloneSIGMET//iwxxm:tropicalCyclonePosition) = 0) ) )">SIGMET.SIGMETEvolvingCondition-5: iwxxm:tropicalCyclonePosition shall only be present in iwxxm:analysisCollection of iwxxm:TropicalCycloneSIGMET</sch:assert>
</sch:rule>
</sch:pattern>
from iwxxm.
It was noticed that some States were not coding the example in the APAC SIGMET Guide mentioned in #250 correctly: While iwxxm:TropicalCycloneSIGMET/iwxxm:analysisCollection has a multiplicity of [0..*], in this case there shall only be one iwxxm:analysisCollection describing the TC positions and their associated CB clouds. The remaining descriptions after "AND" in the TAC message shall be coded under iwxxm:supplementaryAnalysisCollection.
It is therefore further proposed to include a new schematron rule to enforce the use of only one iwxxm:analysisCollection in a iwxxm:TropicalCycloneSIGMET:
<sch:pattern id="SIGMET.TropicalCycloneSIGMET-1">
<sch:rule context="//iwxxm:TropicalCycloneSIGMET">
<sch:assert test="( if( exists(//iwxxm:TropicalCycloneSIGMET) ) then( count(//iwxxm:TropicalCycloneSIGMET//iwxxm:analysisCollection) = 1 ) else( true() ) )">SIGMET.TropicalCycloneSIGMET-1: There shall only be one iwxxm:analysisCollection in iwxxm:TropicalCycloneSIGMET</sch:assert>
</sch:rule>
</sch:pattern>
from iwxxm.
https://github.com/wmo-im/iwxxm/wiki/TT-AvData-Teleconference-2022-Dec-09 notes:
- Choy presented the PR
- @jkorosi try to validate
from iwxxm.
It was noticed that some States were not coding the example in the APAC SIGMET Guide mentioned in #250 correctly.....
@blchoy - Can you open a new issue for this? It would be good to keep track of separately.
from iwxxm.
Related Issues (20)
- Common, Measures and other cross-package features Readiness HOT 16
- How to mature a proposal to changes? HOT 11
- How are Signatures/Provenance/Integrity handled? HOT 1
- DEMO issue only for iwxxm:SpaceWeatherLocation
- Develop IWXXM Homepage on Community site HOT 3
- IWXXM Development Workflow
- Non-existent NIL reason in guidance HOT 4
- Re-organize XSDs and support documentation HOT 7
- [question] aixm dependency - incoherencies HOT 2
- [iwxxm-collect] conflicting element names in v3.1 (rc) HOT 1
- Representation of airframe icing phenomenon is missing in the WAFS Significant Weather Forecast Package HOT 2
- Use of deprecated GML type HOT 1
- Develop Volcano Observatory Notice for Aviation (VONA) by State Volcano Observatories (SVO) HOT 6
- Add information on Quantitative Volcanic Ash (QVA) clouds HOT 7
- Changes to the template for advisory information on volcanic ash (VAA) HOT 2
- Changes to Space Weather Information HOT 2
- Relaxation of TAC constraints on IWXXM HOT 2
- Post a ZIP file of version 2021-2 HOT 2
- Suggesting a RTDBMS repository HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iwxxm.