Draft: Read input streams in binary mode...
...but since all existing parsers expect strings, we also
decode('utf8')
in the StreamTimeseriesFactory wrapper factory
prior to passing to the parser.
I'm doing this to fix an obscure bug when reading single files,
but using the --input-url
command line option, but also to
satisfy the "best practice" that all file/url reads/writes should
be in binary mode, even if internal processing expects strings.
I was taught this "best practice" in a Teams chat with @jmfee on
12 May, 2022.
Edited by Erin (Josh) Rigler