diff --git a/php/RemoteDataCenter/ImpexParamManager.php b/php/RemoteDataCenter/ImpexParamManager.php index 71f55d4..18229f3 100644 --- a/php/RemoteDataCenter/ImpexParamManager.php +++ b/php/RemoteDataCenter/ImpexParamManager.php @@ -338,12 +338,12 @@ class ImpexParamManager $filesMgr->setFileName($localFile); $varInfo = $filesMgr->getCdfVarInfo($this->parameterKey); - $varSampling = $filesMgr->getCdfSampling(); + $varSampling = $filesMgr->getCdfSampling(); $res["param"]["info"]["realVar"] = $this->parameterKey; $res["param"]["info"]["type"] = $varInfo['type']; - $res["param"]["info"]["minSampling"] = $varSampling[4]; - $res["param"]["info"]["maxSampling"] = $varSampling[4]; + $res["param"]["info"]["minSampling"] = $varSampling[2]; + $res["param"]["info"]["maxSampling"] = $varSampling[2]; $res["param"]["info"]["plotType"] = "Spectro"; $res["param"]["info"]["size"] = $varInfo['size']; } -- libgit2 0.21.2