Commit acd2fc8e authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed issue #3 (NotADirectoryError due to race condition).

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <>
parent 2f18e7fc
Pipeline #11231 passed with stage
in 1 minute and 50 seconds
......@@ -28,6 +28,7 @@ from typing import Union, List, Tuple, Optional
import os
import warnings
from tempfile import TemporaryDirectory
from time import sleep
import numpy as np
import gdal
......@@ -242,6 +243,8 @@ class SensorMapGeometryTransformer(object):
# noinspection PyUnusedLocal
ds_out = None
# avoid NotADirectoryError, possibly due to a race condition on Windows
# add 1 px buffer around out_extent to avoid cutting the output image
x_size += 2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment