I am trying to open a raster file that I have downloaded using rasterio. It is a satellite image raster file of part of UBC in my data folder which I downloaded from Abacus Data Network. the However, I get a feedback that access was denied. Here is my code and the error message.
import rasterio
dataset = rasterio.open("\\Users\\PERSONAL\\Desktop\\GIS\\Canada_Data\\481E_5456N")
CPLE_OpenFailedError Traceback (most recent call last)
File rasterio\_base.pyx:310, in rasterio._base.DatasetBase.__init__()
File rasterio\_base.pyx:221, in rasterio._base.open_dataset()
File rasterio\_err.pyx:221, in rasterio._err.exc_wrap_pointer()
CPLE_OpenFailedError: \Users\PERSONAL\Desktop\GIS\Canada_Data\481E_5456N: Permission denied
This was the final error message:
RasterioIOError: \Users\PERSONAL\Desktop\GIS\Canada_Data\481E_5456N: Permission denied
Any help will be appreciated.