def main(): from vdisplay import tabulate from vdss import opendss,findpath,writedss from vtimeseries import timewindow import config infile=config.getAttr('DICUFILE-ECS') outfile=config.getAttr('DICUFILE-ECE') tw = prepro_window() tabulate(s) # tabulate last one to check the conversion tabulate(ts)
def test(): # test routine for this module from vtimeseries import timewindow from vdss import opendss, findpath from vista.set import DataReference from vdisplay import tabulate inpath = '/CALSIM/DXC/GATE-DAYS-OPEN//1MON//' outpath = '/CALSIM_PROCESSED/DCC/GATE//IR-YEAR/TEST/' infile = "../timeseries/2001d10adv.dss" outfile = "d:/delta/gates/dxc.dss" val = 1.0 allThirty = 1. tw = timewindow("01oct1974 0000 - 30SEP1991 2400") dccITS = dccOp(infile, outfile, inpath, outpath, allThirty, val, tw) tabulate(dxcITS)
def test(): # test routine for this module from vtimeseries import timewindow from vdss import opendss,findpath from vista.set import DataReference from vdisplay import tabulate inpath='/CALSIM/DXC/GATE-DAYS-OPEN//1MON//' outpath='/CALSIM_PROCESSED/DCC/GATE//IR-YEAR/TEST/' infile="../timeseries/2001d10adv.dss" outfile = "d:/delta/gates/dxc.dss" val=1.0 allThirty=1. tw=timewindow("01oct1974 0000 - 30SEP1991 2400") dccITS=dccOp(infile,outfile,inpath,outpath,allThirty,val,tw) tabulate(dxcITS)