OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

Public Member Functions

def __init__ (self, Year, Mon, Day, Hr, Minute, Sec, dUT1, lsdat, TimeZone=0, TypeUTIn='UTC')
 

Public Attributes

 year
 
 mon
 
 day
 
 hr
 
 minute
 
 sec
 
 typeUTIn
 
 timezone
 
 localhr
 
 ut1
 
 jdut1
 
 tut1
 
 utc
 
 tai
 
 tt
 
 jdtt
 
 ttt
 
 me
 
 tdb
 
 jdtdb
 
 ttdb
 

Detailed Description

* Converted to python by R. Healy 11/30/2015
* ------------------------------------------------------------------------------
*
*                           SUBROUTINE CONVTIME
*
*  this subroutine finds the time parameters and Julian century values for inputs
*    of UTC or UT1. Numerous outputs are found as shown in the local variables.
*    Because calucations are in UTC, you must include TimeZone IF ( you enter a
*    local time, otherwise it should be zero.
*
*  Algorithm     : A file of record contains the timing data
*                  Seeks are performed to obtain the data
*                    Data starts Jan 1, 1980, thus JD = 2444238.5D0 in the code
*                  Calculate the answer depending on initial time type
*
*  Author        : David Vallado                  719-573-2600    1 Mar 2001
*
*  Inputs          Description                    Range / Units
*    Year        - Year                           1900 .. 2100
*    Mon         - Month                          1 .. 12
*    Day         - Day                            1 .. 28,29,30,31
*    Hr          - Universal Time Hour            0 .. 23
*    minute      - Universal Time minute          0 .. 59
*    SEC         - Universal Time SEC             0.0D0 .. 59.999D0
*    TimeZone    - Offset to UTC from local SITE  0 .. 23 hr
*    TypeUTIn    - Type of input UT               1 (UT1), else UTC
*    DUT1        - Delta of UTC - UT1             SEC
*
*  Outputs       :
*    DAT         - Delta of TAI-UTC              SEC [MJM: THIS IS AN INPUT]
*    xp          - Polar motion coefficient       arcsec [MJM: INPUT]
*    yp          - Polar motion coefficient       arcsec [MJM: INPUT]
*    UT1         - Universal time                 SEC
*    TUT1        - Julian centuries of UT1
*    JDUT1       - Julian Date of UT1             days from 4713 BC
*    UTC         - Coordinated Universal Time     SEC
*    TAI         - Atomic time                    SEC
*    TDT         - Terrestrial Dynamical time     SEC
*    TTDT        - Julian centuries of TDT
*    JDTDT       - Julian Date of TDT             days from 4713 BC
*    TDB         - Terrestrial Barycentric time   SEC
*    TTDB        - Julian centuries of TDB
*    JDTDB       - Julian Date of TDB             days from 4713 BC
*
*  Locals        :
*    HrTemp      - Temporary hours                hr
*    MinTemp     - Temporary miNutes              minute
*    SecTemp     - Temporary seconds              SEC
*    LocalHr     - Difference to local time       hr
*    JD          - Julian Date of request         days from 4713 BC
*    ME          - Mean Anomaly of the Earth      rad
*    TimeFile    - File of record with time data
*    CurrTimeRec - Current Time record
*
*  Coupling      :
*    HMS_SEC     - Conversion between hr-minute-SEC .and. seconds
*    jday   - Find the Julian date
*
*  References    :
*    vallado       2007, 201, alg 16, ex 3-7
*
* ------------------------------------------------------------------------------

Definition at line 466 of file astreduc.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  Year,
  Mon,
  Day,
  Hr,
  Minute,
  Sec,
  dUT1,
  lsdat,
  TimeZone = 0,
  TypeUTIn = 'UTC' 
)

Definition at line 531 of file astreduc.py.

Member Data Documentation

◆ day

day

Definition at line 535 of file astreduc.py.

◆ hr

hr

Definition at line 536 of file astreduc.py.

◆ jdtdb

jdtdb

Definition at line 564 of file astreduc.py.

◆ jdtt

jdtt

Definition at line 557 of file astreduc.py.

◆ jdut1

jdut1

Definition at line 544 of file astreduc.py.

◆ localhr

localhr

Definition at line 541 of file astreduc.py.

◆ me

me

Definition at line 561 of file astreduc.py.

◆ minute

minute

Definition at line 537 of file astreduc.py.

◆ mon

mon

Definition at line 534 of file astreduc.py.

◆ sec

sec

Definition at line 538 of file astreduc.py.

◆ tai

tai

Definition at line 554 of file astreduc.py.

◆ tdb

tdb

Definition at line 562 of file astreduc.py.

◆ timezone

timezone

Definition at line 540 of file astreduc.py.

◆ tt

tt

Definition at line 555 of file astreduc.py.

◆ ttdb

ttdb

Definition at line 565 of file astreduc.py.

◆ ttt

ttt

Definition at line 558 of file astreduc.py.

◆ tut1

tut1

Definition at line 545 of file astreduc.py.

◆ typeUTIn

typeUTIn

Definition at line 539 of file astreduc.py.

◆ ut1

ut1

Definition at line 543 of file astreduc.py.

◆ utc

utc

Definition at line 546 of file astreduc.py.

◆ year

year

Definition at line 533 of file astreduc.py.


The documentation for this class was generated from the following file:
  • /gfs-oceanweb/web/ocssw/ocssw_src/src/l1bgen_hico/hico/astreduc.py