Reduce the number of debug messages in CWeatherDataGfs

This commit is contained in:
Roland Winklmeier
2016-06-10 10:28:14 +02:00
parent 7ca5d63ce5
commit 91728fe414

View File

@@ -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)
{ {