mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
[GFS] Handle added parameters in GFS 0.25 files
Template 4.0 did not use to have TCDC, PRATE, CSNOW and CRAIN parameters. Ignore them for now.
This commit is contained in:
committed by
Mat Sutcliffe
parent
2998534a15
commit
d79e090d46
@@ -634,6 +634,10 @@ namespace BlackWxPlugin
|
|||||||
case VGRD: setWindV(gfld->fld, level); break;
|
case VGRD: setWindV(gfld->fld, level); break;
|
||||||
case PRMSL: setPressureAtMsl(gfld->fld); break;
|
case PRMSL: setPressureAtMsl(gfld->fld); break;
|
||||||
case PRES: /* Do nothing */ break;
|
case PRES: /* Do nothing */ break;
|
||||||
|
case TCDC: /* Do nothing */ break;
|
||||||
|
case PRATE: /* Do nothing */ break;
|
||||||
|
case CSNOW: break;
|
||||||
|
case CRAIN: break;
|
||||||
default: CLogMessage(this).error(u"Unexpected parameterValue in Template 4.0: %1 (%2)") << parameterValue.code << parameterValue.name; return;
|
default: CLogMessage(this).error(u"Unexpected parameterValue in Template 4.0: %1 (%2)") << parameterValue.code << parameterValue.name; return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user