Skip to content

Commit

Permalink
Bug in the projection of RSS images on the Globe texture.
Browse files Browse the repository at this point in the history
  • Loading branch information
hvanruys committed Feb 14, 2022
1 parent 218864d commit 4df893d
Show file tree
Hide file tree
Showing 4 changed files with 351 additions and 313 deletions.
5 changes: 2 additions & 3 deletions core/datahubaccessmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ bool DatahubAccessManager::appendToOutDocument()
qDebug() << "!!!!!!!!!!!!! document wrong ! " << errortext << " linenbr = " << errorline ;
//qDebug() << "m_pBuffer = " << *m_pBuffer;

QString title = QString("Error Message");
QTextDocument textdoc(*m_pBuffer);
QString strdoc = textdoc.toPlainText();
if( strdoc.mid(0, 15) == "<!DOCTYPE html>")
Expand Down Expand Up @@ -403,7 +402,7 @@ void DatahubAccessManager::DownloadProduct(QList<ProductList> prodlist, int inde
strurl = QString("https://scihub.copernicus.eu/dhus/odata/v1/Products('%1')/$value").arg(prodlist.at(index).uuid);
else
strurl = QString("https://scihub.copernicus.eu/dhus/odata/v1/Products('%1')/Nodes('%2')/Nodes('%3')/$value")
.arg(uuid).arg(completebasename).arg(band_or_quicklook);
.arg(uuid, completebasename, band_or_quicklook);
}
else
{
Expand All @@ -413,7 +412,7 @@ void DatahubAccessManager::DownloadProduct(QList<ProductList> prodlist, int inde
strurl = QString("https://coda.eumetsat.int/odata/v1/Products('%1')/$value").arg(prodlist.at(index).uuid);
else
strurl = QString("https://coda.eumetsat.int/odata/v1/Products('%1')/Nodes('%2')/Nodes('%3')/$value")
.arg(uuid).arg(completebasename).arg(band_or_quicklook);
.arg(uuid, completebasename, band_or_quicklook);
}

qDebug() << strurl;
Expand Down
12 changes: 11 additions & 1 deletion core/formgeostationary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ void FormGeostationary::CreateGeoImageXRIT(SegmentListGeostationary *sl, QString
int filesequence;
QString filespectrum;

QApplication::setOverrideCursor(Qt::WaitCursor);
//QApplication::setOverrideCursor(Qt::WaitCursor);
int geoindex = sl->getGeoSatelliteIndex();

filetiming = tex.mid(0, 4) + tex.mid(5, 2) + tex.mid(8, 2) + tex.mid(13, 2) + tex.mid(16, 2);
Expand Down Expand Up @@ -569,6 +569,16 @@ void FormGeostationary::CreateGeoImageXRIT(SegmentListGeostationary *sl, QString

qDebug() << QString("Reading epilogue file = %1").arg(epiloguefile);

if(epiloguefile == "")
{
QApplication::restoreOverrideCursor();
QMessageBox msgBox;
msgBox.setText("There is no epilogue file.");
msgBox.exec();


return;
}
try
{
da.read_file(epiloguefile, epiheader, epidata);
Expand Down
4 changes: 4 additions & 0 deletions core/formmapcyl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1916,6 +1916,10 @@ void FormMapCyl::SearchForFreeManager()
hub = HUBEUMETSAT;

qDebug() << "FormMapCyl::SearchForFreeManager()";
for(int i = 0; i < todownloadlist.count() ; i++)
{
qDebug() << "status = " << todownloadlist.at(i).status;
}

for(int i = 0; i < todownloadlist.count() ; i++)
{
Expand Down
Loading

0 comments on commit 4df893d

Please sign in to comment.