Example 01 error
Attempting to run example 01, I get the following error,
(env-ais) oliskir@svalbard:~/tmp/ais$ python example01_create_db_from_rawmsgs.py
Traceback (most recent call last):
File "example01_create_db_from_rawmsgs.py", line 12, in <module>
decode_msgs(filepaths, dbpath)
File "/home/oliskir/envs/env-ais/lib/python3.8/site-packages/ais/database/decoder.py", line 290, in decode_msgs
with index(bins=False, storagedir=dbdir, filename=dbname) as dbindex:
File "/home/oliskir/envs/env-ais/lib/python3.8/site-packages/ais/index.py", line 75, in __enter__
assert os.path.isdir(str(self.storagedir)), f'invalid dir {storagedir}'
NameError: name 'storagedir' is not defined