Reading RY files in .bz2 format

Hello Everyone! I am trying to read RY product files using the following code, but I have been encountering with the error. My question is ‘Is wradlib library supports for RY product files with .bz2 format?’ or do I need to do any preprocessing to make it as normal .bin file ?

Code

import wradlib as wrl

# load radolan files
rw_filename = wrl.util.get_wradlib_data_file(
    "/content/raa01-ry_10000-2301010000-dwd---bin.bz2"
)
rrwdata, rwattrs = wrl.io.read_radolan_composite(rw_filename)
# print the available attributes
print("RW Attributes:", rwattrs)

Error:

UnicodeDecodeError                        Traceback (most recent call last)
<ipython-input-30-fa4ed02dc0cd> in <cell line: 5>()
      3     "/content/raa01-ry_10000-2301010000-dwd---bin.bz2"
      4 )
----> 5 rrwdata, rwattrs = wrl.io.read_radolan_composite(rw_filename)
      6 # print the available attributes
      7 print("RW Attributes:", rwattrs)

4 frames
/usr/local/lib/python3.9/dist-packages/wradlib/io/radolan.py in read_radolan_header(fid)
    715         if mychar == b"\x03":
    716             break
--> 717         header += str(mychar.decode())
    718     return header
    719 

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 0: unexpected end of data

Can someone please help me to resolve this issue?

Sorry, @karnatishiva786,

Your question fell through the cracks.

.bz2 is a compressed format (bzip2). It can be decompressed using standard compression/decompression tools. Then it can be read just fine.

HTH,
Kai