baltrad / bropo

Anomaly (non-precipitation echo) detection and removal
Other
0 stars 0 forks source link

Encoding problems when processing file that doesn't contain NOD in what/source #1

Closed andershenja closed 3 years ago

andershenja commented 3 years ago

When running ropo -i -o and the what/source doesn't contain NOD. An encoding problem might occur with following error: Traceback (most recent call last): File "./bin/ropo", line 271, in ret = process_pvol(rio.object, options) File "./bin/ropo", line 161, in process_pvol copy_topwhat(pvol, out) File "./bin/ropo", line 54, in copy_topwhat outo.source = odim_source.SOURCE[S.nod].encode(UTF8) ValueError: source should be specified as a string

andershenja commented 3 years ago

Corrected in bropo-build-3