long2xyz

Return to directory of Todd's CASA extensions

A convenient wrapper for simutil.long2xyz to return the location in geocentric X,Y,Z.

Usage:

au.long2xyz(latitude, longitude, height, datum='WGS84', verbose=True)

Example:

CASA <16>: au.long2xyz(-67.754929, -23.022886, 5000)
  Out[16]: array([ 2225122.39026944, -5440258.9852695 , -2481007.63746283])

-- ToddHunter - 2016-02-01

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > Long2xyz
Topic revision: 2016-02-01, 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