예제 #1
0
파일: run.py 프로젝트: wk1984/ccc-gistemp-1
def vischeck(data):
    # Suck data through pipeline.
    for _ in data:
        pass
    log("... running vischeck")
    import vischeck
    vischeck.chartit(
      [open(os.path.join('result', 'mixedGLB.Ts.ho2.GHCN.CL.PA.txt'))],
      out = open(os.path.join('result', 'google-chart.url'), 'w'))

    log("See result/google-chart.url")
    yield "vischeck completed"
예제 #2
0
def vischeck(data):
    import glob
    import vischeck

    # Suck data through pipeline.
    for _ in data:
        pass
    log("... running vischeck")

    global_land_ocean = glob.glob(
        os.path.join('result', 'mixedGLB.Ts.*.GHCN.CL.PA.txt'))[0]

    vischeck.chartit([open(global_land_ocean)],
                     out=open(os.path.join('result', 'google-chart.url'), 'w'))

    log("See result/google-chart.url")
    yield "vischeck completed"
예제 #3
0
def vischeck(data):
    import glob
    import vischeck

    # Suck data through pipeline.
    for _ in data:
        pass
    log("... running vischeck")

    global_land_ocean = glob.glob(
        os.path.join('result', 'mixedGLB.Ts.*.GHCN.CL.PA.txt'))[0]

    vischeck.chartit([open(global_land_ocean)],
                     out=open(os.path.join('result', 'google-chart.url'), 'w'))

    log("See result/google-chart.url")
    yield "vischeck completed"