decoding the CSV to create the SQLite. When we open the database, there are mainy five tables, among them one contains metadata for vessels. The ship type, draught, IMO are available in the data but not inserted in the database.
dbpath_ = 'D:/AIS_2020_01_01/data/AIS_2020_01_01_aisdb_sample.db'
with aisdb.SQLiteDBConn(dbpath_) as dbconn:
aisdb.decode_msgs(filepaths=["D:/AIS_2020_01_01/data/AIS_2020_01_01_aisdb_sample.csv"],
dbconn=dbconn,
source='Testing',
verbose=True)
decoding the CSV to create the SQLite. When we open the database, there are mainy five tables, among them one contains metadata for vessels. The ship type, draught, IMO are available in the data but not inserted in the database.