getPadPositionsFromASDM

Return to directory of Todd's CASA extensions

Reads the pad positions in geocentric XYZ coordinates from an ASDM.

Usage:

au.getPadPositionsFromASDM(asdm)

Example:

CASA <13>: au.getPadPositionsFromASDM('uid___A002_Xa9f45b_X20aa')
The ASDM bindings library is not available on this machine. Using minidom code instead.
  Out[13]:
{'A007': [2225115.367314, -5440046.316964, -2481663.080031],
 'A011': [2225130.369179, -5440025.148051, -2481695.420225],
 'A021': [2225061.37378, -5440071.980224, -2481655.270945],
 'A029': [2225041.624297, -5440095.629013, -2481621.892412],
 'A033': [2224995.223399, -5440073.175769, -2481713.357567],
 'A058': [2225037.246034, -5440017.160177, -2481797.396253],
 'A060': [2225071.983245, -5439996.293021, -2481812.654088],
 'A072': [2225196.812987, -5440052.193591, -2481569.080163],
 'A076': [2224945.977593, -5440033.670068, -2481849.705996],
 'A077': [2225252.817219, -5440003.010487, -2481620.626447],
 'A080': [2225159.996549, -5440119.846029, -2481460.07807],
 'A083': [2224943.809571, -5440201.528527, -2481486.752803],
 'A085': [2225268.121132, -5440066.690606, -2481468.500649],
 'A087': [2225267.225169, -5439902.313049, -2481829.479009],
 'A090': [2225374.058717, -5439985.448848, -2481540.511188],
 'A096': [2224778.861764, -5440336.058217, -2481333.379244],
 'A101': [2224960.37102, -5440331.332722, -2481187.292701],
 'A103': [2225566.606171, -5439973.461733, -2481384.509543],
 'A113': [2225759.16657, -5439620.719623, -2481972.152938],
 'A114': [2224792.703649, -5440534.029093, -2480893.038912],
 'A117': [2224141.599401, -5440472.374534, -2481569.923604],
 'A118': [2225666.601291, -5439439.561252, -2482514.800281],
 'A135': [2225502.742273, -5440019.032858, -2481352.651149],
 'A137': [2225133.188465, -5440097.510077, -2481533.037822],
 'P413': [2232258.044252, -5440508.471144, -2473663.652488],
 'T703': [2225102.085501, -5440096.07649, -2481565.772673],
 'W201': [2217989.707686, -5442734.827011, -2480996.993398]}

-- ToddHunter - 2015-09-15
Topic revision: r1 - 2015-09-15, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback