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

Fixed a wrongly raised warning within warp_ndarray(). Updated version info.

parent 7f695370
Pipeline #3316 passed with stages
in 19 minutes and 11 seconds
......@@ -481,7 +481,7 @@ def warp_ndarray(ndarray, in_gt, in_prj=None, out_prj=None, out_dtype=None,
if out_bounds:
xmin, xmax, ymin, ymax = \
corner_coord_to_minmax(get_corner_coordinates(gt=res_gt, rows=res_arr.shape[0], cols=res_arr.shape[1]))
if out_bounds != (xmin, ymin, xmax, ymax):
if False in np.isclose(out_bounds, (xmin, ymin, xmax, ymax)):
warnings.warn('The output bounds of warp_ndarray do not match the requested bounds!')
return res_arr, res_gt, res_prj
__version__ = '0.13.4'
__versionalias__ = '20181203_03'
__version__ = '0.13.5'
__versionalias__ = '20181203_04'
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