Closed MWieland closed 4 years ago
Can you create a minimal example to reproduce?
The problem seems to occur when using an image that is not GeoTIFF (hence the tests passed successfully). Tried the following with a Sentinel-2 .jp2 image band and it fails with above error message.
from ukis_pysat.raster import Image
file = "D:/tmp/test/T32UPU_20200413T100549_B01.jp2"
img = Image(data=file, dimorder="last")
img.warp(resampling_method=0, resolution=10, dst_crs="EPSG:32632", num_threads=4)
Will send you an example image per email (sorry but I cant access the network drives at the moment).
When trying to warp an image using Image().warp() I get the following error message:
This seems to be related to updating the dataset and may also occur when trying to run other methods that modify the dataset (e.g. subset) - I haven't tested this though.
Running ukis-pysat on Win 7 with Python 3.6.