Ejemplo n.º 1
0
def check_fname(fname):
    df = fu.open_and_accumulate(fname)
    if not df.index.is_monotonic:
        logging.warning("{} has non-monotonic index".format(fname))
Ejemplo n.º 2
0
def check_fname(fname):
    df = fu.open_and_accumulate(fname)
    if not df.index.is_monotonic:
        logging.warning("{} has non-monotonic index".format(fname))
Ejemplo n.º 3
0
def get_column_from_timestr(t, col):
    l1a = fu.L1ADataFile.from_timestr(t)
    df = fu.open_and_accumulate(l1a.fname)
    c = calib.Calibrator(df)
    c.calibrate()
    return getattr(c, col)
Ejemplo n.º 4
0
def get_column_from_timestr(t, col):
    l1a = fu.L1ADataFile.from_timestr(t)
    df = fu.open_and_accumulate(l1a.fname)
    c = calib.Calibrator(df)
    c.calibrate()
    return getattr(c, col)