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

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): ...@@ -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, # if re.search(r'ETM+', self.sensor) and self.acq_datetime > datetime.datetime(year=2003, month=5, day=31,
# tzinfo=datetime.timezone.utc): # tzinfo=datetime.timezone.utc):
if is_dataset_provided_as_fullScene(self.GMS_identifier): if is_dataset_provided_as_fullScene(self.GMS_identifier):
self.trueDataCornerPos = calc_FullDataset_corner_positions(self.mask_nodata, algorithm='numpy', kw = dict(algorithm='numpy', assert_four_corners=True)
assert_four_corners=True)
else: 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) # set true data corner positions (lon/lat coordinates)
trueCorPosXY = [tuple(reversed(i)) for i in self.trueDataCornerPos] trueCorPosXY = [tuple(reversed(i)) for i in self.trueDataCornerPos]
......
...@@ -21,7 +21,7 @@ pyinstrument ...@@ -21,7 +21,7 @@ pyinstrument
pyorbital pyorbital
pyproj pyproj
pyrsr>=0.3.1 pyrsr>=0.3.1
py_tools_ds>=0.12.4 py_tools_ds>=0.16.2
psutil psutil
pytz pytz
redis redis
......
...@@ -62,7 +62,7 @@ req = [ ...@@ -62,7 +62,7 @@ req = [
'pyorbital', 'pyorbital',
'pyproj', 'pyproj',
'pyrsr>=0.3.1', 'pyrsr>=0.3.1',
'py_tools_ds>=0.12.4', 'py_tools_ds>=0.16.2',
'pytz', 'pytz',
'redis', # named redis on PyPI and redis-py on conda-forge 'redis', # named redis on PyPI and redis-py on conda-forge
'redis-semaphore', '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