Stores and provides access to observation night data.
|
|
|
|
|
checkSem(self,
semester)
Check if given semester is in observation list. |
source code
|
|
|
|
checkDate(self,
dateStr)
Check in which semester the given date is. |
source code
|
|
|
|
|
|
DateRange
|
dateRange(self,
begin=None,
end=None)
Converts supplied begin and/or end date in any format into a range of
mx.DateTime objects. |
source code
|
|
|
|
getDates(self,
semester,
outFormat=None)
Get start and end date for a given semester. |
source code
|
|
|
tuple(int, int)
|
|
|
str
|
|
|
|
|
|
|
getMonthSemDict(self)
Get a dictionary of months and their corresponding semester. |
source code
|
|
|
|
getSemMonthList(self,
semester)
Get a list of months ('YYYYMM') for a given semester. |
source code
|
|
|
|
getSemDayList(self,
semester)
Get a list of observing days ('YYYYMMDD') for a given semester. |
source code
|
|
|
|
getObsDates(self,
beginDateStr,
endDateStr,
versionStr=None)
Get a list of all obs dates between two dates. |
source code
|
|
|
|
getFirstLight(self,
dateFmt)
Get the first observation date. |
source code
|
|
|
|
minVersOfDate(self,
dateStr)
Get the minimal version number for a given date. |
source code
|
|
|
|
maxVersOfDate(self,
dateStr)
Get the maximal version number for a given date. |
source code
|
|
|
|
minVers(self,
semester)
Get the minimum version number for a given semester. |
source code
|
|
|
|
maxVers(self,
semester)
Get the maximum version number for a given semester. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|