getWeatherStationNames

Return to directory of Todd's CASA extensions

Returns a dictionary keyed by ALMA weather station ID, with the value equal to the station name ('WSTBn'). See also getWeatherStationPositions and getWeatherStationNamesFromASDM.

Usage:

au.getWeatherStationNames(vis,  prefix=['WSTB','METEO','OSF'], 
      returnNearestAntennas=False)
Inputs:
  • prefix: restrict the search to stations whose names begin with these strings
  • returnNearestAntennas: if True, then return a dictionary with keys being the weather station names and their values being dictionaries keyed by 'antenna' name, 'distance' in meters, and 'pad'.

Example:

CASA <6>: au.getWeatherStationNames('uid___A002_Xa9f45b_X20aa.ms')
  Out[6]:
{27: 'METEO130',
 28: 'METEO201',
 29: 'METEO309',
 30: 'METEO410',
 31: 'WSTB1',
 32: 'WSTB2'}

-- ToddHunter - 2015-03-27
Topic revision: r3 - 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