Open ChrisBarker-NOAA opened 1 year ago
Note, there is also some code in libgoods.utilities for working with these.
BTW: one thing I like about the two points version is that it is consistent with representation of polygons as a sequence of points (or (N,2) numpy array).
There are a number of (similar) ways to represent grid-aligned bounding boxes. For instance, in extract model, I see:
and in libgoods, I think we are using two points: (lower_left, upper_right), e.g.:
I have a minor preference for the two points version, but either is fine -- but it would be good to be consistent across the project.
@lukecampbell, @kthyng, @jay-hennen, @AmyMacFadyen:
preferences?