VA SIGMET with no volcano coordinates #275
-
From Annex 3 it appears that in VA SIGMET's the volcano's coordinates are optional for TAC.
In IWXXM (>=3.0) however these coordinates are mandatory in the EruptingVolcano type, so it's not possible to generate a legal IWXXM without coordinates. Does this mean that the volcano coordinates are mandatory in both TAC and IWXXM? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
Hello, In cases when the source volcano coordinates are not known, you can set element metce:position attribute 'nilReason' to the appropriate value. For example:
Respectfully, mark |
Beta Was this translation helpful? Give feedback.
-
Heelo Mark, Thanks for your response.
This results in 2 validation errors:
I beieve that if there is a nilReason, there also has to be the xsi:nil="true" ? |
Beta Was this translation helpful? Give feedback.
-
Hello, Thank you for the note. For VolcanicAshSIGMET the The difference between the two types is the addition of the eruption date in However, in either case, I still don't get the schematron error if nilReason is used in the Respectfully, mark |
Beta Was this translation helpful? Give feedback.
-
Thanks @mgoberfield for following up on this matter. I have no problem validating with both schemas and schematron for the sample VA SIGMET modified to have no erupting volcano location (see https://gist.github.com/blchoy/cfa2d8bb95e53c14e55a9e0b971ac7db). Checking the schematron rule VolcanicAshSIGMET.VolcanicAshSIGMET-6 it should not fire when the XML instance has no including elements under |
Beta Was this translation helpful? Give feedback.
-
I'm pretty sure the same construct doesn't validate in an IWXXM file with IWXXM3.0 rules. Does this SIGMET validate on your side? |
Beta Was this translation helpful? Give feedback.
-
Now I know what happened. Mark and I may have overlooked that you are making reference to IWXXM 3.0 (the next version IWXXM 2021-2 will be out within 2 weeks and my example is on this version). For VolcanicAshSIGMET.VolcanicAshSIGMET-6 in IWXXM 3.0 there was a known bug (see https://github.com/wmo-im/iwxxm/wiki/Confirmed-Issues-That-May-Affect-Operational-Versions) which had been fixed in IWXXM 3.0-dev. Unfortunately this version has never been made available officially on schemas.wmo.int. To get a copy of the fixed iwxxm.sch you can visit https://github.com/wmo-im/iwxxm/releases/tag/v3.0-dev. |
Beta Was this translation helpful? Give feedback.
Now I know what happened. Mark and I may have overlooked that you are making reference to IWXXM 3.0 (the next version IWXXM 2021-2 will be out within 2 weeks and my example is on this version). For VolcanicAshSIGMET.VolcanicAshSIGMET-6 in IWXXM 3.0 there was a known bug (see https://github.com/wmo-im/iwxxm/wiki/Confirmed-Issues-That-May-Affect-Operational-Versions) which had been fixed in IWXXM 3.0-dev. Unfortunately this version has never been made available officially on schemas.wmo.int. To get a copy of the fixed iwxxm.sch you can visit https://github.com/wmo-im/iwxxm/releases/tag/v3.0-dev.