Encoding error when opening PROBA-V from MTDA/TIFFDERIVED/

I am struggling with an issue that pops up from time to time when reading in PROBA-V Geotiff data.

{code:python} import xarray as xr file = '/data/MTDA/TIFFDERIVED/PROBAV_L2A_GEOTIFF/1KM/2020/07/20200707/PROBAV_L2A_20200707_065654_1_1KM_V101/PROBAV_L2A_20200707_065654_1_1KM_V101_RADIOMETRY.tif' f = xr.open_rasterio(file) {code}

This gives following error message: "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 2: invalid continuation byte"

Is there something wrong with this data? How can I solve this? My script runs fine over many files and then suddenly this pops up. Google/stackoverflow/... has not been super helpful.

Thanks in advance!

Restez à jour
Inscrivez-vous
Des Nouvelles perspectives

Restez à jour