def main():
    inFileB = "OUT/" + strftime("%Y%m%d") + "/ferry_dirty" + ".ttl"
    outFileB = "OUT/" + strftime("%Y%m%d") + "/ferry" + ".ttl"

    print('Converting xsd:double')
    convertXsdDouble(inFileB, outFileB)

    print('DONE!')
예제 #2
0
def main():
    inFileB = "DATA/overground_dirty.ttl"
    outFileB = "DATA/overground.ttl"

    print('Converting xsd:double')
    convertXsdDouble(inFileB, outFileB)

    print('DONE!')
def main():
    inFileB = '/Users/patrick/3cixty/codes/3cixtyTransport/busModule/DATA/bus_dirtySMALL.ttl'
    outFileB = '/Users/patrick/3cixty/codes/3cixtyTransport/busModule/DATA/bus_SMALL.ttl'

    print('Converting xsd:double')
    convertXsdDouble(inFileB, outFileB)

    print('DONE!')
예제 #4
0
def main():
    inFileB = 'DATA/airbnb_LondondirtySmall.ttl'
    outFileB = 'DATA/airbnb_londonSmall.ttl'

    print('Converting xsd:double')
    convertXsdDouble(inFileB, outFileB)

    print('DONE!')
def main():
    inFileB = "DATA/ferry_dirty" +".ttl"
    outFileB = "DATA/ferry" + ".ttl"

    print('Converting xsd:double')
    convertXsdDouble(inFileB, outFileB)

    print ('DONE!')
예제 #6
0
def main():
    pathf = "./"
    inFileB = pathf + "DATA/dlr_dirty" + ".ttl"
    outFileB = pathf + "DATA/dlr" + ".ttl"

    print('Converting xsd:double')
    convertXsdDouble(inFileB, outFileB)

    print('DONE!')
def main():
    #inFile = pathf + "IN/"+ strftime("%Y%m%d") +"/wunderground_dirty.ttl"
    inFile = "DATA/pws_nice_dirty.ttl"
    outFile = "DATA/pws_nice.ttl"

    print('Converting xsd:double')
    convertXsdDouble(inFile, outFile)

    print('DONE!')
예제 #8
0
import fileinput
from time import strftime
import imp, os

imp.load_source(
    'common',
    '/Users/patrick/3cixty/codes/3cixtyTransport/commonModule/transportCommon.py'
)
from common import convertXsdDouble

os.chdir('/Users/patrick/3cixty/codes/3cixtyTransport/bikeModule/'
         )  # @patrick CASA Mac setup
print os.getcwd()

inFileB = "DATA/tfl_bikes_dirty.ttl"
outFileB = "DATA/tfl_bikes.ttl"

print('Converting xsd:double')
convertXsdDouble(inFileB, outFileB)

print('DONE!')