Commit 58e288ebb9c93500b3b116553375d8cf49815764
1 parent
a40a1db1
Exists in
master
and in
98 other branches
correct CDF sampling
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
php/RemoteDataCenter/ImpexParamManager.php
... | ... | @@ -338,12 +338,12 @@ class ImpexParamManager |
338 | 338 | $filesMgr->setFileName($localFile); |
339 | 339 | |
340 | 340 | $varInfo = $filesMgr->getCdfVarInfo($this->parameterKey); |
341 | - $varSampling = $filesMgr->getCdfSampling(); | |
341 | + $varSampling = $filesMgr->getCdfSampling(); | |
342 | 342 | |
343 | 343 | $res["param"]["info"]["realVar"] = $this->parameterKey; |
344 | 344 | $res["param"]["info"]["type"] = $varInfo['type']; |
345 | - $res["param"]["info"]["minSampling"] = $varSampling[4]; | |
346 | - $res["param"]["info"]["maxSampling"] = $varSampling[4]; | |
345 | + $res["param"]["info"]["minSampling"] = $varSampling[2]; | |
346 | + $res["param"]["info"]["maxSampling"] = $varSampling[2]; | |
347 | 347 | $res["param"]["info"]["plotType"] = "Spectro"; |
348 | 348 | $res["param"]["info"]["size"] = $varInfo['size']; |
349 | 349 | } | ... | ... |