mima_demo.mima_simple_checkΒΆ

import datetime
import logging

logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
hndler = logging.FileHandler('mima_log_{:%y%m%dT%H%M%S}.log'.format(datetime.datetime.now()))
logger.addHandler(hndler)

from irfpy.mima import scidata_util

def main():
    t0 = datetime.datetime(2007, 10, 20, 6)
    t1 = datetime.datetime(2007, 10, 20, 8)

    d = scidata_util.getarray2d(t0, t1)

    print(d)

if __name__ == "__main__":
    main()