Closed system123 closed 5 years ago
I am not sure, whether this is linked to your actual problem, but you are giving the target resolutions in meters and you should give it in degree. To get the actual resolution of your preprocessed files, you can use the following code:
ras = Raster(srcfiles[1])
targetres= [r for r in ras.res]
Ah right, that seems to have fixed it.
Thanks
On Mon, 16 Sep 2019, 23:08 Felix Cremer, notifications@github.com wrote:
I am not sure, whether this is linked to your actual problem, but you are giving the target resolutions in meters and you should give it in degree. To get the actual resolution of your preprocessed files, you can use the following code:
ras = Raster(srcfiles[1]) targetres= [r for r in ras.res]
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/johntruckenbrodt/spatialist/issues/11?email_source=notifications&email_token=AAAWK5NELCVQMSNIV57PLW3QJ7YULA5CNFSM4IXGJLP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD62QZOQ#issuecomment-531958970, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAWK5PXRE5PL7J4UHOYVU3QJ7YULANCNFSM4IXGJLPQ .
I am trying to stack a collection of processed geotiffs together. The Geotiffs are processed using pyroSAR and the CRS is set to EPSG:4326. However, when stacking these images together I run into the following GDAL warp error in the stacking function.