Commit 58c45979421ece8bff6a325be52e2d43310f438b

Authored by Elena.Budnik
1 parent 29573d80

coordinate_system

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
php/makeOrbitsInKm.php
... ... @@ -72,7 +72,7 @@
72 72 $newInfo->addChild('short_name', $paramXml->info->name);
73 73 $newInfo->addChild('components', $paramXml->info->components);
74 74 $newInfo->addChild('units', 'km');
75   - $newInfo->addChild('coordinate_system', $paramXml->info->coordinates_system);
  75 + $newInfo->addChild('coordinates_system', $paramXml->info->coordinates_system);
76 76 $newInfo->addChild('tensor_order', $paramXml->info->tensor_order);
77 77 $newInfo->addChild('si_conversion', 1.e3);
78 78 //TODO scale fill value
... ... @@ -90,7 +90,7 @@
90 90  
91 91 $newOrbit = $domKm->createElement('orbites');
92 92 $newOrbit->setAttribute('xml:id', $newId);
93   - $newOrbit->setAttribute('coordinates_system', $paramXml->info->coordinates_system);
  93 + $newOrbit->setAttribute('coordinate_system', $paramXml->info->coordinates_system);
94 94 $newOrbit->setAttribute('units','km');
95 95 $newOrbit->setAttribute('mission', $orbit->getAttribute('mission'));
96 96 if ($orbit->hasAttribute('missionGroup'))
... ...