Skip to content

Commit

Permalink
bug fix in retrieving high-uncertainty locations
Browse files Browse the repository at this point in the history
  • Loading branch information
giumas committed Jul 2, 2024
1 parent 29579bf commit 224c7c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hyo2/bag/bag.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,11 @@ def uncertainty_greater_than(self, th: float) -> list[list[int | float]]:
i = ij[0]
j = ij[1]
e = x_min + j * x_res
n = y_min + i * y_res
n = y_min + (start + i) * y_res
lat, lon, _ = ctr.TransformPoint(e, n)
u = float(unc[i, j])
xyz.append([float(lat), float(lon), u])
# logger.info("%s" % (xyz[-1]))
# logger.info("%d,%d: %.7f %.7f %.3f" % ((start + i), j, xyz[-1][0], xyz[-1][1], xyz[-1][2]))

return xyz

Expand Down

0 comments on commit 224c7c4

Please sign in to comment.