You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Around line 2000 in point_by_point:
"""
nlo = np.floor((self.ybincens.min()) / self.ystep).astype(int)
nhi = np.ceil((self.ybincens.max()) / self.ystep).astype(int)
rng = range(nlo, nhi + 1, gridstep)
"""
It needs to subtract y0 if there was one.
Also noted: the distance correction in get_local_gv assumes dty and distance have the same units. This is harder to fix automagically unless everything comes with units.
The text was updated successfully, but these errors were encountered:
For the first issue: here's the commit to blame: 32dfd94
It seems I was correcting a y0 bug for a dataset with a big y0 by modifying the code in two places - I remember things definitely got better after the bug fix, but I suspect the second fix wasn't needed. To me this raises deeper questions about how the geometry.dty_to_dtyi function works/should work. TODO after Christmas for sure!
Around line 2000 in point_by_point:
"""
nlo = np.floor((self.ybincens.min()) / self.ystep).astype(int)
nhi = np.ceil((self.ybincens.max()) / self.ystep).astype(int)
"""
It needs to subtract y0 if there was one.
Also noted: the distance correction in get_local_gv assumes dty and distance have the same units. This is harder to fix automagically unless everything comes with units.
The text was updated successfully, but these errors were encountered: