![]() ![]() |
![]() |
File: [Development] / JSOC / proj / flatfield / pzt_flat_IDL / date_obs2min.pro
(download)
Revision: 1.1, Fri Feb 18 00:21:17 2011 UTC (12 years, 7 months ago) by richard Branch: MAIN CVS Tags: Ver_LATEST, Ver_9-5, Ver_9-41, Ver_9-4, Ver_9-3, Ver_9-2, Ver_9-1, Ver_9-0, Ver_8-8, Ver_8-7, Ver_8-6, Ver_8-5, Ver_8-4, Ver_8-3, Ver_8-2, Ver_8-12, Ver_8-11, Ver_8-10, Ver_8-1, Ver_8-0, Ver_7-1, Ver_7-0, Ver_6-4, Ver_6-3, Ver_6-2, Ver_6-1, Ver_6-0, Ver_5-14, Ver_5-13, HEAD IDL package for calculating pzt flatfields 2011.02.17 |
function date_obs2min, dobs, juld=juld, T_OBS=T_OBS year=long(strmid(dobs, 0, 4)) month=long(strmid(dobs, 5,2)) day=long(strmid(dobs, 8,2)) hour=long(strmid(dobs, 11, 2)) minute=long(strmid(dobs, 14,2)) if not keyword_set(T_OBS) then sec=float(strmid(dobs, 17, 6)) else sec=float(strmid(dobs, 17, 2)) if keyword_set(juld) then begin & offs=0 & fac=1.0 & taic=0.0 & endif else begin & offs=julday(12,1,1995) & fac=24.*60. & taic=0.5 & endelse return, (julday(month, day, year, hour, minute, sec)- offs)*fac - taic end
Karen Tian |
Powered by ViewCVS 0.9.4 |