Commit 4f599328 authored by Daniel Scheffler's avatar Daniel Scheffler

Updated minimal version of py_tools_ds. This fixes an issue where...

Updated minimal version of py_tools_ds. This fixes an issue where pixelToLatLon returned Lon/Lat instead of Lat/Lon.
Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 24f1486c
......@@ -577,10 +577,10 @@ class L1A_object(GMS_object):
# if re.search(r'ETM+', self.sensor) and self.acq_datetime > datetime.datetime(year=2003, month=5, day=31,
# tzinfo=datetime.timezone.utc):
if is_dataset_provided_as_fullScene(self.GMS_identifier):
self.trueDataCornerPos = calc_FullDataset_corner_positions(self.mask_nodata, algorithm='numpy',
assert_four_corners=True)
kw = dict(algorithm='numpy', assert_four_corners=True)
else:
self.trueDataCornerPos = calc_FullDataset_corner_positions(self.mask_nodata, assert_four_corners=False)
kw = dict(algorithm='shapely', assert_four_corners=False)
self.trueDataCornerPos = calc_FullDataset_corner_positions(self.mask_nodata, **kw)
# set true data corner positions (lon/lat coordinates)
trueCorPosXY = [tuple(reversed(i)) for i in self.trueDataCornerPos]
......
......@@ -21,7 +21,7 @@ pyinstrument
pyorbital
pyproj
pyrsr>=0.3.1
py_tools_ds>=0.12.4
py_tools_ds>=0.16.2
psutil
pytz
redis
......
......@@ -62,7 +62,7 @@ req = [
'pyorbital',
'pyproj',
'pyrsr>=0.3.1',
'py_tools_ds>=0.12.4',
'py_tools_ds>=0.16.2',
'pytz',
'redis', # named redis on PyPI and redis-py on conda-forge
'redis-semaphore',
......
Markdown is supported
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