Usage for mjdToUT

Return to directory of Todd's CASA extensions

Converts Modified Julian Date (MJD) to UT and calendar day, using the CASA me and qa tools. If CASA is not available (or use_metool=False), then it uses a built-in formula which agrees with the CASA result. See also lstToUT and mjdSecondsToMJDandUT.

Usage

au.mjdToUT(mjd, use_metool=True, prec=6)
  • prec: change to 7 to show tenths of seconds, etc.

Example

CASA <4>: au.mjdToUT(56500.4)
  Out[4]: '2013-07-27 09:36:00 UT'

-- ToddHunter - 2012-10-10

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > MjdToUT
Topic revision: 2013-11-22, 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