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:
2026-02-14 16:25:34 -07:00
parent 5cc0717430
commit 091f0f7704
+12
View File
@@ -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'),