@@ -21,9 +21,9 namespace { | |||
|
21 | 21 | /// - %1: start date |
|
22 | 22 | /// - %2: end date |
|
23 | 23 | /// - %3: parameter id |
|
24 |
/// |
|
|
24 | /// AMDA V2: http://amdatest.irap.omp.eu/php/rest/ | |
|
25 | 25 | const auto AMDA_URL_FORMAT = QStringLiteral( |
|
26 |
"http://amda |
|
|
26 | "http://amda.irap.omp.eu/php/rest/" | |
|
27 | 27 | "getParameter.php?startTime=%1&stopTime=%2¶meterID=%3&outputFormat=ASCII&" |
|
28 | 28 | "timeFormat=ISO8601&gzip=0"); |
|
29 | 29 | |
@@ -218,7 +218,8 void AmdaProvider::retrieveData(QUuid token, const SqpRange &dateTime, const QVa | |||
|
218 | 218 | |
|
219 | 219 | // Don't do anything if the reply was abort |
|
220 | 220 | if (reply->error() == QNetworkReply::NoError) { |
|
221 | auto downloadFileUrl = QUrl{QString{reply->readAll()}.trimmed()}; | |
|
221 | // AMDA v2: auto downloadFileUrl = QUrl{QString{reply->readAll()}.trimmed()}; | |
|
222 | auto downloadFileUrl = QUrl{QString{reply->readAll()}}; | |
|
222 | 223 | |
|
223 | 224 | qCInfo(LOG_AmdaProvider()) |
|
224 | 225 | << tr("TORM AmdaProvider::retrieveData downloadFileUrl:") << downloadFileUrl; |
General Comments 0
You need to be logged in to leave comments.
Login now