Open
Description
The following codeblock from Anatomy_of_an_ASDF_File throws an error:
# Let's look at the corresponding raw contents of the last file'
with open('tut_with_data2.asdf','rb') as taf2: print(taf2.read()[:3251].decode("utf-8"))
Error:
---------------------------------------------------------------------------
UnicodeDecodeError Traceback (most recent call last)
<ipython-input-34-185bbb71f5c0> in <module>
1 # Let's look at the corresponding raw contents of the last file'
----> 2 with open('tut_with_data2.asdf','rb') as taf2: print(taf2.read()[:3251].decode("utf-8"))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd3 in position 3205: invalid continuation byte
Metadata
Metadata
Assignees
Labels
No labels