get_geodetic_coords¶
-
Astronomy.DSN_coordinates.
get_geodetic_coords
(dss=0, observatory=None)¶ Observatory’s geodetic coordinates
An observatory may be specified with a DSS number or a name.
If no observatory is specified, this returns a dictionary in which the station IDs are the keys and the values are tuples.
If the observatory is specified it is used as a key and only that observatory’s coordinates are returned as a tuple.
If the observatory is not found, an empty dictionary is returned.
Notes
For an explanation of Earth coordinate systems so http://dsnra.jpl.nasa.gov/Antennas/Antennas.html#anchor950381
Example:
>>> station_data = get_geodedic_coords() >>> long,lat,alt,tz,name, diam = station_data[13] >>> print long,lat 116.794009 35.2477189
Todo
Make both functions more forgiving in the matter of observatory names
References
https://deepspace.jpl.nasa.gov/dsndocs/810-005/301/301K.pdf Tables 5 and 6
- :param dssint
optional DSS numbercomplexCode
- :param observatorystring
optional observatory name
- Returns
dictionary of tuples (longitude, latitude, altitude(m), time zone, name, diameter) keyed to the station name(s), if any