OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
seadasutils.time_utils Namespace Reference

Functions

def convert_month_day_to_doy (mon, dom, yr)
 
def get_leap_seconds (taitime, epochyear=1958)
 

Detailed Description

Module to hold time utility classes and functions.

Function Documentation

◆ convert_month_day_to_doy()

def seadasutils.time_utils.convert_month_day_to_doy (   mon,
  dom,
  yr 
)
Returns a day of year computed from the provided month (mon parameter),
day of month(dom parameter), and year (yr parameter).

Definition at line 8 of file time_utils.py.

◆ get_leap_seconds()

def seadasutils.time_utils.get_leap_seconds (   taitime,
  epochyear = 1958 
)
Return the number of elapsed leap seconds given a TAI time in seconds
Requires tai-utc.dat

Definition at line 17 of file time_utils.py.