mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
Reduce the number of debug messages in CWeatherDataGfs
This commit is contained in:
@@ -93,7 +93,6 @@ namespace BlackWxPlugin
|
|||||||
|
|
||||||
void CWeatherDataGfs::ps_parseGfsFile(QNetworkReply *reply)
|
void CWeatherDataGfs::ps_parseGfsFile(QNetworkReply *reply)
|
||||||
{
|
{
|
||||||
CLogMessage(this).debug() << "finished";
|
|
||||||
m_gribData = reply->readAll();
|
m_gribData = reply->readAll();
|
||||||
CWorker *worker = BlackMisc::CWorker::fromTask(this, "parseGribFile", [this]()
|
CWorker *worker = BlackMisc::CWorker::fromTask(this, "parseGribFile", [this]()
|
||||||
{
|
{
|
||||||
@@ -217,7 +216,6 @@ namespace BlackWxPlugin
|
|||||||
g2int numfields = 0;
|
g2int numfields = 0;
|
||||||
g2_info(readPtr, sec0, sec1, &numfields, &numlocal);
|
g2_info(readPtr, sec0, sec1, &numfields, &numlocal);
|
||||||
|
|
||||||
CLogMessage(this).debug() << "Parsing grib message no:" << messageNo;
|
|
||||||
for (int n = 0; n < numfields; n++)
|
for (int n = 0; n < numfields; n++)
|
||||||
{
|
{
|
||||||
g2int unpack = 1;
|
g2int unpack = 1;
|
||||||
@@ -245,6 +243,7 @@ namespace BlackWxPlugin
|
|||||||
}
|
}
|
||||||
messageNo++;
|
messageNo++;
|
||||||
}
|
}
|
||||||
|
CLogMessage(this).debug() << "Parsed" << messageNo << "GRIB messages.";
|
||||||
|
|
||||||
for (const GfsGridPoint &gfsGridPoint : m_gfsWeatherGrid)
|
for (const GfsGridPoint &gfsGridPoint : m_gfsWeatherGrid)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user