how to read seismic data from azure blob storage

Viewed 22

from azure.storage.blob import BlobServiceClient

import os

STORAGEACCOUNTURL = ""

STORAGEACCOUNTKEY = ""

CONTAINERNAME = ""

BLOBNAME = ""

blob_service_client_instance = BlobServiceClient(

account_url=STORAGEACCOUNTURL, credential=STORAGEACCOUNTKEY)

blob_client_instance = blob_service_client_instance.get_blob_client(

CONTAINERNAME, BLOBNAME)

blob_data = blob_client_instance.download_blob()

data = blob_data.readall()

print(data)

ERROR:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 0: invalid continuation byte

Getting error while execute it. Kindly guide how to read seismic data(more than 1gb) file using azure blob storage using python

0 Answers
Related