Usage for lstToUT

Return to directory of Todd's CASA extensions

Converts LST and calendar date into UT. See also mjdToUT and ComputeLSTDay.


au.lstToUT(lst, date, longitude=-67.7549):
    lst is a string in the format: hh:mm:ss, or a floating point hours
    Date is a string in the format: YYYY-MM-DD
    longitude is degrees East of Greenwich (default is ALMA)
    Returns two values:
          a string of the format:  '2012-09-20 00:02:51 UT'
          and floating point UT hours


CASA <5>: au.lstToUT('00:00:0','2012-09-20')
  Out[5]: ('2012-09-20 04:33:08 UT', 4.5522222222222224)
-- ToddHunter - 2012-10-10

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > LstToUT
Topic revision: 2012-10-10, 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