Commit e4965f34d5cb26c32964ec123867dfe82c6ae705

Authored by Elena.Budnik
1 parent ae1f243b

add no_compression oprion

info/DDADMIN/AddVi.json
... ... @@ -5,5 +5,7 @@
5 5 "mission_dir" : "JUNO/",
6 6 "location" : "JEDI/I_180",
7 7 "min_sampling" : "2",
8   - "max_sampling" : "3" }
9   -
10 8 \ No newline at end of file
  9 + "max_sampling" : "3",
  10 + "no_compression" : false }
  11 +
  12 +
... ...
src/DATA/MANAGER/AddLocalVI.php
... ... @@ -37,7 +37,7 @@
37 37 }
38 38 }
39 39  
40   - putenv("LD_LIBRARY_PATH=".getenv("LD_LIBRARY_PATH"));
  40 + putenv("LD_LIBRARY_PATH=".getenv("LD_LIBRARY_PATH"));
41 41 putenv("PATH=./:".getenv("DDBASEBIN").":/bin:/usr/bin");
42 42 set_include_path("./:".getenv("DATAMANAGER").":".getenv("REMOTEDATA").":".getenv("CALLEXT"));
43 43  
... ... @@ -72,6 +72,7 @@ else {
72 72 $location = $json_obj->location;
73 73 $min_sampling = $json_obj->min_sampling;
74 74 $max_sampling = isset($json_obj->max_sampling) ? $json_obj->max_sampling : 0;
  75 + $no_compression = isset($json_obj->no_compression) ? $json_obj->no_compression : false;
75 76 }
76 77 $base = "LOCAL";
77 78 $baseMgr = new DDBaseMgr();
... ...