Beispiel #1
0
def test2():
    dd = DayDir('/Volumes/J_IFCB/ifcb_data_MVCO_jun06/IFCB1_2010_193')
    day2html(dd)
    day2json(dd)
    day2xml(dd)
    day2rdf(dd)
    print [bin.iso8601time for bin in dd.all_bins()]
Beispiel #2
0
def test2():
    dd = DayDir('/Volumes/J_IFCB/ifcb_data_MVCO_jun06/IFCB1_2010_193')
    day2html(dd)
    day2json(dd)
    day2xml(dd)
    day2rdf(dd)
    print[bin.iso8601time for bin in dd.all_bins()]
Beispiel #3
0
def test7():
    day2html(E.resolve('http://ifcb-data.whoi.edu/IFCB1_2009_216'))
    bin2html(E.resolve('http://ifcb-data.whoi.edu/IFCB1_2011_231_182610'))
    target2json(
        E.resolve('http://ifcb-data.whoi.edu/IFCB1_2009_216_075913_00249'))
    print len(
        pickle.dumps(
            E.resolve('http://ifcb-data.whoi.edu/IFCB1_2011_231_182610').
            all_targets(), 2))
Beispiel #4
0
def test7():
    day2html(E.resolve('http://ifcb-data.whoi.edu/IFCB1_2009_216'))
    bin2html(E.resolve('http://ifcb-data.whoi.edu/IFCB1_2011_231_182610'))
    target2json(E.resolve('http://ifcb-data.whoi.edu/IFCB1_2009_216_075913_00249'))
    print len(pickle.dumps(E.resolve('http://ifcb-data.whoi.edu/IFCB1_2011_231_182610').all_targets(),2))