feat: Add decoding for variable visibility (VIS VRB) remarks
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -312,6 +312,14 @@
|
|||||||
match: p => p[0] === 'VIA' && p.length > 1,
|
match: p => p[0] === 'VIA' && p.length > 1,
|
||||||
decode: p => ({ consumed: 2, text: ` - VIA ${p[1]}: relayed via ${p[1]}` })
|
decode: p => ({ consumed: 2, text: ` - VIA ${p[1]}: relayed via ${p[1]}` })
|
||||||
},
|
},
|
||||||
|
// VIS VRB
|
||||||
|
{
|
||||||
|
match: p => p[0] === 'VIS' && p.length > 2 && p[1] === 'VRB' && p[2].includes('-'),
|
||||||
|
decode: p => {
|
||||||
|
const [min, max] = p[2].split('-');
|
||||||
|
return { consumed: 3, text: ` - VIS VRB ${p[2]}: Visibility variable between ${min} and ${max} statute miles` };
|
||||||
|
}
|
||||||
|
},
|
||||||
// VIS
|
// VIS
|
||||||
{
|
{
|
||||||
match: p => p[0] === 'VIS' && p.length > 2,
|
match: p => p[0] === 'VIS' && p.length > 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user