feat: add decoding for ICE PAST HR and ICE INTMT remarks
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
+12
@@ -343,6 +343,18 @@
|
||||
match: p => p[0] === 'CVCTV' && p.length > 2 && p[1] === 'CLD' && p[2] === 'EMBD',
|
||||
decode: p => ({ consumed: 3, text: ` - CVCTV CLD EMBD: Convective cloud embedded in stratiform layer` })
|
||||
},
|
||||
// ICE
|
||||
{
|
||||
match: p => p[0] === 'ICE',
|
||||
decode: p => {
|
||||
if (p.length > 2 && p[1] === 'PAST' && p[2] === 'HR') {
|
||||
return { consumed: 3, text: ` - ICE PAST HR: Ice observed in the past hour` };
|
||||
}
|
||||
if (p.length > 1 && p[1] === 'INTMT') {
|
||||
return { consumed: 2, text: ` - ICE INTMT: Intermittent ice observed` };
|
||||
}
|
||||
}
|
||||
},
|
||||
// DENSITY ALT
|
||||
{
|
||||
match: p => p[0] === 'DENSITY' && p.length > 2 && p[1] === 'ALT' && p[2].endsWith('FT'),
|
||||
|
||||
Reference in New Issue
Block a user