ObsPy _ Read Nanometrics Y file

Dear Obspy Users

First of all thanks for your useful package. I’m using obspy for my doctoral program but I have problem with reading nano metrics Y-file which I have. As the attachment I sent you an example file I have.
I would appreciate if you help me to solve this problem.
I’ve tried to read it as “read” and “readY” but non of them work, and I got following error

YAZRSPE.20100119.060433 (67.2 KB)

YAZRSPN.20100119.060432 (67.2 KB)

YAZRSPZ.20100119.060434 (67.2 KB)

YFTBBBZ.20100119.060431 (70.3 KB)

Dear Meysam Rezaeifar,

there are some invalid non ASCII characters within the STATION_INFO tag of your Y files. Ignoring them while reading the faulty file is probably the best approach - see https://github.com/obspy/obspy/commit/b1300e25de0678f362738c6863c285b8a4926e7d in order to fix your local version of ObsPy - future versions of ObsPy will have this fix included.

Cheers,
Robert

Dear Robert

Thank you so much…
It works now.

You saved my life.

cheers
meysam

Dear Meysam Rezaeifar,

there are some invalid non ASCII characters within the STATION_INFO tag
of your Y files. Ignoring them while reading the faulty file is probably
the best approach - see
https://github.com/obspy/obspy/commit/b1300e25de0678f362738c6863c285b8a4926e7d
in order to fix your local version of ObsPy - future versions of ObsPy
will have this fix included.

Cheers,
Robert