From fe74bf8e1fec2c134f27e06336339e52fc7cc2e9 Mon Sep 17 00:00:00 2001 From: Elena.Budnik <ebudnik@irap.omp.eu> Date: Fri, 15 Dec 2017 12:05:17 +0100 Subject: [PATCH] instrument id for remote --- php/RemoteDataCenter/RemoteParamManager.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/php/RemoteDataCenter/RemoteParamManager.php b/php/RemoteDataCenter/RemoteParamManager.php index 9d6658d..1e0cdc3 100644 --- a/php/RemoteDataCenter/RemoteParamManager.php +++ b/php/RemoteDataCenter/RemoteParamManager.php @@ -120,6 +120,7 @@ class RemoteParamManager } $fillValue = $this->center->getParamFillValue(); + if (!$fillValue) $fillValue = null; @@ -130,8 +131,8 @@ class RemoteParamManager $infoNode->appendChild($xml->createElement("si_conversion")); $infoNode->appendChild($xml->createElement("fill_value", $fillValue)); $infoNode->appendChild($xml->createElement("ucd")); - $infoNode->appendChild($xml->createElement("dataset_id")); - $infoNode->appendChild($xml->createElement("instrument_id")); + $infoNode->appendChild($xml->createElement("dataset_id",strtolower($this->center->ViId))); + $infoNode->appendChild($xml->createElement("instrument_id",strtolower($this->center->baseID." ".$this->center->ViId))); $getNode = $xml->createElement("get"); $viNode = $xml->createElement("vi"); -- libgit2 0.21.2