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

Improved documentation.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 60494034
......@@ -955,7 +955,7 @@ class COREG(object):
match_fullGeoArr = self.ref if self.grid2use == 'ref' else self.shift
other_fullGeoArr = self.shift if self.grid2use == 'ref' else self.ref
# matchWin per subset-read einlesen -> self.matchWin.data
# read matchWin via subset-read -> self.matchWin.data
rS, rE, cS, cE = GEO.get_GeoArrayPosition_from_boxImYX(self.matchBox.boxImYX)
assert np.array_equal(np.abs(np.array([rS, rE, cS, cE])), np.array([rS, rE, cS, cE])) and \
rE <= match_fullGeoArr.rows and cE <= match_fullGeoArr.cols, \
......@@ -966,7 +966,7 @@ class COREG(object):
nodata=copy(match_fullGeoArr.nodata))
self.matchWin.imID = match_fullGeoArr.imID
# otherWin per subset-read einlesen
# read otherWin via subset-read
rS, rE, cS, cE = GEO.get_GeoArrayPosition_from_boxImYX(self.otherBox.boxImYX)
assert np.array_equal(np.abs(np.array([rS, rE, cS, cE])), np.array([rS, rE, cS, cE])) and \
rE <= other_fullGeoArr.rows and cE <= other_fullGeoArr.cols, \
......
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