예제 #1
0
def test4():
    bin = J.bin(ifcb.pid('IFCB5_2011_056_024112'))
    bin2html(bin)
    bin2json(bin)
    print ''
    bin2xml(bin)
    bin2adc(bin)
    bin2hdr(bin)
예제 #2
0
파일: test.py 프로젝트: reuf/ifcb-analysis
def test4():
    bin = J.bin(ifcb.pid('IFCB5_2011_056_024112'))
    bin2html(bin)
    bin2json(bin)
    print ''
    bin2xml(bin)
    bin2adc(bin)
    bin2hdr(bin)
예제 #3
0
#!/usr/bin/python
from sys import argv, stdout
from ifcb.io.file import BinFile
from ifcb.io.convert import bin2xml

if __name__ == '__main__':
    if (len(argv) < 2):
        print 'usage: bin2xml [file]'
    else:
        bin2xml(BinFile(argv[1]), stdout, True)
예제 #4
0
#!/usr/bin/python
from sys import argv, stdout
from ifcb.io.file import BinFile
from ifcb.io.convert import bin2xml

if __name__ == '__main__':
    if(len(argv) < 2):
        print 'usage: bin2xml [file]'
    else:
        bin2xml(BinFile(argv[1]),stdout,True)