Row-major, 1-based, top-left origin — the same arithmetic publish_cog() uses.
On a lon360 grid the returned longitude is wrapped to [-180, 180).
Arguments
- cell_id
integer vector of cell ids
- grid
grid spec from
grid_spec_for()- wrap
wrap a 0-360 grid onto -180..180. TRUE (default) for plotting a point; FALSE to keep the grid's own frame, which an EXTENT needs – a wrapped antimeridian-crossing grid yields a whole-globe bounding box