nickmckay / LiPD-utilities

Input/output and manipulation utilities for LiPD files in Matlab, R and Python
http://nickmckay.github.io/LiPD-utilities/
GNU General Public License v2.0
29 stars 9 forks source link

python: special characters in meas tables crash readLipd() #53

Closed chrismheiser closed 4 years ago

chrismheiser commented 4 years ago

Per Nick: Ignore special characters and continue loading whatever possible.

Example files with special characters in chronological meas tables: PogoniaBog.Cushing.1979.lpd GeoB10042_1.lpd Gould.Jacobson.1992.lpd

chrismheiser commented 4 years ago

Using v 0.2.7.0 :

Error : "Error: lipd_read: unable to read LiPD: 'utf-8' codec can't decode byte 0xcc in position 66: invalid continuation byte"

GeoB10042_1.lpd loaded properly. The other two files didn't.