OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
astreduc.py File Reference

Go to the source code of this file.

Classes

class  UT2time
 

Namespaces

 hico.astreduc
 

Functions

def get_astrodate (delta_seconds)
 
def isLeapYear (yyyy)
 
def increment_seconds_to_date (delta)
 
def initReduc (filename)
 
def getEDFData (filename, year, mon, day)
 
def parseEDFfile (filename, skiphdr=0)
 
def getLSData (filename, year, mon, day)
 
def parseLSfile (filename, skiphdr=0)
 
def polarm (xp, yp)
 
def quat_to_rot (q)
 
def hms2ut (Hr, Minute, Sec)
 
def ut2hms (UTSec)
 
def JDay (Year, Mon, Day, Hr, minute, Sec)
 
def precession (TTT)
 
def nutation (TTT, nut_data)
 
def sidereal (jdut1, DeltaPsi, MeanEps, Omega, LOD, terms)
 
def gstime (jd)
 
def ecef2latlon (xyz)
 
def wgs84_intercept (rsc, u)
 
def solar_geometry (iyr, imn, idy, xh, xm, xs, xlat, xlong)
 
def suncor (iday, month, iyr, tz)
 
def julian (iday, month, iyr)
 
def hazel (h, d, xlat)
 
def solcor (jd, fjd)
 
def frac2DegMinSec (fracd, fracm, fracs)
 

Variables

dictionary MMM = {'JAN':1,'FEB':2,'MAR':3,'APR':4,'MAY':5,'JUN':6,'JUL':7,'AUG':8,'SEP':9,'OCT':10,'NOV':11,'DEC':12}
 
list edf_delimiter = [2,2,2,9,3,9,9,1,9,9,3,10,10,1,7,7]
 
list edf_usecols = [0,1,2,5,8,11,14]
 
list edf_dtype = [np.int32,np.int32,np.int32,np.float64,np.float64,np.float64,np.float64]
 
list edf_names = ['year','month','day','pmx','pmy','ut1mutc','loda']
 
list ls_delimiter = [6,3,3,5,10,10,12]
 
list ls_usecols = [0,1,2,6]
 
list ls_dtype = [np.int32,(np.str_,3),np.int32,np.float64]
 
list ls_names = ['yfo','mco','dfo','taimutco']
 
float rad2Deg = 180.0/np.pi
 
float deg2Rad = np.pi/180.0
 
float as2Deg = 1.0/3600.0
 
float as2Rad = as2Deg*deg2Rad