Commit 4d1e1e01ad093499efcb588aad7e54359921e9c4
1 parent
310f208e
Exists in
master
and in
112 other branches
makeRemote and makeOrbits
Showing
3 changed files
with
14 additions
and
4 deletions
Show diff stats
php/RemoteDataCenter/makeOrbitsArgs.php
... | ... | @@ -36,8 +36,7 @@ |
36 | 36 | $coordImpex = $target['CoordName']; |
37 | 37 | |
38 | 38 | // Mecrury double definition |
39 | - if ($coordImpex == "HSM") | |
40 | - $coordImpex == "MSM"; | |
39 | + if ($coordImpex == "HSM") $coordImpex == "MSM"; | |
41 | 40 | |
42 | 41 | // general case |
43 | 42 | $params = $xpath->query('//orbites[@target="'.$target.'" and @coordinate_system="'.$coordImpex.'"]'); |
... | ... |
php/makeRemote
... | ... | @@ -6,8 +6,9 @@ |
6 | 6 | export AMDA_IHM=./.. |
7 | 7 | |
8 | 8 | # check if Orbites.xml exists; if not create it ! |
9 | - if [ ! -e $AMDA_IHM/generic_data/LocalData/Orbites.xml ]; then | |
10 | - php $AMDA_IHM/php/makeOrbitsList.php | |
9 | + if [ ! -e $AMDA_IHM/generic_data/LocalData/OrbitsAll.xml ]; then | |
10 | + php $AMDA_IHM/php/makeOrbitsList.php | |
11 | + php $AMDA_IHM/php/makeOrbitsInKm.php | |
11 | 12 | fi |
12 | 13 | |
13 | 14 | # make Proxies for 'isSimulation' dataCenters from Bases.xml |
... | ... |